How to install a Debian Linux Penetration Testing machine?

There are excellent Linux distributions for Cyber Security professionals like Kali. They ship all the the bells and whistles that is needed for the tasks. If we want to learn how to put together our own Penetration Testing system we can use a fresh Debian Linux box. I created a small setup from the NetInstall iso starting from the defaults.

As Cyber Security professionals we must learn how to use, configure and install our tools.

Metasploit Framework

apt install curl
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
msfconsole

https://www.metasploit.com/

Burp Suite

chmod +x burpsuite_community_linux_v2022_11_4.sh
./burpsuite_community_linux_v2022_11_4.sh
Extracting files …
Setup has finished installing Burp Suite Community Edition on your computer.
Finishing installation …

FoxyProxy

https://portswigger.net/burp/communitydownload

Hydra

apt install hydra

John the Ripper

apt install john

Nmap

apt install nmap

Dirb

apt install dirb

Forensics meta package: forensics-all

apt install forensics-all

Other tools

For different tasks we need different tools. Most of them can be installed easily. Some tools are in the package repositories, some of them have installer scripts. Other tools can be checked out from their git repositories and they can be used after a short configuration.

If you have anything to share then please visit my Tom’s IT Cafe Discord Server!

Leave a comment