Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am aware of tools which write zeros or other useless data to fill up your hard

ID: 656787 • Letter: I

Question

I am aware of tools which write zeros or other useless data to fill up your harddrive, however so far all of the tools I have come across must fill up the entire harddrrive.

My understanding of the tools filling up the hard drive is so that when forensics attempt to recover, they only get the zero/useless data.

I am wondering if its possible to just fill up a part of the hard disk instead of the whole thing - This free space I want to fill was used space which contained my important files, so filling up only this part seems adequate.

I also have the problem that my OS files are on this same disk, so filling the whole disk with zero/useless data will cause me to lose my OS.

Does a tool exist? Is this a bad strategy?

Explanation / Answer

Yes, it is a good strategy if a disk has held sensitive data and may be accessible by others. A Google search for "wipe disk free space" finds numerous such tools.

There are a couple of other considerations. One is "slack space." That's the unused space in the last cluster of a file. It's not part of free space, so it won't get wiped by many disk wiping utilities, but it will contain whatever was there before. If your operating system uses 32K clusters, on the average, each file will have 16K of "old" data at the end.

The other consideration is the directory structure. Deleting a file releases its space, but often the directory entry is just marked rather than overwritten; it depends on the operating system. So, if I delete "breakingbad.dat" some or all of the file name is likely to remain in the directory structure. It can be even worse for NTFS. Very small files are stored entirely within the master file table (MFT) so a file of size less than about 1K may not get wiped when you clear free space. That's the file contents, not just the directory entry.

What this means is that you will want to choose your wiping tool carefully. For general cleanup, just clearing the free space may be enough. For sensitive data, you need to clear slack space and directory entries, too.