Five on Forensics Page 1 - Craig Ball
Five on Forensics Page 1 - Craig Ball
Five on Forensics Page 1 - Craig Ball
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<str<strong>on</strong>g>Five</str<strong>on</strong>g> <strong>on</strong> <strong>Forensics</strong><br />
© 2002-2008 <strong>Craig</strong> <strong>Ball</strong> All Rights Reserved<br />
Though it might seem that slack space should be insignificant —after all, it’s just the leftover<br />
space at the end of a file— the reality is that slack space adds up. If file sizes were truly<br />
random then, <strong>on</strong> average, <strong>on</strong>e half of a cluster would be slack space for every file stored.<br />
But, most files are pretty small--if you d<strong>on</strong>’t believe it, take a look at your web browser’s<br />
temporary Internet storage space. The more small files you have, the more slack space <strong>on</strong><br />
your drive. It’s not unusual for 25-40% of a drive to be lost to slack. Over time, as a computer<br />
is used and files deleted, clusters c<strong>on</strong>taining deleted data are re-used and file slack<br />
increasingly includes fragments of deleted files.<br />
A simple experiment you can do to better understand clusters and slack space is to open<br />
Windows Notepad (usually in the Programs>Accessories directory). Type the word “hello”<br />
and save the file to your desktop as “hello.txt.” Now, find the file you’ve just created, right<br />
click <strong>on</strong> it and select “properties.” Your file should have a size of just 5 bytes, but the size it<br />
occupies <strong>on</strong> disk will be much larger, ranging from as little as 4,032 bytes in Windows XP or<br />
Vista to as much as 32,768 bytes in Windows 95 or 98. Now, open the file and change<br />
“hello” to “hello there,” then save the file. Now, when you look at the file’s properties, it has<br />
more than doubled in size to 11 bytes (the space between the words requires a byte too), but<br />
the storage space occupied <strong>on</strong> disk is unchanged because you haven’t g<strong>on</strong>e bey<strong>on</strong>d the size<br />
of a single cluster<br />
Cluster size can vary depending up<strong>on</strong> the size of the hard drive volume and the versi<strong>on</strong> of<br />
FAT in use. The older versi<strong>on</strong>s of FAT which you encounter <strong>on</strong> computers using the first<br />
release of Windows 95 or any older versi<strong>on</strong> of Windows or DOS will create drives with cluster<br />
sizes ranging from 2,048 bytes (2K) to 32,768 bytes (32K). With the introducti<strong>on</strong> of FAT32,<br />
introduced with Release 2 of Windows 95 and found in Windows 98, 2000, and ME cluster<br />
sizes have tended to be 32,768 bytes, particularly as hard drive size has ballo<strong>on</strong>ed. Under<br />
the NTFS file system found <strong>on</strong> Windows Vista, XP and NT, cluster size has dropped down to<br />
4,032 bytes, resulting is less waste due to file slack.<br />
Forensic Implicati<strong>on</strong>s of Slack Space<br />
In “Jurassic Park,” scientists cl<strong>on</strong>e genetic material harvested from petrified mosquitoes to<br />
bring back the dinosaurs. Like insects in amber, Windows traps deleted data and computer<br />
forensics resurrects it. Though a computer rich with data trapped in file slack can yield a<br />
mother lode of revealing informati<strong>on</strong>, mining this digital gold entails tedious digging,<br />
specialized tools and lots of good fortune and patience.<br />
The Windows system is blind to all informati<strong>on</strong> in the slack space. Searching is<br />
accomplished using a forensically-sound copy of the drive and specialized examinati<strong>on</strong><br />
software, a hex editor utility that permits an examiner to read the data in each cluster directly<br />
from the media (or another operating system, like Linux, that treats a drive like a file),<br />
permitting string searches of c<strong>on</strong>tents. File slack is, by its very nature, fragmented, and the<br />
informati<strong>on</strong> identifying file type is the first data overwritten.<br />
The search for plain text informati<strong>on</strong> is typically the most fruitful avenue in file slack<br />
examinati<strong>on</strong> and an exercise often measured not in hours, but in days or weeks of review.<br />
<strong>Page</strong> 23