The extended use of log files part 1
Sep 30th, 2010 by Jesper Kråkhede
One of the most often forgotten mechanisms of all kinds of security practice is tools used for investigation, log files and forensics. It is all good and well to have mechanisms that deter, detect and takes action but if something happens will you know what happened and, more important, who was the one who did it? In many cases logging has helped to identify the culprit. But logging is not just to activate and hope for the best. I have seen way examples where clients have implemented logging and after a very short while their systems crawled to a halt and they were forced to stop logging. They are now stuck with an expensive logging mechanism that they don´t use.
So, how to solve this? You need a few mechanisms to have logging work for you and help you. First of all you need to have time synchronization. Without it investigations are far harder to conduct. I have seen investigations go haywire and accusing innocent people just because a clock wasn´t in synch. Second, you need to create a risk analysis to know what the risks you possibly need information about are. Third, you need to have a forensics process in place so that you quickly could conduct the investigation and do not spend time understanding how your systems are connected. Fourth, you need to have the big picture of your systems so you quickly could identify the affected systems. Fifth, and last, you need to have control of the identity of the users. An IAM system is preferable with two factor authentication but you could get a fairly good hit rate with using individual accounts in your LDAP.
You also need personnel who understands what the logging device is telling them. Obviously some decent efforts have been made (Symantec, Arcsight) to consolidate log entries and present output in human / non-expert readable format, but I still believe that in most of the cases, someone with deep knowledge of the infrastructure / applications need to be responsible to triage the log system output
One of the major problems I have seen so far, is the inability to log meaningful information from custom applications. Either the logging infrastructure is not present in the application, or it’s a developers debug situation, or the logs are so custom that any attempt to import them into a SIEM seems futile
[…] sätt om de innehåller persondata. Dessa måste man ha koll på innan man sätter igång. Länkar: https://crowmoor.se/blog/?p=291 http://www.scmagazineus.com/sans-report-shows-security-logs-no-longer-geek-toys/article/130321/ […]
Good practice could be that logserver is totally in the other realm of servers than what administrators can log into – to prevent manipulation of proofs afterwards. Logserver is definitely the no.1 server what requires Information Life cycle Management. Logserver without time synchronization is merely waste of time – so question is – are the servers ntp etc. services managed? Are your Unix boxes’ ntp daemon ever checked that its running alright? Who manage the logservers?