Hide Your Secrets FOREVER! - Erasing Data Securely
Techquickie
·Techquickie
·2019-05-06
·
933 words · ~4 min read
0:00
all right let's be honest at some point you've had data stored somewhere that
0:04
you wanted to get rid of without a trace whether it's embarrassing browser
0:07
history photos of an ex or that really
0:10
questionable piece of fanfic you wrote one lonely night
0:14
i still think it's good of course there are methods that are fairly foolproof
0:18
such as subjecting your drive to a fireplace chainsaw or sledgehammer but
0:23
let's say you don't want to go to such extremes and you just want to wipe your
0:26
drive without there being any realistic chance of that data being recovered
0:30
later how would you go about doing this the answer depends on whether you have a
0:34
traditional mechanical hard drive or one of those newfangled ssds we'll start out
0:39
talking about hard drives and why simply hitting delete or emptying the recycle
0:44
bin doesn't securely erase your data
0:47
as we discussed in this episode deleting a file in Windows forces the operating
0:51
system to see the part of the drive it took up as free space that's available
0:56
for something else now but the contents of the file are still there and can be
1:00
easily recovered so the conventional wisdom to solve this dilemma is to
1:04
overwrite the file with random ones and zeros
1:08
this can easily be done on a per file basis or by wiping the entire drive with
1:12
a number of freely available software tools but if you look closer these
1:17
programs often give you lots of options for overriding your drive many times you
1:21
can choose between 1 3 7 or even 35
1:25
passes of zeros ones or a random mix of data that may or may not follow a
1:29
certain pattern at all but if you're erasing lots of data this could take a
1:33
very long time on a slow mechanical hard drive so is it really necessary to scrub
1:38
your platters over and over again well the answer is
1:42
probably not you see the notion that you have to override a drive tons of times
1:47
comes partially from the idea that read write heads on older drives wouldn't
1:50
perfectly flip bits from one to zero when they needed to be changed
1:54
so a bit read as a one by the computer might be something more like
1:59
1.03 so in theory you could use these
2:02
imperfectly flipped bits combined with the magnetic signature left by the read
2:06
write head on the platter to determine what data used to be on it
2:11
hmm that sounds complicated well turns
2:14
out that it is and we don't know that anyone's ever actually recovered data
2:17
from a disk this way in fact the author of a famous paper that promoted the 35
2:22
pass method later noted that overriding that many times on a modern hard drive
2:26
was complete overkill and even used the word voodoo to describe people's belief
2:31
that his own method was the only way to securely wipe data so the bottom line is
2:36
that one good complete passive your drive with an overriding program or
2:40
maybe two if you're feeling paranoid should be enough to thwart any snoops
2:45
but what if you have an SSD well ssds work quite differently in that
2:50
when you delete a file a feature called trim built into most modern drives will
2:54
wipe the unwanted data in an effort to prevent it from being copied
2:57
unnecessarily and if you're curious about why that would happen we discuss
3:01
it in this episode but the point is that a modern SSD should delete a file for
3:06
good on its own although you can always run the trim command manually like this
3:10
if you're using Windows so if you're following these simple steps there
3:14
really isn't much a snoop or even some spy agency can do to see what was once
3:19
on your drive but of course do keep in mind that you have to know where the
3:22
data is if you want to spot delete it many programs like web browsers write
3:27
sensitive data to places on your drive you may not expect so if i were you i'd
3:31
just wipe the entire drive and do a fresh os install before selling or
3:35
giving away your pc you never know whose hands it might end up in even i did i
3:40
wouldn't get caught do you have an extra five minutes per day then use brilliance
3:44
daily problems to help you train your brain each problem provides you with the
3:48
context and framework that you need to tackle it so that you learn the concepts
3:52
by applying them if you like the daily problem then there's more like it in the
3:55
quiz on the left so that you can explore the concept in great detail and develop
3:59
your framework if you're confused and need more guidance then join the
4:02
community in discussing these problems these thought-provoking challenges will
4:06
lead you from curiosity to mastery one day at a time so what are you waiting
4:10
for go to brilliant.org techwiki and finish your day a little
4:14
smarter and the first 200 of you to do so will get 20 off the annual
4:18
subscription to view all problems in the archives alright that's it for this
4:22
episode guys thanks for watching subscribe to techwiki for more content
4:26
just like this leave suggestions in the comments for future videos and check out
4:29
all of our other content because we got lots of it