LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-07-2012, 03:48 PM   #1
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Secure Deletion of Data in Linux


Hi,

Secure Deletion of Data in Linux

&

Secure Deletion of Data in Linux – part 2

Two good articles to insure understanding for secure deletion of data.

Other useful links in Links for Helpful Linux articles & books

Last edited by onebuck; 05-26-2013 at 10:14 AM. Reason: add link
 
Old 11-07-2012, 05:15 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I guess this might also be a reason to start with some encryption or use advanced tools like intel's Vpro or other onboard encryption.
 
Old 11-08-2012, 02:05 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
They are pretty good. I prefer 'wipe'.

With journaled filesystems I recommend cleaning all free space once in a while. So make a large file full of zeroes or random data so that it occupies all free space, and then delete it immediately. Something like:

Code:
dd if=/dev/zero bs=4M of=file; rm -f file
As for multiple passes, it is for the very paranoid. It has never been proven that you can recover any meaningful data even after a pass of zeroes.
 
Old 10-27-2017, 01:26 PM   #4
unfa
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
Actually it has been proven that a single overwrite (with any data) will render any modern HDD irrecoverably erased.

Sources:

https://www.vidarholen.net/~vidar/ov...drive_data.pdf
http://infosecisland.com/blogview/16...Overwrite.html

Another proof is simply economical. It is in the best interest of HDD manufacturers to use any capacity of their medium to provide more value to their clients. If I had a drive that can read 4 layers deep into it's write history - I'd use that discovery to develop a drive that has 4 times the capacity and sell that.

It's harder to prove that something doesn't exist than it is to prove that it does, but performing 35 overwrite passes to shred data is only going to needlessly wear out the hardware IMHO. 2 passes are already an overkill.

For deleting single files (not wiping whole drives) one must note that there is metadata residing in the filesystem journal and other places, that can be recovered in forensic analysis.
 
  


Reply

Tags
data, restore, security



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Secure Deletion of Data in Linux LXer Syndicated Linux News 0 11-04-2012 10:00 PM
LXer: Secure Deletion of Data in Linux LXer Syndicated Linux News 0 06-21-2012 08:50 AM
Secure Deletion Application darran Linux - Security 2 07-03-2010 06:43 AM
secure file deletion shawn59 Linux - Security 2 06-12-2005 09:00 PM
Secure Deletion with RAID5 array neilschelly Linux - Security 2 12-05-2004 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration