Giter Club home page Giter Club logo

partedmagic-autowipe's Introduction

partedmagic-autowipe

This is a series of custom scripts used to automatically and securely erase HDD, SSD, and NVMe drives according to the standards laid out in NIST 800-88.

This was built for and tested with Parted Magic 02-28-2021. In order to use this you will need to flash the Parted Magic ISO to a USB then copy these files to the USB. Once the files have been copied, update tools/fileserver.cfg with the SMB share path, username of an account that has access, password, and domain. This is where the log files will be saved (you can run without if you do not need to keep log/certificate files). If this was done correctly, the boot menu should have option 1a. Auto on it: image After selecting Auto Parted Magic will run pmagic/pmodules/scripts/autodetect.sh to determine if there is any SSD/NVMe drives attached. If there is, it will start tools/tuxnukem to wipe them. This is completely automatic and usually takes around 30 seconds to start. Once tuxnukem is finished it will check for any HDDs. If it finds HDDs it will run tools/autoverify-nwipe.sh to wipe them with 3 passes then verify the disk is all 0s with the diskverifier package (this uses a modified version to append disk serial and date/time to log file names). Once verification has finished you should see this output in the terminal: image Each drive that was successfully wiped will have a certificate generated. Here is an example of one (lines with # require manual entry):

Model: SanDisk_SD8SBAT256G1122

Serial Number: 154223400303

Media Type (i.e., magnetic, flash memory, hybrid, etc.): SATA SSD

#Media Source (i.e., serial of computer the media came from):

Sanitization Description (i.e., Clear, Purge, Destroy): Clear/Purge via software

Method Used (i.e., degauss, overwrite, block erase, crypto erase, etc.): Block erase

Tool Used (including version): hdparm v9.60

Verification Method (i.e., full, quick sampling, etc.): Full

#Post-Sanitization Destination (if known): Recycled/given to X

#Name of Tech:

#Position/Title of Tech:

Date: 11-09-2021

#Location: 1234 Place this was run Ave, 125721 MN

#Phone or Other Contact Information:

#Signature: _____________________ (signed by lead tech if printed off for customer)

#Data Backup (i.e., if data was backed up, and if so, where):

In the same log folder should be a diskverifier-current-date-disk-serialnumber.log, nwipe-current-date.log, and tuxnukem-current-date.log. These files should also be backed up for future reference.

Open Source Licenses

partedmagic-autowipe's People

Contributors

blake-lucas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.