由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Military版 - Flash-based SSD nearly impossible to erase
相关主题
Aaron Hernandez的谋杀裁决被取消了!总结一下这几天看登月的质疑
在线等--借军版人气跪求mac data recovery的方法人民币应该用财神爷的头像
关于圣元奶粉,大家看事情是不是会这样发展Boeing Tumbles as Cantor Loss Clouds Ex-Im Bank’s Future
小将军们看到晓波刘有可能拿奖,简直是气得要死啊美帝太强了!!!
美国人把Red Dawn里面的中国入侵者用电脑改成北朝鲜了。。。。我觉得我妈长得很丑
【必看】中国日报引用维基泄密“天安门大屠杀的未知数”(带中(转载)不好了,鳖国股市误伤了美帝,后果很严重
老师过分还是儿子过分?zz: Mathematically, Trump On Pace To Erase Ohio Loss
钓鱼岛问题解决方案, 您选择什么?南海裁决不可能执行
相关话题的讨论汇总
话题: ssd话题: erasing话题: data话题: usb话题: drives
进入Military版参与讨论
1 (共1页)
t*******y
发帖数: 21396
1
Researchers from the University of California at San Diego delivered a paper
at the FAST-11 Conference in San Jose, Calif., last week that shows it's
almost impossible to reliably erase data from a solid state drive.
The tome, "Reliably Erasing Data from Flash-Based Solid State Drives" (PDF),
goes through all of the known techniques for erasing data and comes up
short in every case. The study's method is straightforward: They put
repeating data on an SSD or USB drive, tried using various erasing
techniques, took the SSD or USB drive apart, and pulled raw data off the
chips. If any of the original data remained, erasing didn't work.
The culprit? SSD's so-called Flash Translation Layer, a firmware interface
that makes an SSD appear to the PC like a big fat, uh, FAT device. Operating
systems want to work with file allocation tables and clusters. SSDs have to
deal with the vagaries of Flash media, which are quite different from
rotating magnetic layers. For example, SSD blocks have to be erased before
they can be written, and erasing takes a lot of time. FTL figures out how to
erase unused blocks of memory when the SSD isn't doing anything else. SSD
devices wear out faster if the same blocks are written and rewritten, so FTL
balances the write load across all of the available memory.
You might imagine with all of these delayed erases running around and blocks
of data being intentionally scattered to remote corners, there's some
potential for error. Ends up, there's more than just a potential.
Here's what they found.
Erasing an entire SSD hard drive is difficult
When the researchers used the drive's built in "Erase Unit" command -- that'
s a legacy ATA-era command and it doesn't work on USB drives -- of the
twelve SSDs tested, only four were completely erased. (One of the drives is
automatically encrypted, so they couldn't tell if it was erased properly or
not.) One of the drives reported it had been erased when, in fact, all of
its data was immediately accessible.
Overwriting the whole disk fared a little bit better. With a hard drive,
overwriting routines typically write all zeroes or all ones or some random
character -- and then repeats the process a specific number of times. Out of
eight drives tested using a similar method, one was completely erased after
a single pass and two were completely erased after overwriting the data
twice. One of the drives had 1 percent of the original data still on it
after 20 writes. But half of the drives took more than 58 hours to perform a
single pass. The researchers gave up.
Then the researchers tried degaussing, but it didn't work at all.
Encrypting drives passed muster, because deleting the key from the Key
Storage Area makes the data useless. But the authors are less than
enthusiastic about the approach because there's no way to verify that the
manufacturer's key deleting mechanism completely obfuscates the contents of
the Key Storage Area.
Erasing a single file is a horse of a different color
Single-file eradication generally relies on overwriting all of the storage
space used by the file. As you might imagine, with the FTL running
interference, it's going to be very hard to pick up all the pieces of a file.
When the researchers tried the usual approach -- 35 different variations on
the file-overwriting theme, including several military spec algorithms --
they found single-file erasure just didn't work: "All single-file
overwrite sanitization protocols failed: between 4 percent and 75 percent of
the files' contents remained on the SATA SSDs. USB drives performed
no better: between 0.57 percent and 84.9 percent of the data remained."
Bottom line: There's no way to reliably erase an entire SSD or a single file
on an SSD or USB drive, although using an encrypted drive comes close. Some
specific SSDs have full-drive erasing routines that work, but there's no
way for you to know which ones.
The authors of the study conclude by presenting a new set of extensions to a
baseline FTL that will make SSDs erasable.
Perhaps some day we'll see the recommendations applied to an SSD device. In
the meantime, the only sure way to erase the data on an SSD or USB drive
requires a very large hammer.
c*****t
发帖数: 10738
2
If they are only writing all 0s or all 1s to erase existing data, that can
make recovery easier. They should write random data, like a movie.
1 (共1页)
进入Military版参与讨论
相关主题
南海裁决不可能执行美国人把Red Dawn里面的中国入侵者用电脑改成北朝鲜了。。。。
我第一次问人借打火机管打火机叫fire machine【必看】中国日报引用维基泄密“天安门大屠杀的未知数”(带中(转载)
众所周知,中日在几千年的历史长河里并不能和谐共存老师过分还是儿子过分?
无标题钓鱼岛问题解决方案, 您选择什么?
Aaron Hernandez的谋杀裁决被取消了!总结一下这几天看登月的质疑
在线等--借军版人气跪求mac data recovery的方法人民币应该用财神爷的头像
关于圣元奶粉,大家看事情是不是会这样发展Boeing Tumbles as Cantor Loss Clouds Ex-Im Bank’s Future
小将军们看到晓波刘有可能拿奖,简直是气得要死啊美帝太强了!!!
相关话题的讨论汇总
话题: ssd话题: erasing话题: data话题: usb话题: drives