How To Install dc3dd on CentOS 8

dc3dd is Patched version of GNU dd for use in computer forensics

Introduction

In this tutorial we learn how to install dc3dd on CentOS 8.

What is dc3dd

dc3dd is a patched version of GNU dd to include a number of features useful for computer forensics. Many of these features were inspired by dcfldd, but were rewritten for dc3dd. * Pattern writes. The program can write a single hexadecimal value or a text string to the output device for wiping purposes. * Piecewise and overall hashing with multiple algorithms and variable size windows. Supports MD5, SHA-1, SHA-256, and SHA-512. Hashes can be computed before or after conversions are made. * Progress meter with automatic input/output file size probing * Combined log for hashes and errors * Error grouping. Produces one error message for identical sequential errors * Verify mode. Able to repeat any transformations done to the input file and compare it to an output. * Ability to split the output into chunks with numerical or alphabetic extensions

We can use yum or dnf to install dc3dd on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dc3dd.

Install dc3dd on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dc3dd using dnf by running the following command:

sudo dnf -y install dc3dd

Install dc3dd on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dc3dd using yum by running the following command:

sudo yum -y install dc3dd

How To Uninstall dc3dd on CentOS 8

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

sudo dnf remove dc3dd

dc3dd Package Contents on CentOS 8

/usr/bin/dc3dd
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/488ec8b6666a75fb5e724023fc5a4a278932ba
/usr/share/doc/dc3dd
/usr/share/doc/dc3dd/ABOUT-NLS
/usr/share/doc/dc3dd/AUTHORS
/usr/share/doc/dc3dd/ChangeLog
/usr/share/doc/dc3dd/NEWS
/usr/share/doc/dc3dd/Options_Reference.txt
/usr/share/doc/dc3dd/README
/usr/share/doc/dc3dd/README.coreutils
/usr/share/doc/dc3dd/Sample_Commands.txt
/usr/share/doc/dc3dd/THANKS
/usr/share/doc/dc3dd/THANKS-to-translators
/usr/share/doc/dc3dd/TODO
/usr/share/licenses/dc3dd
/usr/share/licenses/dc3dd/COPYING
/usr/share/locale/af/LC_MESSAGES/dc3dd.mo
/usr/share/locale/af/LC_TIME/dc3dd.mo
/usr/share/locale/be/LC_MESSAGES/dc3dd.mo
/usr/share/locale/be/LC_TIME/dc3dd.mo
/usr/share/locale/bg/LC_MESSAGES/dc3dd.mo
/usr/share/locale/bg/LC_TIME/dc3dd.mo
/usr/share/locale/ca/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ca/LC_TIME/dc3dd.mo
/usr/share/locale/cs/LC_MESSAGES/dc3dd.mo
/usr/share/locale/cs/LC_TIME/dc3dd.mo
/usr/share/locale/da/LC_MESSAGES/dc3dd.mo
/usr/share/locale/da/LC_TIME/dc3dd.mo
/usr/share/locale/de/LC_MESSAGES/dc3dd.mo
/usr/share/locale/de/LC_TIME/dc3dd.mo
/usr/share/locale/el/LC_MESSAGES/dc3dd.mo
/usr/share/locale/el/LC_TIME/dc3dd.mo
/usr/share/locale/es/LC_MESSAGES/dc3dd.mo
/usr/share/locale/es/LC_TIME/dc3dd.mo
/usr/share/locale/et/LC_MESSAGES/dc3dd.mo
/usr/share/locale/et/LC_TIME/dc3dd.mo
/usr/share/locale/eu/LC_MESSAGES/dc3dd.mo
/usr/share/locale/eu/LC_TIME/dc3dd.mo
/usr/share/locale/fi/LC_MESSAGES/dc3dd.mo
/usr/share/locale/fi/LC_TIME/dc3dd.mo
/usr/share/locale/fr/LC_MESSAGES/dc3dd.mo
/usr/share/locale/fr/LC_TIME/dc3dd.mo
/usr/share/locale/ga/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ga/LC_TIME/dc3dd.mo
/usr/share/locale/gl/LC_MESSAGES/dc3dd.mo
/usr/share/locale/gl/LC_TIME/dc3dd.mo
/usr/share/locale/hu/LC_MESSAGES/dc3dd.mo
/usr/share/locale/hu/LC_TIME/dc3dd.mo
/usr/share/locale/it/LC_MESSAGES/dc3dd.mo
/usr/share/locale/it/LC_TIME/dc3dd.mo
/usr/share/locale/ja/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ja/LC_TIME/dc3dd.mo
/usr/share/locale/ko/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ko/LC_TIME/dc3dd.mo
/usr/share/locale/lt/LC_MESSAGES/dc3dd.mo
/usr/share/locale/lt/LC_TIME/dc3dd.mo
/usr/share/locale/ms/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ms/LC_TIME/dc3dd.mo
/usr/share/locale/nb/LC_MESSAGES/dc3dd.mo
/usr/share/locale/nb/LC_TIME/dc3dd.mo
/usr/share/locale/nl/LC_MESSAGES/dc3dd.mo
/usr/share/locale/nl/LC_TIME/dc3dd.mo
/usr/share/locale/pl/LC_MESSAGES/dc3dd.mo
/usr/share/locale/pl/LC_TIME/dc3dd.mo
/usr/share/locale/pt/LC_MESSAGES/dc3dd.mo
/usr/share/locale/pt/LC_TIME/dc3dd.mo
/usr/share/locale/pt_BR/LC_MESSAGES/dc3dd.mo
/usr/share/locale/pt_BR/LC_TIME/dc3dd.mo
/usr/share/locale/ru/LC_MESSAGES/dc3dd.mo
/usr/share/locale/ru/LC_TIME/dc3dd.mo
/usr/share/locale/sk/LC_MESSAGES/dc3dd.mo
/usr/share/locale/sk/LC_TIME/dc3dd.mo
/usr/share/locale/sl/LC_MESSAGES/dc3dd.mo
/usr/share/locale/sl/LC_TIME/dc3dd.mo
/usr/share/locale/sv/LC_MESSAGES/dc3dd.mo
/usr/share/locale/sv/LC_TIME/dc3dd.mo
/usr/share/locale/tr/LC_MESSAGES/dc3dd.mo
/usr/share/locale/tr/LC_TIME/dc3dd.mo
/usr/share/locale/uk/LC_MESSAGES/dc3dd.mo
/usr/share/locale/uk/LC_TIME/dc3dd.mo
/usr/share/locale/vi/LC_MESSAGES/dc3dd.mo
/usr/share/locale/vi/LC_TIME/dc3dd.mo
/usr/share/locale/zh_CN/LC_MESSAGES/dc3dd.mo
/usr/share/locale/zh_CN/LC_TIME/dc3dd.mo
/usr/share/locale/zh_TW/LC_MESSAGES/dc3dd.mo
/usr/share/locale/zh_TW/LC_TIME/dc3dd.mo
/usr/share/man/man1/dc3dd.1.gz

References

Summary

In this tutorial we learn how to install dc3dd on CentOS 8 using yum and dnf.