[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 96
  • Last Modified:

How to delete a set of files permanently beyond most reasonable means of recovery .

I know that the ultimate way is physical destruction of the media .
However I am faced with a situation where i need to absolutely guarantee that some picture which exist on an IMAC are deleted and cannot be recovered . I need a utility . I need a method short of nuking the computer .
0
Andre P
Asked:
Andre P
  • 2
1 Solution
 
Dr. KlahnPrincipal Software EngineerCommented:
There are numerous utilities available doing this.  Here's a link to a page reviewing some of them.
0
 
Wayne HerbertCommented:
Secure Erase is a method that uses built in commands on PATA and SATA drives.  The whole drive is erased and will be extremely unreadable.
 
Information about Secure Erase:  http://pcsupport.about.com/od/termss/g/secure-erase.htm

I used this $9 purchased Secure Erase:  https://partedmagic.com/downloads/

https://partedmagic.com/secure-erase/

There are other freebies available:  http://pcsupport.about.com/od/toolsofthetrade/tp/free-data-destruction-software.htm  Look for the ones that use Secure Erase as the sanitizing option.

I use this erase program when none of the others will work... works on HDD, no reports:  http://www.dban.org/
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
No such thing as "absolutely guarantee".  Systems are too complex, and data gets copied around under the covers all the time: swapfiles used for virtual memory, applications that make copies of files while using them and then delete them insecurely, SSD and disk blocks that get marked bad but still contain recoverable data.

If it is really important, you need to securely erase the entire disk(s), and reload from scratch or from a backup from before the problem file entered the system.  A determined data recovery pro may be able to turn up very interesting bits of information even if you take all the actions I describe below.

To permanently delete files on some older versions of Mac OSX:

    Place Moderate or High Risk Data you wish to permanently remove in the Trash.
    From the Finder menu, select Secure Empty Trash…  
    Items in the Trash are to permanently erased to US DoD standards.

Newer versions of OSx don't have this feature, but you can use the srm command instead:

https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/srm.1.html

Even securely deleting a file -does not ensure- that all evidence of a file is truly removed from a system.

https://ssd.eff.org/en/module/how-delete-your-data-securely-mac-os-x

Delete cache, log and temp files:

http://www.chriswrites.com/cleaning-up-cache-log-files-and-temporary-files-in-os-x/

Finally, disable virtual memory, delete swapfiles, securely wipe free space, reboot, and re-enable virtual memory.  

http://hints.macworld.com/article.php?story=20040809191855264

Finally, I am an IT security guy, but Mac OS is not my specialty, so I may have left out some important steps.  Proceed with caution, and if in doubt, securely wipe the magnetic drives in question, replace SSD drives with new ones and physically destroy the old ones, and be careful about copies that might have gotten stored elsewhere: mail server, web site, cloud storage, backup devices, etc.
0
 
Wayne HerbertCommented:
You may also wish to read the articles at this website concerning the various techniques for a secure erase and how long they take.  http://cmrr.ucsd.edu/people/Hughes/secure-erase.html

http://cmrr.ucsd.edu/people/Hughes/documents/DataSanitizationTutorial.pdf

Interestingly enough, DOD 5220 is not very good.  Using the drive's built in features is both much faster and much better.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now