Blog

Counterpoint: Correlation Is Useful, but Threat Assessment Is Fundamental

By Adrian Lane

So it’s probably apparent that Mike and I have slightly different opinions on some security topics, such as Monitoring Everything (or not). But sometimes we have exactly the same viewpoint, for slightly different reasons. Correlation is one of these later examples.

I don’t like correlation. Actually, I am bitter that I have to do correlation at all. But we have to do it because log files suck. Please, I don’t want log management and SIEM vendors to get all huffy with that statement: it’s not your fault. All data sources for forensic information pretty much lack sufficient information for forensics, and deficient in options for tuning and filtering capabilities to make them better. Application developers did not have security in mind when they created the log data, and I have no idea what the inventors of Event Log had in mind when they spawned that useless stream of information, but it’s just not enough.

I know that this series is on network fundamentals, but I want to raise an example outside of the network space to clearly illustrate the issue. With database auditing, the database audit trail is the most accurate reflection of the database transactional history and database state. It records exactly what operations are performed. It is a useful centerpiece of auditing, but it is missing critical system events not recorded in the audit trail, and it does not have the raw SQL queries sent to the database. The audit trail is useful to an extent, but to enforce most policies for compliance or to perform a meaningful forensic investigation you must have additional sources of information (There are a couple vendors out there who, at this very moment, are tempted to comment on how their platform solves this issue with their novel approach. Please, resist the temptation). Relational database platforms do a better job of creating logs than most networks, platforms, or devices.

Log file forensics are a little like playing a giant game of 20 questions, and each record is the answer to a single question. You find something interesting in the firewall log, but you have to look elsewhere to get a better idea of what is going on. You look at an access control log file, and now it really looks like something funny is going on, but now you need to check the network activity files to try to estimate intent. But wait, the events don’t match up one for one, and activity against the applications does not map one-to-one with the log file, and the time stamps are skewed. Now what? Content matching, attribute matching, signatures, or heuristics?

Which data sources you select depends on the threats you are trying to detect and, possibly, react to. The success of correlation is largely dependent on how well you size up threats and figure out which combination of log events are needed. And which data sources you choose. Oh, and then how well develop the appropriate detection signatures. And then how well you maintain those policies as threats morph over time. All these steps take serious time and consideration.

So do you need correlation? Probably. Until you get something better. Regardless of the security tool or platform you use for threat detection, the threat assessment is critical to making it useful. Otherwise you are building a giant Cartesian monument to the gods of useless data.

No Related Posts
Comments

@smithwill - nothing wrong with it at all ... especially if I sell storage arrays!

Situational awareness is great ... but do you really automate situational awareness, or is that a human being looking at activity? That’s not meant as a rhetorical question.

-Adrian

By Adrian Lane


And what’s wrong with a Cartesian monument to the gods? A little paean chum never hurt anybody.

Whether combing through logs, events or database schemas, the basic act of network monitoring, from a centralized packet-analysis perspective, provides useful operational information to maintain an on-going threat assessment. Situational awareness is all about observing the goings-on and being able to act upon an issue before it causes disruption. Rather than viewing an assessment as a discrete element I believe it should be blended into the day-to-day process.

A separate dive into the data by another party, perhaps someone different, would provide an objective check sum. Using the same day-to-day analysis/reporting solution and augmenting with in-depth diagnostics provides added levels of assurance.

I’m all for the knowing the threat scape, but usually as part of standard operating procedures and to maintain situational awareness among all management-level personnel. Complete transparency means no surprises, or when something does come up, at least everyone is on the same page and can address it.

By smithwill


If you like to leave comments, and aren’t a spammer, register for the site and email us at info@securosis.com and we’ll turn off moderation for your account.