Linux and Data Forensics?
An anonymous reader asks: "Data Forensics has been discussed in the past. I am entering the field soon and aside from rifling through Slashdot and Google and reading some technical data on the software that I am going to be using I haven't had much time to learn everything about the position (I will be officially trained when I move over to the role). I am wondering, though, if Linux has played a strong role in the courtroom when it comes to validating evidence that has been used in a lawsuit case. Those in the field who are reading this, have you used open-source software to prove facts to the court? I don't mean using dd to make an image of a disk but rather a suite of tools whose purpose is to analyze data, indicate relationships, create hash tables, et cetera. That being said, if that software is not available (the programmer side of me asks), is there enough interest in the community to create a package that rivals and is as accountable and recognizable as commercial products?"
Almost every single case of spamming or Dos attacks against large ISP's involves some sort of open-source software. I'm not sure you understand how ubiquitous it is. Attacking a mailserver? Probably sendmail or qmail or postfix. That's open-source. Attacking a web server? It's probably apache. That's open source. So are a vast majority of Pop3, Imap, Time, DNS, and ftp servers. I've probably missed some also. A subpeona comes in for data? Someone is usually using open source to look at logs. Probably hopping in vi to check out the logs, running grep on them. All open source.
For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
you didn't understand the question, did you?
Dear anonymous,
& sourceid=firefox&start=0&start=0&ie=utf-8&oe=utf-8 u rceid=firefox&start=0&start=0&ie=utf-8&oe=utf- 8
...
As always, google is your friend.
My learning disabled kid brother doesn't know what data forensics is, but he knows how to use google.
Use it.
http://www.google.com/search?q=knoppix+validation
http://www.google.com/search?q=linux+forensics&so
PDF - KNOPPIX Bootable CD Validation Study for Live Forensic Preview
Linux-Forensics.com Home of the Penguin Sleuth Bootable CD
Knoppix security tools distribution Knoppix STD (security tools distribution)
From Australian DoD page:http://www.dsd.gov.au/library/software/flag/
FLAG uses the SleuthKit tool from www.sleuthkit.org to analyse dd images. By putting inode information in the database it is possible to cross-correlate file properties, and simplify the forensic analysis process.
No, it's not related to the performance of Linux in the courtroom. But, I do recall reading that Linux is a preferred host for doing forensics (via dedicated tools are even using VMware) since filesystems can be mounted read-only without the need for a hardware switch (like a jumper on the drive). It's a minor point, but potentially useful.
I've looked at:
Penguinsleuth
It's mostly a standard Knoppix CD with some forensics tools added
SystemRescueCD
From one of the partimage team members, it's gentoo-based and with a sweet array of boot options, including a boot option for an nt password & registry editor. Oh yeah... partimage is kinda nice for a Ghost-like imaging option.
Amateurs discuss tactics. Professionals discuss logistics.
I expect those in Data Forensics to be bright, inquisitive people who are willing to quickly learn new things.
I expect that the role requires it.
So, when someone asks "Linux and Data Forensics" without taking a few minutes to think about the problem, it disturbs me.
Perhaps that person would be better suited for a less imaginative job.
Off the top of my head, I could figure out several tools useful in data forensics. Copy the original drive block-by-block to a new drive. Mount the copy as read-only. Examine typical file locations for email and web caches. Use find to locate most documents. Use grep to search for specific words. Use find to look for all files newer then a specific date. If you want to get more involved, write up scripts that compare the drive to an original OS install and find differences. Write scripts that go through the drive and figure out what each file is. Etc, etc.
Learn how a few common unix commands work, and learn perl. You should be set.
Just my $.02
Since the current Linux NTFS driver ignores security settings (like password-protected profiles) when mounting a drive, a Damn Small Linux CD can be useful for data extraction if someone hastily tried to cover their tracks.
ROMANES EUNT DOMUS
I do data forensics work for a living.
THe Sleuth Kit and the Autopsy frontend are outstanding tools. Use a Knoppix or FIRE CD plus an external hard drive for acquisitions.
However, I would HIGHLY HIGHLY recommend that you take some training. SANS has a track for forensics that is pretty damn good. At the very least, it'll get you comfortable with the tools and tactics.
I'd like to see someone try and testify as an expert witness to data they uncovered without training. A halfway competent judge and/or opposing counsel would rip you to shreds for this.
It's not about uncovering the data, it's about doing it properly. This won't happen if you're putting together your own toolsets in Perl at the moment you're conducting the investigation.
Chain of custody, best practices, data preservation, peer review of procedures, and other CYA tactics that affect your procedure are taught in those training classes as well. When you're in the hot seat, this is all you can fall back upon.
Check out the Linux_Forensics group on yahoo. There are a lot of people with more experience than I who could answer the court question you posed.
:)
As far as tools are concerned, the Sleuthkit (http://www.sleuthkit.org) is the (IMO) best tool for the job and since it is already open source, modifications can be made and submitted back to the community for use.
I have spent the last few month immersing myself in this field and I've been learning something new everyday. Particularly about the guts of various file systems. Loads of fun
-Matt