Slashdot Mirror


Memories of a Media Card

twistedmoney99 writes "Anyone who has upgraded their digital camera probably has a few older, incompatible media cards lying around — so why not post them on Ebay? Well, if you do, be sure to properly wipe them because the digital voyeurs are watching. Seth Fogie at InformIT.com purchased a bunch of used cards from Ebay and found recoverable data on most of them. Using the freely available PhotoRec application, he was able to extract pictures, movies, and more from apparently formatted cards. The picture is clear — wipe anything that can store digital data before getting rid of it."

7 of 266 comments (clear)

  1. Memory effect by Anonymous Coward · · Score: 5, Informative

    Memory cards do not have nearly as strong of a memory effect as hard drives. With a hard drive you can write and rewrite multiple times and still have data recovered by someone willing to spend the time, effort, and money. But memory cards are much harder. You could be relatively sure of safety if you just:

    1. Delete everything on the card.
    2. Fill the card with something not private (maybe a text file that just repeats the same character).
    3. Delete everything on the card.
    4. If you're paranoid do 2 and 3 again.

    If you don't have a computer handy, you can accomplish step 2 by taking photos of a blank sheet of paper or a lenscap or something of that sort.

    1. Re:Memory effect by ivan_13013 · · Score: 5, Informative

      Whoa there. It is NOT bullshit. In fact it is COMPLETELY POSSIBLE to recover overwritten data from a hard drive, even if it was written over several times with random or nonrandom data. Remember that magnetic media cannot really store 1 and 0. It can only store a magnetic flux using ANALOG electronic components!

      The NSA today (and other people) can use Magentic Force Microscopy to extract enough detail to reconstruct what used to be on the drive. With only one or two overwrites, a sensitive oscilloscope could suffice.

      Here's one paper from ten years ago that talks more about the recovery technique.
      http://www.usenix.org/publications/library/proceed ings/sec96/full_papers/gutmann/

      From the paper:

      "In conventional terms, when a one is written to disk the media records a one, and when a zero is written the media records a zero. However the actual effect is closer to obtaining a 0.95 when a zero is overwritten with a one, and a 1.05 when a one is overwritten with a one. Normal disk circuitry is set up so that both these values are read as ones, but using specialised circuitry it is possible to work out what previous "layers" contained. The recovery of at least one or two layers of overwritten data isn't too hard to perform by reading the signal from the analog head electronics with a high-quality digital sampling oscilloscope, downloading the sampled waveform to a PC, and analysing it in software to recover the previously recorded signal. What the software does is generate an "ideal" read signal and subtract it from what was actually read, leaving as the difference the remnant of the previous signal."

  2. dd /dev/random by ettlz · · Score: 3, Informative

    I've recovered photos by hand for family members who've accidentally nuked their memory cards (did it the hard way with a hex editor, dd and cut). So wouldn't dd if=/dev/random of=/dev/ memory-card bs=1K count= card-size-in-kib suffice?

    1. Re:dd /dev/random by ewhac · · Score: 3, Informative
      I wouldn't use /dev/random; it depletes the entropy pool far too quickly. Use /dev/zero instead:

      dd if=/dev/zero of=/dev/mem_card_node bs=256k

      If you want to be extra-friendly to the card's buyer, write a new partition table to the card after wiping it and format it for FAT32.

      Schwab

  3. Re:speaking of wiping data by croddy · · Score: 5, Informative

    Better (and more convenient) than dd'ing from /dev/urandom is wipe(1). It will, at your option, overwrite the disk using 34 different byte patterns, 8 of which are random.

    Its man page is also the only one I know of that uses the phrases "rising totalitarianism", "Department of Homeland Security", and "THIS IS AN EXTREMELY DANGEROUS THING TO DO".

  4. Re:I don't even bother to erase mine. by MS-06FZ · · Score: 4, Informative

    You should try using a zoom lens.
     
    (Just kidding!) <sigh>
    He'd need a zoom lens if he were very tall - or if otherwise his dick or parts of it were very distant from the camera.

    If it were small, he'd want a macro lens.
    --
    ---GEC
    I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
  5. Re:speaking of wiping data by Nazlfrag · · Score: 4, Informative
    Secure Deletion of Data from Magnetic and Solid-State Memory is a good insight into magnetic memory issues, and his followup paper covers solid state devices. It's by Peter Gutmann, Department of Computer Science, University of Auckland. His homepage has more good info.

    In a nutshell, for hard drives, "If commercially-available SPM's are considered too expensive, it is possible to build a reasonably capable SPM for about US$1400, using a PC as a controller". So it is in the reach of the hobbyist to recover up to around the last 20 items recorded on any magnetic media (easier for floppies, harder as drives become denser). On solid state memory, I believe an electron microscope is needed for analysis. Still, data that has been in one location in RAM for more than five minutes is in theory recoverable.