How To Install medusa on CentOS 8

medusa is Parallel brute forcing password cracker

Introduction

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

What is medusa

Medusa is a speedy, massively parallel, modular, login brute-forcer for network services. Some of the key features of Medusa are * Thread-based parallel testing. Brute-force testing can be performed against multiple hosts, users or passwords concurrently. * Flexible user input. Target information (host/user/password) can be specified in a variety of ways. For example, each item can be either a single entry or a file containing multiple entries. Additionally, a combination file format allows the user to refine their target listing. * Modular design. Each service module exists as an independent .mod file. This means that no modifications are necessary to the core application in order to extend the supported list of services for brute-forcing.

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

Install medusa 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 medusa using dnf by running the following command:

sudo dnf -y install medusa

Install medusa 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 medusa using yum by running the following command:

sudo yum -y install medusa

How To Uninstall medusa on CentOS 8

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

sudo dnf remove medusa

medusa Package Contents on CentOS 8

/usr/bin/medusa
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/d852441024debba57520443d1fb7fd6cd18077
/usr/lib/.build-id/07
/usr/lib/.build-id/07/4968192a43c41f0f963f9cd3c7c04a79e0d202
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/dd8c400de3c7e705348cfbe1b4c809fa36a32b
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/388d5affac4478a393f9c7605d80985d40a428
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/406708a377f1d0583006b05bd960ce54ccaa0c
/usr/lib/.build-id/22
/usr/lib/.build-id/22/96c97287f931d6124df2cb45c056c510450f45
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/143f262ece494eb127ea948121f23c7e2b8420
/usr/lib/.build-id/59
/usr/lib/.build-id/59/429c607afcdba44231151c72f04c572195351f
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/abdbf7f5b87ba3f7d5d32de8e6b82e0bf9f10c
/usr/lib/.build-id/61
/usr/lib/.build-id/61/206dc4d2d9d21713df0dce45e0b06415f0dae1
/usr/lib/.build-id/62
/usr/lib/.build-id/62/222ae05a251e942aa89838accde1e408fc1b26
/usr/lib/.build-id/68
/usr/lib/.build-id/68/db8f1552b9a7aba00b1b257cb2555a4bc81f19
/usr/lib/.build-id/79
/usr/lib/.build-id/79/5d196befb37d262740d145035a51a236f2cb7c
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/1b33d93df10ff246f192311e694ebb045bc09c
/usr/lib/.build-id/88
/usr/lib/.build-id/88/ca642adbcb8c16f35245ac3004b1ebf3dcbbf6
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/74999707b1e3306af2c11bc80b9a217725c545
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/db2ced81c9eed32853144a81327bf4dc6cafe8
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/ce2b2924f02c748cb8c5817407ce9959cceb3e
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/414f79f6b6150408cb3159a3f386f9e2e6ca82
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/537274e946a241f56a91b21a12483df04b8cdf
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/20c7b4e9de14a29e6a6635d08d85826580e184
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/34058e35bbc7cad2d188b7d14c4e416f0bc804
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/b460defd44c3024c2820e40be711b1e71b27f7
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/ed1fc456f01a174549bc57e3ad2b619e59a90a
/usr/lib/.build-id/e1/f5f84005e5e2969bba1175850212023f1a2b7e
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/3bc13b5f85d458dbbb90151d917a48c0b69f6a
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/d07b6db5a83c9e6465ce95e31e5f2e961efb7b
/usr/lib64/medusa
/usr/lib64/medusa/modules
/usr/lib64/medusa/modules/afp.mod
/usr/lib64/medusa/modules/cvs.mod
/usr/lib64/medusa/modules/ftp.mod
/usr/lib64/medusa/modules/http.mod
/usr/lib64/medusa/modules/imap.mod
/usr/lib64/medusa/modules/mssql.mod
/usr/lib64/medusa/modules/mysql.mod
/usr/lib64/medusa/modules/nntp.mod
/usr/lib64/medusa/modules/pcanywhere.mod
/usr/lib64/medusa/modules/pop3.mod
/usr/lib64/medusa/modules/postgres.mod
/usr/lib64/medusa/modules/rdp.mod
/usr/lib64/medusa/modules/rexec.mod
/usr/lib64/medusa/modules/rlogin.mod
/usr/lib64/medusa/modules/rsh.mod
/usr/lib64/medusa/modules/smbnt.mod
/usr/lib64/medusa/modules/smtp-vrfy.mod
/usr/lib64/medusa/modules/smtp.mod
/usr/lib64/medusa/modules/snmp.mod
/usr/lib64/medusa/modules/ssh.mod
/usr/lib64/medusa/modules/svn.mod
/usr/lib64/medusa/modules/telnet.mod
/usr/lib64/medusa/modules/vmauthd.mod
/usr/lib64/medusa/modules/vnc.mod
/usr/lib64/medusa/modules/web-form.mod
/usr/lib64/medusa/modules/wrapper.mod
/usr/share/doc/medusa
/usr/share/doc/medusa/AUTHORS
/usr/share/doc/medusa/COPYING
/usr/share/doc/medusa/ChangeLog
/usr/share/doc/medusa/README
/usr/share/doc/medusa/TODO
/usr/share/man/man1/medusa.1.gz

References

Summary

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