How To Install dcfldd on Kali Linux

In this tutorial we learn how to install dcfldd on Kali Linux. dcfldd is enhanced version of dd for forensics and security

Introduction

In this tutorial we learn how to install dcfldd on Kali Linux.

What is dcfldd

dcfldd is:

dcfldd was initially developed at Department of Defense Computer Forensics Lab (DCFL). This tool is based on the dd program with the following additional features:

  • Hashing on-the-fly: dcfldd can hash the input data as it is being transferred, helping to ensure data integrity.
  • Status output: dcfldd can update the user of its progress in terms of the amount of data transferred and how much longer operation will take.
  • Flexible disk wipes: dcfldd can be used to wipe disks quickly and with a known pattern if desired.
  • Image/wipe verify: dcfldd can verify that a target drive is a bit-for-bit match of the specified input file or pattern.
  • Multiple outputs: dcfldd can output to multiple files or disks at the same time.
  • Split output: dcfldd can split output to multiple files with more configurability than the split command.
  • Piped output and logs: dcfldd can send all its log data and output to commands as well as files natively.
  • When dd uses a default block size (bs, ibs, obs) of 512 bytes, dcfldd uses 32768 bytes (32 KiB) which is HUGELY more efficient.
  • The following options are present in dcfldd but not in dd: ALGORITHMlog:, errlog, hash, hashconv, hashformat, hashlog, hashlog:, hashwindow, limit, of:, pattern, sizeprobe, split, splitformat, statusinterval, textpattern, totalhashformat, verifylog, verifylog:, vf.

There are three methods to install dcfldd on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dcfldd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dcfldd using apt-get by running the following command:

sudo apt-get -y install dcfldd

Install dcfldd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dcfldd using apt by running the following command:

sudo apt -y install dcfldd

Install dcfldd Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dcfldd using aptitude by running the following command:

sudo aptitude -y install dcfldd

How To Uninstall dcfldd on Kali Linux

To uninstall only the dcfldd package we can use the following command:

sudo apt-get remove dcfldd

Uninstall dcfldd And Its Dependencies

To uninstall dcfldd and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove dcfldd

Remove dcfldd Configurations and Data

To remove dcfldd configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge dcfldd

Remove dcfldd configuration, data, and all of its dependencies

We can use the following command to remove dcfldd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dcfldd

Dependencies

dcfldd have the following dependencies:

References

Summary

In this tutorial we learn how to install dcfldd package on Kali Linux using different package management tools: apt, apt-get and aptitude.