Wiping FreeSpace on Your Hard Drive(s)



Last week, I shared my list of favorite privacy tools for Windows, Mac, GNU/Linux, Android and iPhone devices. It occurred to me that I hadn't shared how I get rid of the free space on computers, external hard drives and portable USB flash drives, though. I would bet most school districts lack policies on what to do about confidential data on computers, except for physical shredding of the hard drives...and if that isn't in place, what protection is there for confidentiality? Do you know what policy is in place in YOUR school district? How about at YOUR home with your own devices or, worse, work/home photocopier hard drives?

Source: http://www.ehow.com/how_6960853_totally-wipe-hard-drive.html
Old hard drives yield dark secrets. They are dark because they were never meant to see the light of day outside your work or home office. Those dark secrets can include student data, confidential data...just information that you don't want to get out there if someone were to set out to harvest your data. Even if you delete information, it still continues to reside on your computer's hard drive. Consider how the Eraser folks make this point:
Your first thought may be that when you 'delete' the file, the data is gone. Not quite, when you delete a file, the operating system does not really remove the file from the disk; it only removes the reference of the file from the file system table. The file remains on the disk until another file is created over it, and even after that, it might be possible to recover data by studying the magnetic fields on the disk platter surface.

Before the file is overwritten, anyone can easily retrieve it with a disk maintenance or an undelete utility.
Some school districts take advantage of hard drive destruction services, but you may not be willing to pay for those services at home. Yet, you can periodically shred the free space on your computer’s hard drive to eliminate confidential data.

Here are some excellent, free and low-cost tools can help you with this. Even though you can replicate some of the features of each with free, open source tools, together, both of these applications could make your data-shredding much easier. 

On GNU/Linux, you are best off using a non-journaled file system (ext2). That said, you can run copy-n-paste this code into a text file with the extension of .sh and you'll be set to go after making some minor modifications:
#!/bin/sh
# customwipe.sh
# by Thomas C. Greene (thomas.greene@theregister.co.uk
# http://basicsec.org)
#
echo " -- This is the WipeFree-2 script"
echo " -- This script will wipe unused disk space on the"
echo " -- root ( / ) partition"
echo " -- It is meant for systems with a single, logical partition"
echo " -- Users with several primary partitions should use the"
echo " -- WipeFree-1 script instead"
echo " -- If you do not know how your filesystem is set up,"
echo " -- use the *WipeFree-1* script instead"
echo " -- Read the README before running this script!"
echo " -- This is a rough hack with NO WARRANTY"
echo " -- It is not completely effective on journaled file systems"
echo " -- Use the ext2 filesystem for maximum effectiveness"
echo " -- USE AT YOUR OWN RISK!"
echo " -- Press Ctrl+C to exit, or"
echo " -- Press Enter to continue"

read

echo " -- Wiping . . . This routine can take a long time"

fs="/"
for f in $fs; do
        name="${f}/_cleanupfile_"
        echo "Creating $name"
        set +e +u
        dd if=/dev/urandom of="${f}/_cleanupfile_"
        sync; sync
        rm "${f}/_cleanupfile_"
        sync; sync
done
echo " * * * *"
echo " -- The wipe is finished"
 On a Windows computer, you can take advantage of a variety of tools including CCleaner and Eraser. Eraser is my favorite for the job.

On a Macintosh, both of these tools are worth purchasing:
  • Download: NetShred - http://www.mireth.com/
    Description: Shreds web/email confidential data stored on your hard drive. In other words, it knows where to look to get rid of confidential data that may be stored by your browser, email and other web tools.
    Cost: $19.95
  • Download: ShredIt X - http://www.mireth.com/
    Description: Shreds free space on your hard drive, as well as allows you to shred files and folders.
    Cost: $19.95
Finally, if you find yourself getting rid of a computer and hard drive, you may want to do more than just shred or wipe free space on your computer. The ultimate solution for erasing or wiping a hard drive may be a program known as Darik’s Boot-n-Nuke to ensure all previous data was erased from the hard drive. According to their web site, Darik’s Boot-n-Nuke works for both Macintosh and Windows computers (and GNU/Linux, of course). It is a self-contained CD that securely “wipes the hard disks” and will do so “automatically.”
Darik's Boot and Nuke ("DBAN") is a self-contained boot disk that securely wipes the hard disks of most computers. DBAN will automatically and completely delete the contents of any hard disk that it can detect, which makes it an appropriate utility for bulk or emergency data destruction.
At the very least, even if you aren't taking advantage of the tools shared in this previous blog entry, you should be wiping your computer's free space, and if disposing of a computer, running DBAN on it to clear out confidential data.

Delicious Bookmark this on Delicious
Subscribe to Around the Corner-MGuhlin.org


Everything posted on Miguel Guhlin's blogs/wikis are his personal opinion and do not necessarily represent the views of his employer(s) or its clients. Read Full Disclosure

Comments

Popular posts from this blog

#Chromecast Add-Ons to Play Various Video File Formats

Free Professional Learning! Education On Air #googleedu

10 Steps to a Blended Learning Classroom #MIEexpert #MIE #tceamie1