home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
- From: terry@cs.weber.edu (A Wizard of Earth C)
- Subject: Re: /bin/rm security issue(s)
- Message-ID: <1992Sep11.015934.15508@fcom.cc.utah.edu>
- Sender: news@fcom.cc.utah.edu
- Organization: Weber State University (Ogden, UT)
- References: <1992Sep10.015705.7210@morwyn.uucp>
- Date: Fri, 11 Sep 92 01:59:34 GMT
- Lines: 43
-
- In article <1992Sep10.015705.7210@morwyn.uucp> forrie@morwyn.uucp (Forrie Aldrich) writes:
- >I am aware that when a file is deleted, the blocks are made 'free' for
- >writing, but the files contents can still linger about on the disk; and
- >as such can be effectively retrieved with a good program. I've a couple
- >of programs (which have saved my life :) that do this.
- >
- >However: I'm concerned about being able really _eradicate_ a file,
- >for various reasons including security.
- >
- >Does anyone have a program that will do this? A friend suggested that
- >I get a program that will open the file and write 'zeros' or something
- >to the end of it and then close it. _Then_ /bin/rm the file.
- >
- >I could see adding this 'feature' to /bin/rm or perhaps writing a
- >program called /bin/rrm (_really-remove_) to do this. Hmmm... I wonder
- >how government contracts manage this issue...
-
- The government does it by writing an ANSI standard pattern an ANSI standard
- number of times using an ANSI standard order to coerce seeks from different
- directions so as to destroy any data that exists in the file plus any info
- which can be derived after it's simply written over which may "smear out"
- due to hysterisis in the disk head.
-
- Since UNIX like to optimize seeks, this requires a special device driver
- (no, not ANSI standard, to my knowledge ;-)) to do the dirty deed, and
- special code in the file system for removal.
-
- I know VMS supports this directly (no file system cache to worry about),
- and I believe that the Norton Futilities for MS-DOG can do the same if
- given the correct options.
-
-
- Terry Lambert
- terry_lambert@gateway.novell.com
- terry@icarus.weber.edu
- ---
- Any opinions in this posting are my own and not those of my present
- or previous employers.
- --
- -------------------------------------------------------------------------------
- "I have an 8 user poetic license" - me
- Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
- -------------------------------------------------------------------------------
-