Kill Disk
Kill Disk
User Guide
Copyright © 1999-2015, LSOFT TECHNOLOGIES INC. All rights reserved. No part of this
documentation may be reproduced in any form or by any means or used to make any
derivative work (such as translation, transformation, or adaptation) without written permission
from LSOFT TECHNOLOGIES INC.
LSOFT TECHNOLOGIES INC. reserves the right to revise this documentation and to make
changes in content from time to time without obligation on the part of LSOFT TECHNOLOGIES
INC. to provide notification of such revision or change.
LSOFT TECHNOLOGIES INC. provides this documentation without warranty of any kind, either
implied or expressed, including, but not limited to, the implied warranties of merchantability
and fitness for a particular purpose. LSOFT may make improvements or changes in the
product(s) and/or the program(s) described in this documentation at any time.
All technical data and computer software is commercial in nature and developed solely at
private expense. As the User, or Installer/Administrator of this software, you agree not to
remove or deface any portion of any legend provided on any licensed program or
documentation contained in, or delivered to you in conjunction with, this User Guide.
Active@ KillDisk, the Active@ KillDisk logo, KillDisk and Erasers Software are trademarks of
LSOFT TECHNOLOGIES INC.
The LSOFT.NET logo is a trademark of LSOFT TECHNOLOGIES INC.
Other brand and product names may be registered trademarks or trademarks of their
respective holders.
3
1 Product Overview
Active@ KillDisk for Linux (Console) is a powerful utility that will:
Wipe confidential data from unused space on your hard drive.
Erase data from partitions or from an entire hard disk.
Destroy data permanently.
Wiping the logical drive's deleted data does not delete existing files and
folders. It processes all unoccupied drive space so that data recovery of
previously deleted files becomes impossible. Installed applications and
existing data are not touched by this process. Active@ KillDisk wipes unused
data residue from file slack space, unused sectors, and unused space in
system records or directory records.
When you erase data with Active@ KillDisk for Linux, you destroy data
permanently by conforming to any one of more than twenty international
data sanitizing standards or using your own custom settings.
Wiping drive space or erasing data can take a long time, so perform these
operations when the system is not being otherwise utilized. For example,
these operations may be run overnight. If you have several physical hard
disk drives attached to the machine, KillDisk can erase or wipe them
simultaneously (in multi-threaded mode), thus saving you time and work
costs.
After erase or wipe actions are completed, KillDisk offers you the options of
initializing erased disks, shutting down your computer, saving a log file and
the certificate (XML or HTML). Custom erase or wipe certificates can be
created using your company logo and attributes.
KillDisk supports command line parameters (what to erase, which method to
use, etc… ) and executable exit codes. Application can be run in batch mode,
which is fully automated and requires no user interaction.
When using the FORMAT command, Windows displays a message like this:
Important: Formatting a disk removes all information from the disk.
The FORMAT utility actually creates new FAT and ROOT tables, leaving all
previous data on the disk untouched. Moreover, an image of the replaced
FAT and ROOT tables is stored so that the UNFORMAT command can be
used to restore them.
FDISK merely cleans the Partition Table (located in the drive's first sector)
and does not touch anything else.
The algorithm NTFS has to compress a file it separates into compressed blocks (usually
64KB long). After it is processed, each of these blocks has been allocated a certain
amount of space on the volume. If the compressed information takes up less space than
the source file, then the rest of the space is labeled as sparse space and no space on
the volume is allocated to it. Because the compressed data often doesn't have a size
exactly that of the cluster, the end of each of these blocks stays as unusable space of
significant size. Our algorithm goes through each of these blocks in a compressed file
and wipes the unusable space, erasing previously deleted information that was kept in
those areas.
This is how Directory Area looks after Wiping: all deleted records removed, root
defragmented:
A B-tree file is divided up into fixed-size nodes, each of which contains records
consisting of a key and some data.
In the event of the deletion of a file or folder, there is a possibility of recovering the
metadata of the file (such as its name and attributes), as well as the actual data that the
file consists of. KillDisk's Wipe method clears out all of this free space in the system files.
A Linux Ext file system family (Ext2/Ext3/Ext4) volume has a global descriptors table.
Descriptors table records are called group descriptors and describe each blocks group.
Each blocks group has an equal number of data blocks. A data block is the smallest
allocation unit; sizes vary from 1024 bytes to 4096 bytes. Each group descriptor has a
blocks allocation bitmap. Each bit of the bitmap shows whether the block is allocated (1)
or available (0). KillDisk software enumerates all groups and for each and every block
within the group on the volume checks the related bitmap to define its availability. If the
block is available, KillDisk wipes it using the method supplied by the user.
Personal Computer
IBM PC compatible machine
Intel 386 or higher (x86 or x64)
64 Mb of RAM
Video: VGA resolution (800x600 pixels, 100 columns x 42 rows)
Operating System: Console Linux of any brand (TinyCore supplied)
Other Requirements
A blank CD/DVD/BD disc for burning an ISO image, or a USB flash card to
prepare a bootable USB disk.
Wipes out file slack space (unused bytes in the yes yes
last cluster occupied by file)
Note: All existing data on USB Disk you selected will be lost, USB disk will be
formatted and ISO image file will be written to a first bootable partition.
Another partition of type FAT32 will be also created for all available space
and you can use it later on for your data storage.
Note: If you use older versions of Windows (XP and earlier) you can burn ISO
to a disk using our free Active@ ISO Burner utility (www.ntfs.com/iso-
burning.htm).
All system physical devices and logical partitions are displayed in a list.
Hard drive devices are numbered by the system BIOS. A system with a single hard drive
shows as number /dev/sda. Subsequent hard drive devices are numbered
consecutively. For example the second device will be shown as /dev/sdb.
To move a focus between panels (Devices, Properties, Event Log) Use TAB and
ALT+TAB keys. To display a menu, press F1. To refresh disks, press F5.
Select a device using arrows and read the detailed information about the device in the
right pane. Below the device, select a logical partition. The information in the right pane
changes.
Be certain that the drive you are selecting is the one that you want to erase or wipe. If
you choose to erase, all data will be permanently erased with no chance for recovery.
To preview the sectors on a physical disk or on a volume (logical disk), select it and
press CTRL+P, or choose Hex Preview from the View menu. The Hex Preview
panel appears.
To scroll up and down, use the keyboard navigation arrow keys PAGE UP, PAGE
DOWN, HOME and END, or use the related buttons on the toolbar.
To jump to a specific sector, move a cursor to a Sector field and type the sector
number, or use arrows.
When you are satisfied with the identification of the device, close the Hex Preview
panel (CTRL+P or CTRL+F).
To preview the files in a logical disk, select the volume and press ENTER. KillDisk scans
the directories for the partition. The Folders and Files screen appears.
To reset Disk Hidden Areas (this feature is available in commercial versions only),
select a physical disk in the Local System Devices list, then click Reset Hidden Areas…
from the Task menu. After reset, PC reboot is needed for any software to access these
areas properly. After reboot, the number of Total Disk Sectors will be increased by
number of HPA/DCO disk hidden sectors and these areas now ready for erasing by
KillDisk.
When you select a physical device (for example, /dev/sdb), the erase command
processes partitions no matter what condition they are in. Everything is destroyed.
If you want to erase data on selected logical drives, follow the steps in 3.4 Erase or
Wipe Logical Drives (Partitions).
Select an erase method from the list. Erase methods are described in Chapter 5
Erase/Wipe Parameters in this guide.
Set other parameters for erasing, and write comments, if needed, to be
displayed on a certificate. For information on settings, see Chapter 5 in this
guide.
If the Skip Disk Erase Confirmation check box is clear, you need to type
ERASE-ALL-DATA in the text box and press ENTER or click Start button.
The Progress panel appears, displaying the current progress. Progress is also
displayed in Local System Devices panel, at the left side of the device name.
To stop the process at any time, press Ctrl+S for the particular disk. Note that data
that has already been erased will not be recoverable.
There is nothing more to do until the end of the disk erasing process. The application
will operate on its own. You can still navigate Devices and Volumes, and even launch
erase process for other disks.
If there are any errors, for example due to bad clusters, they will be reported on the
Interactive screen and in the log. If such a message appears, you may cancel the
operation (click Abort), or you may continue erasing data (click Ignore or Ignore All).
When you select a physical device such as /dev/sdb, the wipe command processes all
logical drives consecutively, deleting data in unoccupied areas. Unallocated space
(where no partition exists) has been erased as well. If KillDisk detects that a partition
has been damaged or that it is not safe to proceed, KillDisk does not wipe data in that
area. The reason it does not proceed is that a damaged partition might contain
important data.
There are some cases where partitions on a device cannot be wiped. Some examples
are an unknown or unsupported file system, a system volume, or an application start up
drive. In these cases the Wipe button is disabled. If you select a device and the Wipe
button is disabled, select individual partitions (drives) and wipe them separately.
If you want to erase data from the hard drive device permanently, see 3.2.1.1 Erase
Data.
If you want to wipe data in unoccupied areas on selected logical drives, follow the steps
in 3.4 Erase or Wipe Logical Drives (Partitions).
To select a wipe type, choose a method from the Wipe Method list. Wipe
methods are described in Chapter 5 Erase/Wipe Parameters in this guide. You
may change parameters in this dialog box. For information on these parameters,
see Chapter 5 Erase/Wipe Parameters in this guide.
To advance to the final step before erasing data, click Start. If the Skip
Confirmation check box is clear, the Confirm Action dialog box appears. This
is the final step before wiping data residue from unoccupied space on the
selected drive.
To confirm the wipe action, press Yes (Enter). The progress of the wiping
procedure will be monitored in the Disk Wiping screen.
To stop the process for any reason, press the Ctrl+S. Note that all existing
applications and data will not be touched. Data that has been wiped from
unoccupied sectors is not recoverable.
There is nothing more to do until the end of the disk wiping process. The application
operates on its own.
If there are any errors, for example due to bad clusters, they will be reported on the
Interactive screen and in the Log. If such a message appears, you may cancel the
operation or continue wiping data.
After the wiping process is completed select the wiped partition and press ENTER or
double-click it to inspect the work that has been done. KillDisk scans the system records
or the root records of the partition. The Folders and Files tab appears.
Deleted file names and folder names appear in black color, and with a D (deleted)
attribute at the right side of the panel. If the wiping process completed correctly, the
data residue in these deleted file clusters and the place these files hold in the directory
records or system records has been removed. You should not see any black -colored file
names or folder names and having D (deleted) attribute on the wiped partition.
To run Active@ KillDisk in command line mode, open a command prompt screen.
At the command prompt, start Active@ KillDisk for Linux (Console) by typing:
> KillDisk -?
A list of parameters appears. You can find explanations of them in the table below.
-verification=[0 - 100] -v= 10 Set the amount of area the utility reads
to verify that the actions performed by
the write head comply with the chosen
erase method (reading 10% of the area
by default).
Verification is a long process. Set the
verification to the level that works for
you better.
-retryattempts=[1 - 99] -ra= 2 Set the number of times that the utility
will try to rewrite in the sector when the
drive write head encounters an error.
Note: Parameters -test and -help must be used alone. They cannot be used with
other parameters.
Note: Commands –erasehdd, -eraseallhdds, -wipehdd and -wipeallhdds cannot be
combined.
Type the command and parameters into the command prompt console
screen at the prompt. Here is an example:
> sudo KillDisk -eh=0 -bm
In this example, all data on the device /dev/sda will be erased using US DoD
5220.22-M method without confirmation and showing a report at the end of
the process.
After you have typed KillDisk and added command line parameters, press
ENTER to complete the command and start the process.
Note, that KillDisk must be run with SuperUser rights, so sudo command
prefix being used (or su prefix can be used for different linux versions)
This will, using Gutman's method and returning to the command prompt
when complete, wipe all deleted data and unused clusters on all attached
physical disks without any confirmations
If –ns (-nostop) command line parameter is specified, no user interaction
is possible after erase/wipe action started, so user cannot cancel the
command being executed (user interaction has been blocked).
Parameter=value
All system hard drives and removable drives are displayed in the left
pane. System information is displayed in the right pane.
2013-10-10 11:12:40 Initialized Active@ KillDisk for Linux v. 8.0.0, Kernel 3.10.10
---------------------------------------Erase Session Begin------------------------------
2013-10-10 11:13:59 Active@ KillDisk for Linux v. 8.0.0 started
Erase method: US DoD 5220.22-M (3 passes, verify) Passes: 3 [Verification 10%]
Erase WDC WD1600YD-01NVB1 Fixed Disk (81h) (Serial Number: WD-WMANM1702217) - 153 GB
Started: 2012-10-10 11:13:59
Pass 1 - OK (0x0000000000000000)
Pass 2 - OK (0xFFFFFFFFFFFFFFFF)
Pass 3 - OK (Random)
Verification passed OK
Finished 2013-10-10 13:54:19
2013-10-10 13:54:28 Time taken: 02:40:21
2013-10-10 13:54:28 Erasing completed for 1 device
---------------------------------------Erase Session End-------------------------------
2013-10-10 13:54:28 Rescanned hardware
A summary of errors is presented in this report if the process encountered errors from,
for example, bad clusters.
Details of this report are saved by default to a log file located in the folder from which
you started Active@ KillDisk. Log file location can be changed in Settings.
If XML export option is turned on, log file can be exported, and look like:
<?xml version="1.0" encoding="utf-8" ?>
- <killdisk_log>
- <event>
<type>Info</type>
<time>2014-01-02 13:57:22</time>
<text>Initialized Active@ KillDisk for Linux v. 8.0.0, Kernel 3.12.24</text>
</event>
<type>Info</type>
<time>2014-01-02 14:08:52</time>
<text>DOCS (K:) successfully locked</text>
</event>
- <session>
<action>Wipe</action>
<started>2014-01-02 14:08:52</started>
- <event>
<type>Info</type>
<time>2014-01-02 14:08:52</time>
<text>Wipe method: US DoD 5220.22-M (3 passes, verify) Passes: 3 [Verification 10%]</text>
</event>
…
- <event>
<type>Info</type>
<time>2014-01-02 14:08:53</time>
<text>Finished 2014-01-02 14:08:53</text>
</event>
- <event>
</killdisk_log>
4 Common Questions
4.1 How does the licensing work?
The software is licensed on a per CD/DVD or USB media storage device
basis. Each license allows you to use the program from a separate CD/DVD
or USB device. For example, if you want to use the program to wipe five
computers concurrently, you would need five CDs or DVDs or USB devices
(or combination of the three not exceeding five), and therefore need a five-
user license.
4.3 What is the difference between the Site and Enterprise license?
Site License means an unlimited usage of the program in one physical
location; Enterprise License - in any company’s locations.
4.6 Will I be able to use my Hard Disk Drive after Active@ KillDisk erase
operation?
Yes. To be able to use the HDD again you need to:
Repartition the hard drive using a standard utility like FDISK.
Reformat partitions using a standard utility like FORMAT.
Reinstall the Operating System using a bootable CD/DVD-ROM.
Your computer may have boot priority for Hard Disk Drives, or another device set higher
than boot priority for CD/DVD device.
Parameters that are set in low-level setup are written to the machine's BIOS.
To change the boot priority:
Open the low-level setup utility, usually by pressing F1, F2, F10 or ESC on the
keyboard during startup.
Use the arrow keys to locate the section about Boot device priority. This
section will allow you to set the search order for types of boot devices. When the
screen opens, a list of boot devices appears. Typical devices on this list will be
hard drives, CD or DVD devices, floppy drives and network boot option.
If the CD or DVD device has been disabled, enable it (provided you have a
device installed). The priority should indicate that the CD/DVD device is the
number one device the BIOS consults when searching for boot instructions. If
the CD/DVD device is at the top of the list that is usually the indicator.
Save and exit the setup utility.
User Defined
You indicate the number of times the write head passes over each sector.
Each overwriting pass is performed with a buffer containing the pattern you
specified (ASCII string or Hex values).
US DoD 5220.22-M
The write head passes over each sector three times. The first time is with
zeros (0x00), the second time with 0xFF, and the third time with random
characters. There is one final pass to verify random characters by reading.
US DoE M205.1-2
The write head passes over each sector seven times (Random, Random,
0x00). There is one final pass to verify zeros by reading.
Canadian OPS-II
The write head passes over each sector seven times (0x00, 0xFF, 0x00,
0xFF, 0x00, 0xFF, Random). There is one final pass to verify random
characters by reading.
German VSITR
The write head passes over each sector seven times (0x00, 0xFF, 0x00,
0xFF, 0x00, 0xFF, 0xAA). There is one final pass to verify random characters
by reading.
US Army AR380-19
The write head passes over each sector three times. The first time with
0xFF, the second time with zeros (0x00), and the third time with random
characters. There is one final pass to verify random characters by reading.
RL method - the write head passes over each sector three times (0x01,
0x27FFFFFF, Random).
MFM method - the write head passes over each sector three times (0x01,
0x7FFFFFFF, Random).
NIST 800-88
- The write head passes over each sector one time (0x00)
- The write head passes over each sector one time (Random)
- The write head passes over each sector three times (0x00, 0xFF,
Random)
For details about this, the most secure data clearing standard, you can read
the original article at the link below:
http://csrc.nist.gov/publications/nistpubs/800-88/NISTSP800-88_with-errata.pdf
NCSC-TG-025
The write head passes over each sector three times (0x00, 0xFF, Random).
There is one final pass to verify random characters by reading.
NSA 130-2
The write head passes over each sector two times (Random, Random).
There is one final pass to verify random characters by reading.
Bruce Schneier
The write head passes over each sector seven times (0xFF, 0x00, Random,
Random, Random, Random, Random). There is one final pass to verify
random characters by reading.
Gutmann
The write head passes over each sector 35 times. For details about this, the
most secure data clearing standard, you can read the original article at the
link below:
http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.htm l
In addition to the erase method, you can specify more options for erasing/wiping.
Verification
After erasing is complete you can direct the software to perform verification
of the surface on the drive to be sure that the last overwriting pass was
performed properly and data residing on the drive matches the data written
by the erasing process.
Because verification is a long process, you may specify a percentage of the
surface to be verified. You may also turn the verification off completely.
Initialize Disk
Because of the BIOS restrictions of some manufacturers, a hard disk
device that is larger than 300 MB must have an MBR (Master Boot Record) in
sector zero. If you erase sector zero and fill it with zeros or random
characters, you might find that you cannot use the hard drive after erasing
the data. It is for this reason KillDisk creates an empty partition table and
writes a typical MBR in sector zero. This is called disk initialization.
Write Fingerprint
If fingerprint has been written to the first disk’s sector, next time you boot
from this disk, you can see disk erase status, like this:
Comments
If some comments added before erasing, these will be printed at the bottom
of the certificate
Event Logging
By default KillDisk does a Minimal logging. Information is placed in the Event
Log view and saved to the killdisk.log log file. If more detailed information
is required or execution errors occur, you can specify the Detailed logging
option. The problem can then be more effectively analyzed.
Certificate options
These parameters allow display of the erase\wipe certificate and setting of
its storage location as a HTML file for future printing.
These settings allow embedding custom information into the standard HTML certificate
for printing.
These options can be configured in the Free version, but are useable only in the
Professional version.
Logo
You can select a company logo from a graphics file (*.BMP, *.JPG, *.PNG).
The image size must be 450 by 200 pixels to be printed properly. The
company logo will be placed at the top of the certificate and will be
embedded into a HTML file that you can print later on.
Technician Information
You can specify all or some of the fields being displayed on a certificate and
embedded into a HTML file:
Client Name
Technician Name
Company Name
Company Address
Company Phone
Comments
boot priority
BIOS settings allow you to run a boot sequence from a floppy drive, a hard
drive, a CD/DVD-ROM drive or a USB device. You may configure the order
that your computer searches these physical devices for the boot sequence.
The first device in the order list has the first boot priority. For example, to
boot from a CD/DVD-ROM drive instead of a hard drive, place the CD/DVD-
ROM drive ahead of the hard drive in priority.
compressed cluster
When you set a file or folder property to compress data, the file or folder
uses less disk space. While the size of the file is smaller, it must use a whole
cluster in order to exist on the hard drive. As a result, compressed clusters
contain "file slack space". This space may contain residual confidential data
from the file that previously occupied this space. KillDisk can wipe out the
residual data without touching the existing data.
cluster
A logical group of disk sectors, managed by the operating system, for storing
files. Each cluster is assigned a unique number when it is used. The
operating system keeps track of clusters in the hard disk's root records or
MFT records.
free cluster
A cluster that is not occupied by a file. This space may contain residual
confidential data from the file that previously occupied this space. KillDisk
can wipe out the residual data.
ISO
An International Organization for Standardization ISO-9660 file system is a
standard CD-ROM file system that allows you to read the same CD-ROM
whether you're on a PC, Mac, or other major computer platform. Disk images
of ISO-9660 file systems (ISO images) are a common way to electronically
transfer the contents of CD-ROMs. They often have the filename extension
.ISO (though not necessarily), and are commonly referred to as "ISOs".
lost cluster
A cluster that has an assigned number in the file allocation table, even
though it is not assigned to any file. You can free up disk space by
reassigning lost clusters. In DOS and Windows, you can find lost clusters
with the ScanDisk utility.
MFT records
Master File Table. A file that contains the records of every other file and
directory in an NTFS-formatted hard disk drive. The operating system needs
this information to access the files.
root records
File Allocation Table. A file that contains the records of every other file and
directory in a FAT-formatted hard disk drive. The operating system needs
this information to access the files. There are FAT32, FAT16 and FAT
versions.
sector
The smallest unit that can be accessed on a disk. Tracks are concentric
circles around the disk and the sectors are segments within each circle.
unallocated space
Space on a hard disk where no partition exists. A partition may have been
deleted or damaged or a partition may not have been created.