It is currently Wed May 22, 2013 5:09 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Securely erasing flash media
PostPosted: Sat May 18, 2013 4:51 pm 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3473
Location: US, Texas
So a lot of what this site works on is often assume to be written to Flash media, which has unique storage issues over magnetic drives including power consumption, fragmentation (doesn't matter), and now shredding files. Essentially the issue is that flash drives have a lifetime that is dependent on how many writes (evidently reads are more or less unlimited) are done to the drive, so any tool which wipes files is reducing the life of their media.

Easy answer is of course encrypt the drive from the beginning, but outside of that, what is there?


ArsTechnica also talks about this:
http://arstechnica.com/security/2011/03 ... ssd-drive/

Any ideas?

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Sat May 18, 2013 9:12 pm 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 1995
Location: Romania
Try SDelete: http://technet.microsoft.com/en-us/sysi ... 97443.aspx

We also have WipeDisk in the DB: http://www.portablefreeware.com/index.php?id=1356

And I believe Eraser can do it, too: http://www.portablefreeware.com/index.php?id=267

_________________
The Venus Project - Imagine Our world with No Laws, No Crime, No Wars, No Prisons


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Sun May 19, 2013 12:39 am 
Offline
User avatar

Joined: Sat Jul 31, 2010 1:19 am
Posts: 808
Location: Helsinki, Finland
webfork wrote:
So a lot of what this site works on is often assume to be written to Flash media, which has unique storage issues over magnetic drives including power consumption, fragmentation (doesn't matter), and now shredding files.


Thanks for the link. I didn't know ATA Secure Erase was that unreliable.

webfork wrote:
Essentially the issue is that flash drives have a lifetime that is dependent on how many writes (evidently reads are more or less unlimited) are done to the drive, so any tool which wipes files is reducing the life of their media.


No, it's not "the issue". The article mentions that the problem is that all ways to wipe data from Flash drives (except physical destruction) are unreliable.

Of course, it's also an issue that overwriting data, in addition to not working, reduces the lifetime of the drive.

webfork wrote:
Lenovo has a utility they provide on their website for Intel SSDs, which will "erase all contents of the Solid State Drive in a minute." I definitely want to know how that works and how I can get it for other flash media drives.


It is likely ATA Secure Erase, which basically just tells the drive to wipe its content. The fact that Lenovo offers such an utility likely means that they use SSDs which support Secure Erase.

webfork wrote:


The official website of the utility is here.

webfork wrote:
Arch Linux talks about something that seems similar.


Here is a better link: https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase.

webfork wrote:
Any ideas?


If you need to wipe data from a Flash drive, I suggest physical destruction.

joby_toss wrote:


As the InfoWorld article explains, this kind of tools doesn't work with Flash drives. :(

_________________
My YouTube channel | Release date of my fourth playlist: April 11, 2013


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Sun May 19, 2013 11:04 am 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3473
Location: US, Texas
SYSTEM wrote:
No, it's not "the issue". The article mentions that the problem is that all ways to wipe data from Flash drives (except physical destruction) are unreliable.

Of course, it's also an issue that overwriting data, in addition to not working, reduces the lifetime of the drive.

Certainly. I should have written that better.

SYSTEM wrote:

Good stuff, thanks.

SYSTEM wrote:
If you need to wipe data from a Flash drive, I suggest physical destruction.

I still have a hard time with this. I read the article and I get that wiping doesn't quite work, but where are these multiple storage spaces floating above the original data that hide all this erased material? If I install 3 different operating systems on one of these drives, does it keep all three? Part of some?

SYSTEM wrote:
As the InfoWorld article explains, this kind of tools doesn't work with Flash drives.

The bar for success among security researchers is pretty high. Wiping is still good for most people's security needs -- I'd probably go with zeroing out the drive if concerned about drive life or one of the tools Joby mentioned for something more secure. But yes, for real security, physical destruction isn't odd. I recall the story of one of the people Phil Zimmerman was working with on PGP posted the initial code to the newsgroups and then took his computer drive out back and shot it.

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Sun May 19, 2013 11:47 am 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 1995
Location: Romania
So, you're saying that if I have a 2GB drive with some info and I overwrite it with a 2GB file, someone could recover the initial info stored on that usb drive? I can't believe that! I think it's possible only if they're selling 4GB drives as being 2GB and found a way to avoid all system checking methods.
And I bet that data overwritten by Darik's Boot and Nuke for example (YES, it works on connected usb drives, too), can not be recovered in 100 years from now!
The researchers from the University of California said the methods tried failed because SOME data remained intact. What the hell would someone use 2KB of my 71KB KeePass database for? The information would be all corrupted and shit... I don't find the need to shoot my drives yet. But I'd like to take a shot at the person that tries to recover some of my data... :)

_________________
The Venus Project - Imagine Our world with No Laws, No Crime, No Wars, No Prisons


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Sun May 19, 2013 12:23 pm 
Offline
User avatar

Joined: Sat Jul 31, 2010 1:19 am
Posts: 808
Location: Helsinki, Finland
webfork wrote:
SYSTEM wrote:
If you need to wipe data from a Flash drive, I suggest physical destruction.

I still have a hard time with this. I read the article and I get that wiping doesn't quite work, but where are these multiple storage spaces floating above the original data that hide all this erased material? If I install 3 different operating systems on one of these drives, does it keep all three? Part of some?


Flash drives are overprovisioned (see http://en.wikipedia.org/wiki/Write_amplification#Over-provisioning), i.e. contain more storage than is logically addressible. As a result, if you overwrite all logical sectors, the drive still contains remnants of the old data in blocks that you didn't overwrite.

If you install three operating systems into the same Flash drive, the drive keeps the last OS and some individual sectors from the second one.

joby_toss wrote:
So, you're saying that if I have a 2GB drive with some info and I overwrite it with a 2GB file, someone could recover the initial info stored on that usb drive? I can't believe that! I think it's possible only if they're selling 4GB drives as being 2GB and found a way to avoid all system checking methods.
And I bet that data overwritten by Darik's Boot and Nuke for example (YES, it works on connected usb drives, too), can not be recovered in 100 years from now!
The researchers from the University of California said the methods tried failed because SOME data remained intact. What the hell would someone use 2KB of my 71KB KeePass database for? The information would be all corrupted and shit... I don't find the need to shoot my drives yet. But I'd like to take a shot at the person that tries to recover some of my data... :)


Indeed, if you're not worried about an attacker getting a kilobyte or two, full disk wiping is secure, but sometimes way too slow. With four of the eight drives the researchers tested, overwriting the drive once with sequential data took 58 hours or more (140 hours with the slowest drive).

_________________
My YouTube channel | Release date of my fourth playlist: April 11, 2013


Top
 Profile  
 
 Post subject: Re: Securely erasing flash media
PostPosted: Mon May 20, 2013 8:13 am 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 1995
Location: Romania
http://hddguru.com/software/HDD-LLF-Low ... rmat-Tool/

This was just posted on Softpedia: http://www.softpedia.com/get/System/Har ... Tool.shtml
Quote:
· Supported interfaces: S-ATA (SATA), IDE (E-IDE), SCSI, SAS, USB, FIREWIRE
· Big drives (LBA-48) are supported
· Supported Manufacturers: Maxtor, Hitachi, Seagate, Samsung, Toshiba, Fujitsu, IBM, Quantum, Western Digital, and almost any other not listed here
· The program also supports low-level formatting of FLASH cards (SD, MMC, MemoryStick and CompactFlash) using a card-reader

Quote:
Free for personal/home use (speed is capped at 180 GB per hour which is 50 MB/s)

Quote:
This HDD Low Level Format utility is free for home use. It can erase and Low-Level Format a SATA, IDE, SAS, SCSI or SSD hard disk drive. Will also work with any USB and FIREWIRE external drive enclosures as well as SD, MMC, MemoryStick and CompactFlash media.


Great warning message:
Quote:
WARNING: After running this low level format tool, the whole disk surface will be erased.
Data restoration is impossible after using this utility!


Note: forgive me if I don't test this for portability! :D

_________________
The Venus Project - Imagine Our world with No Laws, No Crime, No Wars, No Prisons


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group