Re: Secure Erase for PCs?
Though, technically, no disk can be securely erased, my program, Very Good Privacy, can securely delete files after they have been encrypted. I don't know if this is what you're looking for, but if it is, check out the VGP home page at: http://www.geocities.com/SiliconValley/Pines/2690
Ideally, I'm looking for a free space wiper, along the lines of what Burn 2.4 on the Mac can do. As in, create a file the size of available free space, and then write garbage repeatedly to that file. I've found "Real Deal", a TSR that intercepts the DEL command, but that's a poor substitute, at least for my needs. Anyway, thanks. -j
Bryna Bank/Jamie Lawrence wrote:
Though, technically, no disk can be securely erased, my program, Very Good Privacy, can securely delete files after they have been encrypted. I don't know if this is what you're looking for, but if it is, check out the VGP home page at: http://www.geocities.com/SiliconValley/Pines/2690
Ideally, I'm looking for a free space wiper, along the lines of what Burn 2.4 on the Mac can do.
As in, create a file the size of available free space, and then write garbage repeatedly to that file.
I've found "Real Deal", a TSR that intercepts the DEL command, but that's a poor substitute, at least for my needs.
I am attaching a program that does it for Unix.
/******************************************************* wipedisk.c */
/* U N I X w i p e d i s k p r o g r a m .*/
/********************************************************************/
/*
* Copyright(C) 1995, Igor Chudov, ichudov@algebra.com.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License , or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, write to the Free Software
* Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Syntax: wipedisk /my/directory/filename
*/
/*
* This program creates a file with a specified name (which you must
* supply) and simply writes pseudo-random data into this file. It
* deletes this file after it filled the whole disk with this file.
* Actually it unlinks the file _right after_ that file was created
* to avoid shitting all over the place with dummy files left in case
* it was killed.
*
* Therefore, this program may be used to securely wipe (delete) all
* data that does not belong to legitimate files. Pretty neat thing to
* use with PGP. Note that I am not an expert in secure erasure of data:
* if you use this program to delete criminal traces and FBI is going
* after you, talk to an expert first :-)
*
* It wipes disk only once; call it several times for more secure
* erasure. If you run it more than six times at once, consult with your
* psychiatrist.
*
* Note that user filesystem quotas may conflict with wiping the whole
* disk. Also, there may be some percentage of every filesystem (usually
* 5%) that can only be used by root. It is best if this program is run
* by root. Note that for a short period of time this program can make
* all disk space used and not available for users. Please notify your
* root if you plan to run this program, because running it can create
* hardships for other users of your Unix system.
*
* It is best run from root's crontab in the middle of the night,
* when everyone should be sleeping and not hacking.
*
* The file named in the argument 1 must NOT exist before program is
* called.
*/
#include
Igor - Thanks for sending this. If I end up porting it, I'll send you a copy. I just wanted to wipe a client's disk. I'm a little surprised that there doesn't seem to be any tools for this on the PC. Another area where Mac's seem to be innovative... -j At 9:25 PM -0600 on 12/9/96, Igor Chudov @ home wrote:
I am attaching a program that does it for Unix.
-- "I'm about to, or I am going to, die. Either expression is used." - Last words of Dominique Bouhours, Grammarian, 1702 ____________________________________________________________________ Jamie Lawrence foodie@netcom.com
Jamie Lawrence
Igor -
Thanks for sending this. If I end up porting it, I'll send you a copy. I just wanted to wipe a client's disk. I'm a little surprised that there doesn't seem to be any tools for this on the PC. Another area where Mac's seem to be innovative...
The problem with running Igor's program on PC has to do with the last allocation cluster of each file: it's in use (so this program won't write over it), but it only has new data at the beginning, and might contain some interesting old data at the end. For the PCs, Norton Utilities (now from Symantec) include a wiping utility that addresses the above problem. Specifially for OS/2 HPFS, the Gammatech utility also include one. --- Dr.Dimitri Vulis KOTM Brighton Beach Boardwalk BBS, Forest Hills, N.Y.: +1-718-261-2013, 14.4Kbps
Jamie Lawrence wrote:
Igor - Thanks for sending this. If I end up porting it, I'll send you a copy. I just wanted to wipe a client's disk. I'm a little surprised that there doesn't seem to be any tools for this on the PC. Another area where Mac's seem to be innovative...
It's a hundred times easier to do tools for the IBM PC. I make utilities for the PC, and it would take no more than ten or fifteen minutes to cook this one up. But nobody answered my question: Is there a shortcut way to do the wipe, say, thirty times? Ordinarily, I'd run the program thirty times, which would consist of a data write followed by a flush, which would take 30x amount of time.
Dale Thorn
It's a hundred times easier to do tools for the IBM PC. I make utilities for the PC, and it would take no more than ten or fifteen minutes to cook this one up.
It took me less than ten minutes...
But nobody answered my question: Is there a shortcut way to do the wipe, say, thirty times? Ordinarily, I'd run the program thirty times, which would consist of a data write followed by a flush, which would take 30x amount of time.
Try this in Linux... #!/bin/csh set n=1 loop: cat /dev/urandom >/tmp/fill rm /tmp/fill @ n = $n + 1 if ( $n < 30 ) then goto loop endif
> Dale Thornwrote: > > It's a hundred times easier to do tools for the IBM PC. I make > > utilities for the PC, and it would take no more than ten or fifteen > > minutes to cook this one up. > > It took me less than ten minutes... > > > But nobody answered my question: Is there a shortcut way to do the > > wipe, say, thirty times? Ordinarily, I'd run the program thirty > > times, which would consist of a data write followed by a flush, > > which would take 30x amount of time. > > Try this in Linux... > > #!/bin/csh > set n=1 > loop: > cat /dev/urandom >/tmp/fill + sync;df >/dev/null > rm /tmp/fill > @ n = $n + 1 > if ( $n < 30 ) then > goto loop > endif > and it just might work.
participants (7)
-
Dale Thorn
-
dlv@bwalk.dm.com
-
foodie@netcom.com
-
ichudov@algebra.com
-
Jamie Lawrence
-
Matthew Ghio
-
proff@suburbia.net