SSWAP

Description

sswap is designed to delete data which may lie still on your swapspace in a secure manner which can not be recovered by thiefs, law enforce‐ ment or other threats. The wipe algorythm is based on the paper “Secure Deletion of Data from Magnetic and Solid-State Memory” pre‐ sented at the 6th Usenix Security Symposium by Peter Gutmann, one of the leading civilian cryptographers.

The secure data deletion process of sswap goes like this:

* 1 pass with 0xff

* 5 random passes. /dev/urandom is used for a secure RNG if avail‐ able.

* 27 passes with special values defined by Peter Gutmann.

* 5 random passes. /dev/urandom is used for a secure RNG if avail‐ able.

Usage

Syntax

sswap [-flvz] [-j start] /dev/of_swap_device

Options

        -f  fast (and insecure mode): no /dev/urandom, no synchronize mode.
	-j  jump over the first number of bytes when wiping. (default: 4096)
	-l  lessens the security (use twice for total insecure mode).
	-v  is verbose mode.
	-z  last wipe writes zeros instead of random data.

Example

cyborg@cyborg:~$ sudo sswap -v -z /dev/sda5
Wipe mode is secure (38 special passes)
Writing to device /dev/sda5: Using /dev/urandom for random input.
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?