Slashdot Mirror


Data Mining Used Hard Drives

linuxwrangler writes "One hopes the /. crowd knows the perils of discarding storage with sensitive data but this article drives home the point. Two MIT grad students bought used drives from eBay and secondhand computer stores. Among the data found on the 158 drives were 5,000 credit-card numbers, porn, love-letters and medical information."

73 of 684 comments (clear)

  1. Guess those pop up ads were right by Anonymous Coward · · Score: 5, Funny

    There IS pornography on your computer!

    1. Re:Guess those pop up ads were right by Anonymous Coward · · Score: 5, Funny

      Fill a directory with goatse pics, so if your hd is data mined, whoever's doing it will have an unpleasant experience. :)

  2. DPA by kylegordon · · Score: 5, Informative

    Another reason to securely erase your data. In the end, _you_ are responsible for data under the Data Protection Act (in the UK anyway)

    1. Re:DPA by tealover · · Score: 5, Interesting

      I remember working on my very first IBM pc. My girlfriend's mother was dating a guy and he gave her an old 8086 computer (this was back in '94 or thereabouts). Well, I started playing with the computer. He had an early version of Norton Utilities on it. I played with the undelete file utility and found that there were lots of deleted files. I recovered some of them and started to read them. Most were boring. One wasn't

      This guy wrote about my g/f's mom about how he was banging her for the last 15 years. She had only been widowed for 10 years. He also complained about how she only came around when she needed money and how he was tired of banging her wrinkly ass.

      Also, this guy was a principal at an elementary school. He was apparently fucking several women at the school, even getting blowjobs at work!

      I was simply amazed. My g/f didn't even really know that this guy was dating her mom (some women are so stupid). She just thought he was a family friend. I couldn't tell her about what I found because I knew she would have been really upset.

      I learned from that day on that simply deleting a file was not going to hide anything. I'm actually holding onto a defective laptop thathas been broken for months. I don't want to toss it out until I can either recover the harddrive data myself or until I can safely dispose of the harddrive.

      --
      -- You see, there would be these conclusions that you could jump to
    2. Re:DPA by Alien54 · · Score: 5, Funny
      and the only secure method involves a woodchipper.

      Actually, I find extensive use of sandpaper after attaching the disk to a high speed drill works wonders.

      Barring that, an old fashioned bulk tape eraser also has interesting effects.

      I'm thinking of other options, including battery acid, and use as a grounding rod for a Tesla Coil.

      --
      "It is a greater offense to steal men's labor, than their clothes"
    3. Re:DPA by Rolo+Tomasi · · Score: 5, Informative
      Barring that, an old fashioned bulk tape eraser also has interesting effects.

      Nope. A magnetic field that would be strong enough to erase a hard drive would probably also compress it into a lump of twisted metal. from http://www.usenix.org/publications/library/proceed ings/sec96/full_papers/gutmann/:

      US Government guidelines class tapes of 350 Oe coercivity or less as low-energy or Class I tapes and tapes of 350-750 Oe coercivity as high-energy or Class II tapes. Degaussers are available for both types of tapes. Tapes of over 750 Oe coercivity are referred to as Class III, with no known degaussers capable of fully erasing them being known [19], since even the most powerful commercial AC degausser cannot generate the recommended 7,500 Oe needed for full erasure of a typical DAT tape currently used for data backups.

      Degaussing of disk media is somewhat more difficult - even older hard disks generally have a coercivity equivalent to Class III tapes, making them fairly difficult to erase at the outset. Since manufacturers rate their degaussers in peak gauss and measure the field at a certain orientation which may not be correct for the type of medium being erased, and since degaussers tend to be rated by whether they erase sufficiently for clean rerecording rather than whether they make the information impossible to recover, it may be necessary to resort to physical destruction of the media to completely sanitise it (in fact since degaussing destroys the sync bytes, ID fields, error correction information, and other paraphernalia needed to identify sectors on the media, thus rendering the drive unusable, it makes the degaussing process mostly equivalent to physical destruction). In addition, like physical destruction, it requires highly specialised equipment which is expensive and difficult to obtain (one example of an adequate degausser was the 2.5 MW Navy research magnet used by a former Pentagon site manager to degauss a 14" hard drive for 1 minutes. It bent the platters on the drive and probably succeeded in erasing it beyond the capabilities of any data recovery attempts [20]).

      The only way to be really sure is to use an acetylene torch.
      --
      Did you know you can fertilize your lawn with used motor oil?
  3. Luckily for me, my Ebay'd hard drives are safe by ObviousGuy · · Score: 5, Funny

    I only sell broken ones.

    --
    I have been pwned because my /. password was too easy to guess.
    1. Re:Luckily for me, my Ebay'd hard drives are safe by Filik · · Score: 3, Insightful

      Nope, even broken ones can be read with the right equipment.

    2. Re:Luckily for me, my Ebay'd hard drives are safe by norton_I · · Score: 5, Informative

      Even broken hard drives can be recovered, though it takes some rather expensive equipment to do so. However, with a little creativity and some equipment you would likely find in a EE department, much of it could be recovered.

    3. Re:Luckily for me, my Ebay'd hard drives are safe by ObviousGuy · · Score: 3, Funny

      I'd just like it to be known that I do not shit on my HDs.

      I do attempt to smear blood on the drives, though.

      And I may have once ejaculated on a platter, but I was young and I needed the money.

      --
      I have been pwned because my /. password was too easy to guess.
    4. Re:Luckily for me, my Ebay'd hard drives are safe by broter · · Score: 5, Funny

      "Even broken hard drives can be recovered..."

      That's why it's the DoD way for me: scramble the data with many passes accross the media with a stong magnet, followed by hammer strikes until it's in small pieces.

      You may find this lowers its value slightly in the "Computers & Office Products" category, while raising it dramatically in the "Art - Sculpture, Carvings" category (as glue as needed).

      -RB

      --
      "One man can change the world with a bullet in the right place."
      - Mick Travis, "If..."
    5. Re:Luckily for me, my Ebay'd hard drives are safe by deranged+unix+nut · · Score: 3, Interesting

      If I remember right, the DoD standard was to erase the file by writing random bits over it 7 times....although that was before some researchers found that you could still read the original data if you had a scanning electron microscope.

    6. Re:Luckily for me, my Ebay'd hard drives are safe by orthogonal · · Score: 5, Insightful

      [OP's hard drives won't be read, he claims] not if i've cracked them open and cum/shit/bled on the platters after perforating them with an awl

      Well, in that case, first they'll read your DNA, have uncontestable proof you (or your identical twin) had had possesion of them, and then they'll read your data.

    7. Re:Luckily for me, my Ebay'd hard drives are safe by packeteer · · Score: 3, Interesting

      Assuming a DNA sample is not old or degraded too much you can tell between identical twins. Twins have the same genes but not the same DNA. Same thing with clones. A clone would not be exactly the same... there are many ways to tell the differance between the two.

      --
      unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
  4. HD Abuse by helix400 · · Score: 3, Funny
    I have some fun with my old drives.

    Take them outside, and throw them as high into the air as possible. Then watch them land on concrete.

    I think that render the drive useless. =)

    1. Re:HD Abuse by davidc · · Score: 5, Interesting

      Take 'em apart and use the magnets as fridge magnets. They hold up an enormous amount of paper, although they do tend to nip one's fingers occasionally :)

  5. Data worth more than the computer by blamanj · · Score: 5, Interesting

    It's long been know that laptop theives are often more interested in the data than the computer.

    Some computers sold on eBay are sold for the data.

  6. Gary Glitter by cornjchob · · Score: 3, Funny

    If only he had but known...

    --
    We now have confirmed reports from an informed Orange County minister that Ethel is still an active communist.
  7. I can relate by l33t-gu3lph1t3 · · Score: 5, Interesting

    Picked 6 or 7 old 4gig HDDs from my father's company a few years ago, found their company credit line information, personal (and some very erotic) email, and a surprisingly large collection of nudie photoshopped Gillian Anderson photos. Oh yeah, and like 100 different (and I must say, very well-done) quake2 "crackwhore" models and skins lol. I love the people who don't clear their HDDs, it's like treasure chests, you never know what you're gonna get.

    --
    ------- "From bored to fanboy in 3.8 asian girls" ----------
  8. Re:How many credit cards per hard disk??? by DAldredge · · Score: 5, Funny

    They are using the NEW, IMPROVED RIAA/MPAA counting system.

  9. Your old HD is safe. by missing000 · · Score: 5, Funny

    I can get creditcard numbers faster on kazaa.

  10. Not so bad. by Annatar2 · · Score: 5, Interesting

    Thats not so bad. My dad happens to be a garbage man and often brings along an occasional system he's scavanged from the dumpsters along his route. Currently I have in my possession an old IBM Aptiva with some guys bank account information on it (He did his checking and stuff with it apparently), but worst of all I have what appears to be an old Gateway tower used to store Medical information for a major hospital in the area my father works. I have over 2 gigs of peoples medical history, including what they were put in the hospital for, insurance information, release dates ect.

    I should really do the honost thing and reformat it but its always fun to flip the thing on and just page through stuff.

    1. Re:Not so bad. by Compuser · · Score: 3, Interesting

      Why reformat it? Contact people on the list,
      and if there is a class action suit, then be
      a witness.

    2. Re:Not so bad. by Anonymous Coward · · Score: 4, Informative

      A goverment contractor donated some old PowerBook 140/180s to our school and one of them had an unformatted HD. Imagine my suprise when I booted it up and there were documents on there that said something along the lines of "This document has been classified Top Secret by the Department of Defense" at the top of them. I don't know what is more pathetic, the fact that this laptop was allowed to get out with confidential data on it or that it was unencrypted to begin with.

      Also that same year, the school councilor retired his trusty quadra 610(?) and he had all the psychological, academic, and disciplinary records on there from 1993 and up on there. No password. No encryption. No attempts to even get rid of data.

      A few months back, my brother picked up an old computer for $8 at a garage sale. He wanted me to fix it up for him and get it to do something. I was in for a nasty suprise when I found about 200 MB of gay pr0n jpegs on there.

      When I was taking my A+ class at my HS, we were given some old computers from the county office of education to get in working order to give to people who couldn't afford computers. There was a small text file on it that contained passwords for most of the servers in the COE.

      You can get quite a bit without even recovering files. People are idiots.

  11. PGP! by wirelessbuzzers · · Score: 5, Informative

    PGP (for windows or mac, ie not GPG) has two commands related to this: wipe file and wipe free space. They overwrite the appropriate sectors of the disk with several patterns designed to ensure that no matter what (common) encoding scheme the hard disk uses, every bit will have been set at least once, zeroed at least once, and overwritten with pseudorandom data at least once. If you set in on a lot of passes, it does an even better job. This would be a cheap (free, except for time and bandwidth to download it) way to make sure your sensitive data doesn't get out.

    That said, experts would tell you that the only reliable way to make sure sensitive data doesn't get out is to thermite your drive.

    Also, what's the one-line unix command (running MacOS X here).

    --
    I hereby place the above post in the public domain.
    1. Re:PGP! by delta407 · · Score: 5, Informative
      what's the one-line unix command
      Easy.
      # dd if=/dev/zero of=/dev/hda
      ...being sure, of course, to make 'hda' the actual drive you want to zero. (You could blank individual partitions by using the appropriate names, of course.) Also, you could use '/dev/urandom' instead to fill your disk with random data.

      Ah, the joys of *nix.
    2. Re:PGP! by jnik · · Score: 3, Interesting
      Also, what's the one-line unix command (running MacOS X here).
      for i in 1 2 3 4; dd if=/dev/zero of=filename bs=1 count=filesize; sync; dd if=/dev/random of=filename bs=1 count=filesize; sync; done
      Roughly speaking that'll do it. I'm sure there's nice trickery you can do to, say, get the equivalent of /dev/true (opposite of /dev/zero) and get the size from the file, etc. etc. Note the sync's so it actually hits disc rather than buffer. Technically there should be a sleep or two in there in case of a journalled filesystem....
    3. Re:PGP! by kiolbasa · · Score: 3, Informative

      Several passes of /dev/random is certainly more secure. Writing a predictable pattern, such as /dev/zero (which, given HD encoding schemes does not actually mean all zero bits on the disk) only gives an attacker a pattern to subtract from the signal on the disk and recover the original data. Writing zero over a one looks different than writing a zero over a zero when you look at the disk on a low-level.

      --

      Beer wants to be free
  12. On par for Ebay.. by nolife · · Score: 3, Interesting

    bought 158 used hard drives at secondhand computer stores and on eBay. Of the 129 drives that functioned

    Everyone knows that HD's contain data.. I would be more impressed if they broke down the numbers of where the BAD drives came from. That would make a much more informative story. I've bought as-is before in person but never online.

    --
    Bad boys rape our young girls but Violet gives willingly.
  13. Re:yes by silas_moeckel · · Score: 3, Interesting

    That was the Policy at the IBM facility I worked at in the early 90's. I tossed piles of computers into this big ugly compacting trailor once that was done with it I doubt you could recover anything. Funny thing about that is employies took piles of "compacted" parts home with them well I guess if they wanted the data in the first place they could have gotten it anyway in building security was light network wise untill you hit big iron.

    --
    No sir I dont like it.
  14. Old news or not... by Ironica · · Score: 5, Funny

    People still don't get it. My old boss wondered why I was "wasting my time" doing stuff like writing all zeros to drives of computers we were giving to charity. "I only told you to format them!"

    I tried to explain the concept to her, but for an IT manager, she was woefully bad at technology.

    Actually, come to think of it, she was about average...

    --
    Don't you wish your girlfriend was a geek like me?
  15. start an extortion & blackmail company.. by netnerd.caffinated · · Score: 5, Funny

    or do like this guy did...
    icanstilltellyourwifebill.com
    he brought a hard drive, found all this cool stuff on it.. & put it to DVD for the masses

    --


    You tried your best, & you failed miserably,
    The lesson is:
    Never Try
  16. Speaking of data recovery by bdigit · · Score: 4, Interesting

    Anyone happen to know any share/freeware programs out there for Windows 2k that will recover deleted files. I am intrested in running it on my computer to actually see what I can recover and see how well PGP's disk wipe function works.

  17. This isn't exactly news... by japhar81 · · Score: 5, Insightful

    But the CC info bothers me. Presumably, this is a corporate drive that got resold (Unless you know of 170 ppl with 25 credit cards a piece, in which case it's time to re-evaluate the financial system in this country).

    Personally, I have a standing policy in my department to take apart every HDD, take a magnet to each platter, and send the platters to Iron Mountain for destruction. Then again, we deal with large financial institutions, so we have to be extreme and obsessive-compulsive, which brings me to my actual point;

    This stuff should be regulated. If you store personal info on an HDD for business purposes, you should have a legal responsibility (i.e. one that comes with repricussions if not met) to ensure that even after a drive is retired, the data is safe.

    Just my $.02

  18. Shouldn't the title be... by NoMoreNicksLeft · · Score: 3, Interesting

    Data Fishing? I mean, you never know if you'll catch anything.

  19. CIA by Eric_Cartman_South_P · · Score: 5, Informative
    Thinking back to a Discovery channel show on the CIA, they dispose of hard drives with a good data wipe then they drill holes in them. Drives that held Super Top-Secret stuff (MS source code?) also got burned in a furnace. All of this on-site.

    In regards to Wiping data, do yourself a favor and check out http://www.heidi.ie/eraser/

    Beyond the wonderfull wiping the program does, there is the option to make an emergency boot floppy that wipes the HD with DOD style 7-pass or a GutherSomething 36 pass! Niffty for the paranoid.

  20. we destroyed our harddrives right by haa...jesus+christ · · Score: 3, Funny

    my old company had the best method for destroying our sensitive data (like the gig of porn some asshat left on the XML server) - leave them in the old building! god bless those terrorists and their whacky flight skills.

    btw, has anyone seen my old ti calculator? it was on the 21st floor of two.

    1. Re:we destroyed our harddrives right by b1t+r0t · · Score: 4, Funny

      Nothing beats the companies who decided that a great site for their "offsite backups" was in the other tower.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
  21. Re:yes by cbuskirk · · Score: 4, Interesting

    Why not remove the hard drive and donate the computer to a local school. Even at a couple of years old the computer is still useful for students and the school would be more than happy to pick up a new hard drive for it.

  22. Above average. by NoMoreNicksLeft · · Score: 3, Funny

    Most of mine never knew what "format" was...

  23. Your wayback machine is broken by Anonymous Coward · · Score: 5, Funny

    1979? I was there, home skillet.

    50 MB? Try 5 MB.
    SCSI? Not in production.
    Sun? Sure...
    Linux? Try CP/M.
    hexedit? Try debug.
    Asian Students? First wave Vietnamese refugees, maybe.
    E-mails? If you were working on ARPA.
    Porn? Maybe PG rated adventure games...

    Tax dollars at work? In 1979, we had to walk
    10 miles up hill (both ways) to pay our taxes, and they only accepted krugerrands and virgins without
    herpes, both of which were in even shorter supply
    and higher demand than they are now.

  24. I sledge them! by callipygian-showsyst · · Score: 3, Interesting
    We go through a large # of computers a year, and I try to donate the carcass, or at least make sure it's recycled properly. (Charitable organizations, unless specially equipped to handle PCs, are wary of junk computer donations.)

    However, I *always* remove the hard disk drive, disassemble it, and give it the sledge hammer treatment. I just don't have the time to get them running again, and write the erase patterns to every track and sector.

    Maybe if there's ever a good, transparent, drive-level PGP available, I'll rethink this strategy, but until then, I put on the safety glasses and hammer away, after opening the drive case to expose the platters.

    Here's a sugesstion to drive manufacturers--make a convention where if certain pins on the IDE connector are jumpered together, and the drive powered up, it will do a low-level format automatically. Then I might choose to erase the disks, so long as I didn't have to hook them up to a computer and run a program.

    1. Re:I sledge them! by jasonditz · · Score: 4, Interesting

      Speaking of this, whatever happened to the BIOS lowlevel format option? My old Laser 386 allowed you to lowlevel format any of the harddrives through CMOS setup... it would seem like that's a pretty simple feature to add, and plenty useful.

  25. RTFA by commodoresloat · · Score: 4, Insightful

    If you read the article you'll notice that many of the drives belonged to businesses; the CC#s were probably in customer lists. Now why was the parent modded "+5 insightful" rather than "-1 didn't RTFA"?

  26. This is why I always mark my used drives... by achurch · · Score: 3, Funny
  27. Re:You don't need any external software! by wirelessbuzzers · · Score: 4, Informative
    Parent is troll, but I'll bite:
    grep --binary-files=text -A 500 -B 500 "A phrase from my paper" < /dev/hd0
    Used this the other day to save (most) a termpaper for someone in my dorm.
    --
    I hereby place the above post in the public domain.
  28. I just shoot mine. by Anonymous Coward · · Score: 5, Funny

    I dont bother sanitizing them, squeezing or anything else. I just shoot them.

    They're great target practice when set up at 50 yards. Plus, they're rendered more or less ultra-highly unreadable, with half the platters coated in vaporized lead spall, and then with the platters dramatically warped, penetrated, stretched and shattered. Many areas are complete and totally lost, the ones that arent, would require precise magnetic microscopy to observe the actual state.

    These pictures were of a seagate 40mb eide, splashed with a 158grn jacketed hollowpoint in .357 magnum, after being accelerated to about 1700 fps from a Marlin 1894C lever-action carbine.

  29. It's not just hard drives by b1t+r0t · · Score: 5, Interesting
    A few years back I found some backup cartridge tapes (the big 4x6 kind) and a couple of tape drives at a Goodwill store. While there wasn't anything particularly useful on it, I could tell that it was the shell account machine used by half a dozen or so Ingres developers.

    No database code or data, just typical home directories and stuff. And they were running SCO, but boot blocks and stuff don't generally get written to tapes, so no chance of warezzing from it.

    I also snag SCSI hard drives and SyQuest cartridges when they show up for five bucks or less at thrift stores, since most of that is Mac stuff and I'm a Mac-head.

    Once I got a 6100 at a thrift store. I presume the owner stopped using it when the PRAM battery died. (When a 6100's PRAM battery dies, the video settings go with it, and unless you're using a fixed-frequency monitor, you get no video unless you hold down command-option-P-R. Looks like real bad a hardware problem when it's just the battery.) I could tell it was used by some college guy, studying to be a lawyer, I think.

    "Thrift store hard drives are like a box of chocolates... you never know what you'll find!"

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  30. Re:Oh, man. Hear it comes. by QuaZar666 · · Score: 5, Informative

    Now days the dod drills a hole through the platter on drives that are bad that have to be RMA'd and have contracts so all they have to return is the top of the drive with the label. as for drives they no longer need i do not know. im guessing they write 0 and 1 patterns on the drive 7+ times. (even then data recovery services could recover it)

  31. Re:Oh, man. Hear it comes. by TheOnlyCoolTim · · Score: 3, Interesting

    I have heard that the DOD way of "sanitizing" a hard drive is to open it up and dissolve the platters in acid.

    Tim

    --
    Omnia vestra castrorum habetur nobis.
  32. this is also a problem for warranty. by Unknown+Poltroon · · Score: 5, Interesting

    I have had 2 drives fail well within the warranty period, and did not return them for just this reason.

    --
    All Troll + "offtopic" mods are meta moderated as "Unfair", because you abused the system.
  33. Scary Thought by Sayten241 · · Score: 3, Interesting

    So even if I take all the steps necessary to make sure my data is safe on my computer, odds there is a business throwing away hardrives that have my data on them without properly removing all the data? Wow, I can't believe this isn't a hotter topic. I also wonder how this affects certain websites privacy statements. Sure, they don't give your information away intentionally, but they may give away a harddrive full of personal data without even realizing it.

  34. a few minutes with tomsrtbt by g4dget · · Score: 5, Informative
    Erasing your disks before selling your PC is easy:
    • Get out your favorite Linux installer CD or download a copy of Tom's RTBT and write it to floppy or CD-R.
    • Boot from the floppy or CD.
    • Log in as root.
    • Run dd if=/dev/zero of=/dev/hda to erase the master drive on the primary IDE controller (/dev/hdb etc. for the remaining disks)
    That's all. It erases all the blocks normally accessible by the disk controller and is probably safe enough for most people. Bad blocks that have been replaced may still contain a little bit of data, and inter-track data may be recoverable by analog means.
  35. This does not surprise me at all. by Anonymous Coward · · Score: 3, Interesting

    Now for or something really scary.
    I run a computer shop in the southeastern United States, much of my work involves the local school systems.
    Several years ago (Long before 9-11) a local school received a donation of several pallets of computers, monitors, printers, and other equipment from a local military installation. The donation was properly processed through the Defense Reutilization and Marketing Service (DRMS) and should have been cleared of any sensitive materiel.
    I was contracted by the school to take the entire load and build as many working systems as I could out of the parts. As I begin to put systems together and power them up I was staggered by the fact that at least half of the hard drives were FULLY intact and no attempt at all had been made to remove sensitive data.
    I of course had to take a closer look. Much of the data concerned simple day to day non-sensitive routine base operations (I am x-military so much of it was familiar to me). HOWEVER on one of the intact drives I found something that KNOCKED MY SOCKS OFF! Setting there on that hard drive spinning on my work bench was pile of data concerning the moving of NUCLEAR weapons and other nuclear materials and conventional weapons around the United States. The data contained information such as routes, schedules, manifests, and duty rosters. I WAS DUMBSTRUCK. How could this have happened? This drive should never have left a controlled area, EVER, it should have been destroyed. This was inexcusable!
    Of course in a situation such as this all manner of thoughts go though your head. Thoughts such as; What kind of damage could a enemy of the U.S. do with this data. What would this data be worth to someone unethically inclined. If they knew I saw this data they would probably lock me up and throw away the key just for good measure, and of course WHAT SHOULD I DO WITH THIS DATA?
    In the end I destroyed the hard drive and the data it contained and kept my mouth shut. That has been at least 8 or 9 years ago and until this day I have never told anyone and thank God that due to the passage of time I have forgotten most of the particulars of the data I saw.

  36. shred(1) will securely delete files by jrstewart · · Score: 5, Informative

    It's not enough to write 0's to remove traces of a file. Writing random patterns is much better and for older drives you can even do better than random (i.e. more erasing in less passes). The shred(1) command from the GNU fileutils will take care of this for you in Unix-alikes.

    http://btr0xw.rz.uni-bayreuth.de/cgi-bin/manpage s/ shred/1

    See also http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_ del.html for an informative paper about the details of how secure deletion works.

    1. Re:shred(1) will securely delete files by jbrandon · · Score: 5, Informative

      Most recent GNU/Linux distros use Ext3, so shred won't work:

      $ man shred

      [snip]

      CAUTION: Note that shred relies on a very important assumption: that the filesystem overwrites data in place. This is the traditional way to do things, but many modern filesystem designs do not satisfy this assumption. The following are examples of filesystems on which shred is not effective:

      * log-structured or journaled filesystems, such as those supplied with AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)

      [snip]

  37. FYI: HOWTO: Secure HD for Donation or Disposal. by dameron · · Score: 5, Funny

    Backup all important data to both magnetic and optical media (another HD/tape -and- cd/dvd).

    Re-format HD using the NTFS file system if the drive is larger than 2 GB, otherwise install NT Server from the earliest available service pack.

    Install Windows NT 4 Server, apply service patch 6. Make sure you use a meaningless administrator password.

    Upgrade MS Internet Information Server to version 4.0 from NT Option Pack. Create a default web site using the following as the index page (*.htm, *.html, *.shtml):

    Why are Chinese, Dutch, German, and Russian Hackers So Homosexual?"

    Chinese, hackers, IIS rules, Counterstrike, Dutch, mothers, US ALL THE WAY, Germany sucks, script kiddie, porn, pr0n, disable X10 ads, warez, firewall, Bill Clinton, rar, zip, romz, roms, direct downloads, Long Live Pakistan, How do I secure III?, index of, Ronald Reagan Library

    Boot the HD in a computer with an internet connection.

    Wait about four days.

    Repeat the process three times.

    Reformat the drive.

    Donate/Discard.

    Hey, at least it won't have -YOUR- important data on it.

    -dameron

  38. Random Bit Overwrite by akamoe · · Score: 5, Interesting

    US DoD Spec: 3 passes
    German DoD Spec: 7 passes

    (from http://www.ontrack.com/library/dataeraser.pdf)

    -- R

    1. Re:Random Bit Overwrite by MillionthMonkey · · Score: 5, Informative


      Can anyone tell my why there has to be numerous random-bit passes when one could do something like this:
      dd if=/dev/zero of=/dev/hda bs=512
      What's wrong with just zeroing out the drive once?

      Say the child porn file has a one bit and a zero bit. You overwrite it with two zero bits. The magnetic domains where the one bit was are presumably weaker or smaller because they were flipped, not reinforced like the zero bit domains. Of course the drive's read head itself won't be useful for extracting this information, because it's only designed to determine the last bit written by the write head- a binary zero/one determination. But with special equipment you can measure domain strengths carefully, and pull more information than a single bit out of them. You can tell which domains were flipped by the zero-out process and which were reinforced. (Of course this is a simplification because each bit is composed of multiple domains.)

      So there are a few trivially obvious considerations when writing an erasing program-

      -Don't write zeroes, write ones and zeroes.
      -Go in more than one pass. A single pass leaves the bits in 4 possible states- (0,0), (0,1), (1,0), and (1,1) (where (c,r) are the child-porn and random-overwrite bits, respectively). An attacker can in theory tell all four states apart by close physical examination, so he knows c. Two passes (c,r1,r2) leaves 8 possible states- (0,0,0), (0,0,1), (0,1,0), (0,1,1), (1,0,0), (1,0,1), (1,1,0), and (1,1,1). Now the attacker's equipment needs more than twice as much precision, because some of them, like (0,0,1) and (1,0,1), are starting to look physically similar. 10 passes leaves 1024 possible domain states, many of which are indistinguishable.
      -Writing zeroes over the file ten times is much better than writing zeroes over it once, but still leaves it in one of only four possible states. (Which are admittedly harder to tell apart, but you never know.)
      -Do not allow the content of the file you're erasing to influence your decision of what bits to overwrite it with. You avoid a whole class of problems this way.
      -Be aware that when you are writing random numbers, you are actually encrypting, not erasing, the file. The seed you used for your random number generator becomes a key for decrypting the file (given special equipment).
      -You want to prevent the attacker from knowing what bits you wrote and in what order you wrote them. You will favor erasure over encryption if you can continually introduce entropy into the process. But entropy is scarce in most software environments. The variations in the timings of the drive's mechanical movements, ping responses from remote servers, mouse movements, and keypresses are well-known sources.
      -Don't use a lousy random number generator. There are many ways for a random number generator to be bad. The simplest type produces numbers where n-tuples fall on a regular lattice when plotted in n dimensions. Generators like that are used a lot in scientific and graphics applications, but have no business being in security applications. If an attacker gains access to a few of the numbers in the generator's sequence, he can predict the rest of the sequence. They also loop after generating 2^N numbers.
      -If applying this process to a single file, hide the size of the file.
      -Ideally you should hide all traces of the file's existence. This means clean up after yourself by writing zeroes in the last several passes, so that even the domain randomness is physically removed (its presence implies that something was erased).

  39. That Rarely Works Any More by Anonymous Coward · · Score: 3, Informative

    At today's densities, all drives have many many bad sectors that are mapped out in a sector translation ROM on the drive's logic board and no two are the same. Swap boards and it's almost always lights out. I guess you could swap the ROM if you can identify it and have the right surface mount rework tools.

    1. Re:That Rarely Works Any More by Nogami_Saeko · · Score: 3, Interesting

      That's another good point that this article doesn't mention:

      If you have a HD that has sectors that go bad, many HDs (or operating systems) will mark the block as bad and off-limits so it doesn't get used any more.

      This of course poses a problem with most "erase" type programs, as there may not be a way that the eraser can override either the operating system "bad block" mark, or the drive's "bad block" internal mapping.

      If something critical happens to be in a block marked bad on the HD, there may not be any way to securely erase it 100% via software and you'd need to destroy it physically.

      --
      "Nothing strengthens authority so much as silence." - Charles de Gaulle
  40. multiple writes by Forgotten · · Score: 3, Interesting

    There doesn't seem to be much point in overwriting more than once with the same zero pattern (the article makes this mistake too, though the original authors probably don't). There are really two levels of sophistication we're hoping to elude here:

    a) People using the drive's own interface to retrieve "deleted" data
    b) People doing direct signal analysis of the magnetic media to find successive generations of overwritten data

    Once you've overwritten the disk once (whether with dd, a real SCSI low-level format, or some other means), you're in regime (b). Assuming you're paranoid and/or justifiably concerned enough to bother with repeated writes, using the same bit pattern does little - and zeroing is especially non-optimal, from what I've read. Random bit patterns seem a likely candidate, but randomness is actually particularly easy to divine in a signal.

    People have experimented with instead writing various repetitions of constant strings with good success, but what might be ideal is a chaotic pattern that approximates the look of the expected data without divulging anything real (interesting thought - perhaps this is what some of the porn they found was for!). Write that a few times and you have a honeypot that might mislead a naive investigator into thinking there's nothing more to be found - but even this is difficult because the "freshness" of the bit patterns can be determined by their relative signal strength, and you can't simulate age using the default write current no matter how many new patterns you lay on. You can only hope you've made the old, real data so faint that it disappears into the background noise. Since there's no real way to guarantee this, people with real secrets to hide have to physically destroy the media. So much for reduce, reuse, recycle. ;)

    The technique of extracting the data is akin to the work of deep-sky astronomers, military listening posts, or even sedimentary archaeology. It's quite an interesting problem, as is making the data unrecognisable. The parallel with copy-protection is obvious, and the outcome is the same - an escalating war of technique between intrigued hackers, where the party acting later in time (the deprotector / signal analyst) always has an advantage.

    As an aside, when using dd to copy large amounts of data to disk you can often speed things up immensely by tailoring the (output) block size to the destination device.

  41. This is NOT Data Mining! by Commykilla · · Score: 5, Informative

    Data Mining is NOT the process of recovering or otherwise retrieving data. Data Mining is the process of discovering knowledge through data that has already been obtained (usually through statistical and/or AI techniques). I.e., data retrieval/collection is a prerequisite for Data Mining.

    --
    Communism was just a red herring.
  42. This is not data mining by rev063 · · Score: 3, Insightful

    Data mining is statistical analysis of structured or unstructured data to discover unknown relationships.

    At best, this is voyeurism. At worst, it's espionage.

  43. Interesting reaction on hard drive wiping by Anonymous Coward · · Score: 4, Interesting

    Last year, my employer of 12 years went out of business. The company was secretly being run improperly for quite a while and the owner closed the doors the same day he found out about the mismanagement.

    Being the IT director, I helped the owner, my friend, with the office computers. I planned on wiping all the hard drives and I informed the owner of my plan. He agreed that it was a good idea.

    From the next three months, watching the bankruptcy process unfold, I got questioned left and right as to why I wiped the data. The accountants wanted to know why...the lawyers wanted to know why...the liquidators wanted to know why...the court wanted to know why. I understand that a system with an installed OS is more valuable than one that has been wiped clean(the data had been backed up so there was no question of whether data had been destroyed) but this should not be unusual. Nobody asking me these questions were newbies--their jobs involved dealing with bankrupt companies and it was as if they had never seen this before!

  44. How do I destroy an HD? by HeyBob! · · Score: 3, Funny

    I just wait for my warantee to run out - it becomes unreable shortly thereafter!

  45. Re:Oh, man. Hear it comes. by chewedtoothpick · · Score: 4, Interesting

    Magnetic Speperator...

    I have one, honest to god..

    It literally removes the magnetic code/signatures from the HDD. I used to work at a data recovery shop (yes one with static room where we physically remove the data etc...) and even we couldn't recover anything off a HDD that has been passed through one...

    The only bummer is they draw lots of amperage on a 220... (meaning they literally dim the lights even on my very well powered home...)

    The NSA/DOD/Whatever probably uses these when they erase a HDD for redistro/etc...

    --
    Erutangis ym si siht.
  46. Similar story by Monkelectric · · Score: 4, Funny
    Ok, this is offtopic because it doesn't really involve undeleting, so mod me off topic if you want, but its still a good story.

    When I was 14 or 15 (long ago), I took a trip with my friend to visit his father and step mother for the day. We would have to help his father in his print shop for the day, but my friend promised in return we would be able to sneak access to his dads porn collection.

    After we ended up working in his dads shop all day, we had dinner, went to his dads house, and his dad left us alone with his computers to play games on. We had brought a palette of 100 disks to hopefully sneak our porn home on, so we began copying all those pcx and gif files onto disks as fast as we could. We couldn't risk looking at them for fear of being caught. It wasn't that unusual to have a huge pile of disks because that was how things got copied in the olden days, his dad thought we were copying some of his games.

    Low and behold, we fill all 100 disks with porn (an incredible stash in like 90 or 91). We go home for the evening to each of our houses, divide up the stash, and we both head straight to the computer to um, count our booty.

    I get home, pop the first disk into the computer, and just about then I get a phone call -- its my friend, he says "dude, don't look at the pics, trust me." But he's piqued my interest so I have to. I load one up and what do I see? A big juicy cock. We had copied his dads gay porn stash.

    --

    Religion is a gateway psychosis. -- Dave Foley

  47. Here's a question: by nightherper · · Score: 4, Interesting
    Say you are working on an uber secret project (or miltary plans or viewing gay pr0n) and the "men in black" come running in your house. Assuming you are more than 5 seconds away from being on the floor with a knee on your neck, how would you keep intruders from getting your data? (Or looking at what you were viewing, you sick freak)

    Some sort of explosive device on a trigger next to your mouse?
    A shotgun blast? (Hoping you hit the drives and don't get shot...)
    Fast acting fantasy software to write random data 144 times over the disk in mere milliseconds?

    --

    ...

  48. Re:Oh, man. Hear it comes. by rela · · Score: 5, Informative

    Don't forget degaussing. Someone is going to have to make the obligatory link to Secure Deletion of Data from Magnetic and Solid-State Memory, so there it is.

  49. You don't really want none of this... by Mulletproof · · Score: 5, Funny

    Unfortunately, I suspect you're gonna have an unplesant time getting your hard drive to that state...

    --
    You need a FREE iPod Nano
  50. Shoot a drive while it is spinning? by Anonymous Coward · · Score: 3, Interesting
    Has anybody tried applying +12&+5VDC to an old hard drive, allow it to spin up to full operating speed (pref. 15KRPM), and THEN shoot it?

    Should produce some interesting results. It'd be interesting to see the different effect from hitting dead center on the hub as compared to (on a different, identical drive) the outermost rim.

  51. A story of DISK, SRAM and DRAM data recovery by tagman2 · · Score: 5, Interesting
    Summary of the long posting below:
    • Data from a hard disk that as been wiped multiple times can be recovered.
    • Data left in SRAM and DRAM for a long period of time can be recovered even though the system has been powered off for a while and the SRAM has been cleared.
    • While it is hard to recover wiped and old data, it is not impossible.

    First, a little background:

    I belong to a group that polls/tracks certain elections around the world. In one recent election, there were a number of claims of voting irregularities. Our group became part of a post-election analysis team to look into these irregularities.

    We were able to determine that one desktop system in particular contained some critical raw voting data (raw precinct counts of per ballot slot data). The election officials were more than reluctant to give us a copy of that raw data. By the time we were granted a order requiring the election officials to let us access the data, someone had attempted to throughly wipe the desktop system of all traces of data.

    We thought we had lost that critical data. But thanks to a chain of contacts we were referred to a consultant that specializes in extremely difficult data recovery. After checking some references (and obtaining more money from OUR client: the consultant was VERY expensive), we hired this consultant.

    Much to the surprise of the election officials we obtained an order that allowed us to physically take possession of the system. The system was turned over to the consultant who recovered enough critical election data for our needs.

    The recovery included data from the wiped system hard drive as well as from SRAM and DRAM.

    Regarding disk recovery:

    The disk drive had been wiped by a utility that, we presume, had been run from a CDROM. The wipe tool wrote over the entire disk 35 times, 8 of them were random and 27 of them were fixed patterns of 3 bytes each.

    Not all disk data was recovered. Part of the reason was that the data recovery method was not 100% perfect. Part of the reason that some data was not recovered was a simple matter of time. (The consultant was in between two already committed projects and only had a limited amount of time to work for us.)

    The consultant did recover some deleted files that were critical to our work. Not everything was recovered, however. Parts of the swap/VM-paging area that might have contained some useful data were not recovered. Also some disk data critical to file and directory layout was not recovered making recovery of parts of the file system layout difficult to map.

    Still, some important files (a spreadsheet, simple database file, browser cache, some EMail, etc.) were recovered even though the drive had been wiped 35 times!

    Regarding SRAM recovery:

    n3rd posted a comment asking about recovering data from RAM.

    There are methods that can recover RAM data. Both SRAM and DRAM can be recovered.

    According to the consultant, the storage of the same data in SRAM over a long period of time has the effect of altering the preferred power-up state. They said that SRAM can ''remember'' data for days after it held it for a long period of time. This memory can be determined by a ''partial powerup'' (I presume they mean a lower than normal voltage?) and then going ''full on'' and reading the initial values of memory.

    In the case described above, the SRAM had been deliberately cleared prior to our group taking possession of the system. The consultant was able to recover the original data even though the SRAM had been cleared and the system has been powered off for more than a day. A simple clearing of memory was not enough to wipe out the long held memory effect.

    Regarding DRAM recovery:

    DRAM data was also recovered. Data left in DRAM for a long period of time can leave an ''impression'' thru a process somewhat different from SRAM.

    As explained by the consultant: With DRAM, recovery comes not from detecting any left over charge, but rather detecting the stress (or lack of stress) from the thin oxide of the cells storage capacitor dielectric. The effect of this stress can be measured by using the DRAM self-test feature. In self-test mode, a small voltage is applied to a cell in order to measure its margin for error. The self-test margin is increased or decreased by the amount of oxide stress.

    Not all of the DRAM memory was recovered. However certain critical portions of the DRAM held values for long enough period of time that data was recovered, even though the system has been powered off for more than a day. Data recovered included memory associated with a browser and a spreadsheet. Even though both the browser and the spreadsheet were closed prior to the system being wiped, they were left running long enough to leave behind their DRAM oxide stress.

    Based in part on the recovered data, we concluded that candidate A was declared the winner due to a ''mistake'' in mapping ballot slot numbers to candidates. In some cases the slots for candidate A and B were reversed.

    An incorrect vote count was reported by the election officials. It is our guess that when we came around asking for the raw data, someone began to collect it. At some point some official(s) discovered the blunder. The system was left on while they stalled for time. When it was clear that we were going to force them to turn over the data someone wiped the system and shut it down.

    BTW: The majority of the election officials involved were supporters of candidate B. Even though their blunder caused them to declare candidate A the winner, they still tried to coverup their mistake.

    Our conclusion was that the attempt to coverup the mistake was motivated by not wanting to admit the major blunder instead of because of candidate A's influence. This conclusion was reached in part because of messages that we recovered on another system that was not wiped. However we would have never been able to find that other system, nor would we have been able to match the raw slot numbers with the reported vote counts by candidate name without the help of the data recovery consultant and the critical data that they recovered.

    I'll offer a few observations:

    • Volatile data such as SRAM and DRAM is not as volatile as you might think.
    • With enough will, skill and effort, old data can be recovered from a disk that has been overwritten multiple times.
    • Packages such as PGP file wipe, GNU shred or Boot and Nuke are likely to only make it harder, but not impossible to recover the data.
    • To quote from a paper by Peter Gutmann:
      '' Data which is overwritten an arbitrarily large number of times can still be recovered provided that the new data isn't written to the same location as the original data (for magnetic media), or that the recovery attempt is carried out fairly soon after the new data was written (for RAM). For this reason it is effectively impossible to sanitise storage locations by simple (sic) overwriting them, no matter how many overwrite passes are made or what data patterns are written.''
      And even though in that paper next says:
      '' However by using the relatively simple methods presented in this paper the task of an attacker can be made significantly more difficult, if not prohibitively expensive.''
      For our consultant, the recovery process was hard but not extremely difficult. It was expensive for us, however. :-( But we were happy to pay to have it done. :-)
    • Whoever wrote the 35-pass disk wipe tool must have read that paper, or one similar to it because the overwrite patterns looked similar to the recommended list.

    P.S. I know that some people doubt that one can obtain old data from SRAM and DRAM after poweroff. I did too until it was done for our group. To those who still doubt this: I will refer you to Peter Gutmann's paper on Secure Deletion of Data from Magnetic and Solid-State Memory for another source on data recovery methods.