new directions in disk forensics simson l garfinkel
play

New Directions in Disk Forensics Simson L. Garfinkel January 15, - PowerPoint PPT Presentation

New Directions in Disk Forensics Simson L. Garfinkel January 15, 2006, 3:15pm Postdoctoral Fellow, Center for Research on Computation and Society Harvard University 1 Here are 200 hard drives Which contain the email address


  1. New Directions in Disk Forensics Simson L. Garfinkel January 15, 2006, 3:15pm Postdoctoral Fellow, Center for Research on Computation and Society Harvard University 1

  2. Here are 200 hard drives Which contain the email address “ simsong@media.mit.edu ”? 2

  3. This talk presents new tools and techniques for performing forensic analysis on a large number of disk drives. The drives Project The Traceback Study Cross Drive Forensics and AFF 3

  4. Purchased used from a computer store in August 1998: 4

  5. Computer #1: 486-class machine with 32MB of RAM A law firm’s file server... ...with client documents! Computers #2 through #10 had: • Mental health records • Home finances • Draft of a novel... Was this a chance accident or common occurrence? 5

  6. Hard drives pose special problem for computer security Do not forget data when power is removed. Contain data that is not immediately visible. Today’s computers can read hard drives that are 15 years old! • Electrically compatible (IDE/ATA) • Logically compatible (FAT16/32 file systems) • Very different from tape systems 6

  7. Scale of the problem: huge! 400 M Drives Shipped Drives Retired 350 M 300 M 250 M 200 M 150 M 100 M 50 M 1996 1998 2000 2002 2004 2006 210 million drives will be retired this year. 7

  8. Physical destruction will remove the information... ...but many “retired” drives are not physically destroyed. 8

  9. There is a significant secondary market for used disk drives. Retired drives are: • Re-used within organizations • Given to charities • Sold at auction About 1000 used drives/day sold on eBay. 9

  10. There are roughly a dozen documented cases of people purchasing old PCs and finding sensitive data. • A woman in Pahrump, NV bought a used PC with pharmacy records [Markoff 97] • Pennsylvania sold PCs with “thousands of files” on state employees [Villano 02] • Paul McCartney’s bank records sold by his bank [Leyden 04] • O&O Software GmbH – 100 drives.[O&O 04] • O&O Software GmbH – 200 drives.[O&O 05] None of these are scientifically rigorous studies. 10

  11. I purchase hard drives on the secondary market. 2001: 100 drives 2003: 150 drives 2005: 500 drives 2006: 950 drives 11

  12. Drives arrive by UPS and USPS 12

  13. Some drives are purchased in person 10GB drive: $19 “tested” 500 MB drive: $3 “as is” Q: “How do you sanitize them?” A: “We FDISK them!” Weird Stuff, Sunnyvale California, January 1999 13

  14. Data on drives “imaged” using FreeBSD and AImage 14

  15. Images stored on external firewire drives This is 900GB of storage. 15

  16. Note: I am not considering exotic recovery techniques. I assume that writing a sector destroys its previous contents. Some people claim that secret government agencies with advanced technology can recover overwritten data. This technology has never been publicly demonstrated. Even without the Men In Black, a lot of data can be recovered! 16

  17. Example: Disk #70: IBM-DALA-3540/81B70E32 Purchased for $5 from a Mass retail store on eBay Copied the data off: 541MB Initial analysis: Total disk sectors: 1,057,392 Total non-zero sectors: 989,514 Total files: 3 The files: drwxrwxrwx 0 root 0 Dec 31 1979 ./ -r-xr-xr-x 0 root 222390 May 11 1998 IO.SYS -r-xr-xr-x 0 root 9 May 11 1998 MSDOS.SYS -rwxrwxrwx 0 root 93880 May 11 1998 COMMAND.COM 17

  18. Clearly, this disk was FORMATed... 18

  19. FORMAT and FDISK overwrite very few disk sectors. 10 GB drive: 20,044,160 sectors Sectors Command Written % FORMAT 21,541 0.11% FDISK 2,563 0.01% FORMAT erases the FAT, complicating the recovery of fragmented files. 19

  20. UNIX “strings” reveals the disk’s previous contents... % strings 70.img | more Insert diskette for drive and press any key when ready Your program caused a divide overflow error. If the problem persists, contact your program vendor. Windows has disabled direct disk access to protect your long To override this protection, see the LOCK /? command for more The system has been halted. Press Ctrl+Alt+Del to restart You started your computer with a version of MS-DOS incompatible version of Windows. Insert a Startup diskette matching this OEMString = "NCR 14 inch Analog Color Display Enchanced SVGA, Graphics Mode: 640 x 480 at 72Hz vertical refresh. XResolution = 640 YResolution = 480 20

  21. 70.img con’t... ling the Trial Edition ---------------------------- IBM AntiVirus Trial Edition is a full-function but time-limited evaluation version of the IBM AntiVirus Desktop Edition product. may have received the Trial Edition on a promotional CD-ROM single-file installation program over a network. The Trial is available in seven national languages, and each language provided on a separate CC-ROM or as a separa EAS.STCm EET.STC ELR.STCq ELS.STC 21

  22. 70.img con’t... MAB-DEDUCTIBLE MAB-MOOP MAB-MOOP-DED METHIMAZOLE INSULIN (HUMAN) COUMARIN ANTICOAGULANTS CARBAMATE DERIVATIVES AMANTADINE MANNITOL MAPROTILINE CARBAMAZEPINE CHLORPHENESIN CARBAMATE ETHINAMATE FORMALDEHYDE MAFENIDE ACETATE 22

  23. [Garfinkel & Shelat 03] established the scale of the problem. We found: • Thousands of credit card numbers • Financial records • Medical information • Trade secrets • Highly personal information We did not determine why the data had been left behind. 23

  24. Why don’t we hear more stories? Hypothesis #1: Disclosure of “data passed” is exceedingly rare because most systems are properly cleared. Hypothesis #2: Disclosures are so common that they are not newsworthy. Hypothesis #3: Systems aren’t properly cleared, but few people notice the data. 24

  25. Data on a hard drive is arranged in sectors. / tmp usr bin a b slg ls cp mv beth mail junk The white sectors indicate directories and files that are visible to the user. 25

  26. Data on a hard drive is arranged in sectors. x8 / x5 tmp usr x4 bin x1 a x6 b slg ls cp mv x7 beth mail junk x3 x2 The brown sectors indicate files that were deleted. 26

  27. Data on a hard drive is arranged in sectors. x8 / x5 tmp usr x4 bin x1 a x6 b slg ls cp mv x7 beth mail junk x3 x2 The green sectors indicate sectors that were never used (or that were wiped clean). 27

  28. Stack the disk sectors: Zero Blocks x8 / Deleted Files x5 tmp usr x4 bin x1 a x6 b slg ls cp mv x7 beth mail junk x3 x2 Files . 28

  29. NO DATA: The disk is factory fresh. . Zero Blocks Deleted Files All Blocks are Zero Files time . 29

  30. FORMATTED: The disk has an empty file system . Zero Blocks Deleted Files Blank All Blocks are Blocks Zero Files File System Structures time . 30

  31. AFTER OS INSTALL: Temp. files have been deleted . Zero Blocks Deleted Files Blank All Blocks are Blocks Free Blocks Zero Files Deleted temporary files OS and Applications File System Structures time . 31

  32. AFTER A YEAR OF SERVICE . Blocks never written Zero Blocks Deleted files Deleted Files Blank All Blocks are ... 1 year ... Blocks Free Blocks Zero OS, Applications, and user files Files Deleted temporary files OS and Applications File System Structures time . 32

  33. DISK NEARLY FULL! . Blocks never written Zero Blocks Deleted files OS, Apps, Deleted Files Blank user files, All Blocks are ... 1 year ... Blocks Free Blocks and lots of Zero MP3s! OS, Applications, and user files Files Deleted temporary files OS and Applications File System Structures time . 33

  34. FORMAT C: \ (to sell the computer.) . Blocks never written Zero Blocks Deleted files OS, Apps, Deleted Files Blank user files, All Blocks are ... 1 year ... Blocks Free Blocks and lots of Recoverable Zero MP3s! Data OS, Applications, and user files Files Deleted temporary files OS and Applications File System Structures time . 34

  35. We can use forensics to reconstruct motivations: . OS, Apps, Training Usability user files, failure failure and lots of Recoverable MP3s! Data time . 35

  36. Drives 1–236 are dominated by failed sanitization attempts. 2 , 500 2 , 000 No Data (blocks cleared) Data not in the file system (level 2 and 3) Data in the file system (level 0) 1 , 500 Megabytes 1 , 000 500 0 ..but training failures are also important. 36

  37. Overall numbers for the June 2005 report: Drives Acquired: 236 Drives DOA: 60 Drives Images: 176 Drives Zeroed: 11 Drives “Clean Formatted:” 22 Total files: 168,459 Total data: 125G 37

  38. Only 33 out of 176 working drives were properly cleared! • 1 from Driveguys — but 2 others had lots of data. • 18 from pcjunkyard — but 7 others had data. • 1 from a VA reseller — 1 DOA; 3 dirty formats. • 1 from an unknown source — 1 DOA, 1 dirty format. • 1 from Mr. M. who sold his 2GB drive on eBay. There is no consistency on which organizations deliver cleared drives. 38

  39. But what really happened? ? I needed to contact the original drive owners. 39

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend