Table of Contents
When to use which tool?
As a rule of thumb, this is how I use my tools:
Hydra - General use BFer, pretty fast but be very careful for false-positives and true-negatives.
Works with: FTP, HTTP(S), HTTP-Proxy, SMB, SMBNT, MS-SQL, MySQL, PostgreSQL, RDP, SSH, Telnet, VNC, and more
Syntax: hydra -L users.txt -P /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt smb://10.129.95.210/
Medusa - Similarly to Hydra, very general use, a bit slower but more modular. I had more trust in it than Hydra
Works with: AFP, CVS, FTP, HTTP, IMAP, MS-SQL, MySQL, NCP, NNTP, POP3, PostgreSQL, RDP, SMB, SMTP, SSH, Telnet, VMware, VNC, and more
gobuster - Fast tool for directories, subdomains bruteforcing
Works with: directories and files on web servers and DNS subdomains
dirbuster - Used it maybe a couple of times, could be considered as a secondary if gobuster doesn’t work
Works with: Directories and files on web servers
ffuf - Amazing fuzzing tool for directories, parameters and headers. I usually consider to use it after initial gobuster enumeration
Works with: HTTP(S), WebSockets
BurpSuite - Very slow but each and intuitive BF tool (free version)
Works with: HTTP(S), WebSockets
Crackmapexec - It also has a simple brute forcing capabilities. I remember I had some incorrect hits with it - same as with Hydra - so be careful
Works with: SMB, RDP, WinRM, MSSQL, LDAP, SSH
kerbrute - If I need to find valid usernames in an AD domain and I have no other way
Works with: User enumeration, password spray and BF
Hashcat - I use it as my main way to password cracking
JackTheReaper - Has a ton of small XYZ2John modules which allow for an array for database, file and niche password cracking
linkedin2username - Use it for scraping linkedin of a company for a quick username list. Generates usernames in formats like first.last, flast, firstl, and first.
cupp - Use it when you want to generate a password list based on some basic information about the target
username-anarchy - Useful if I try to get a ton of variants of the taget’s username
Useful hashcat methods
Here are hashcat methods that I used time and time again. A full list of hashcat methods can be found here.
500 - Crack MD5 hashes
1000 - Crack NTLM hashes
1800 - Crack SHA512 hashes
5600 - Crack NTLMv2 hashes
7300 - Crack IPMI hashes
13100 - Crack TGS (RC4) hashes
13400 - Crack KeePass hashes
18200 - Crack TGT (RC4) hashes
19700 - Crack TGS (AES256) hashes
22100 - Crack BitLocker hashes
JohnTheReaper modules
Here’s a list of XYZ2John modules I know of.
bitlocker2john
dmg2john
gpg2john
hccap2john
keepass2john
putty2john
racf2john
rar2john
uaf2john
vncpcap2john
wlanhcx2john
wpapcap2john
zip2john
1password2john.py
7z2john.pl
DPAPImk2john.py
adxcsouf2john.py
aem2john.py
aix2john.pl
aix2john.py
andotp2john.py
androidbackup2john.py
Useful wordlists
rockyou.txt - /usr/share/wordlists/rockyou.txt.gz
Multiple SecLists:
/opt/useful/SecLists//opt/useful/SecLists/Discovery/Web-Content/directory-list-2.3-small.txt
gobuster -/usr/share/wordlists/gobuster/
dirbuster -/usr/share/wordlists/dirbuster/dirbuster-wordlist.txt.gz
There were wordlists like “Xenon” (xato?) or something like that which were also great.
And many more I don’t recall now but used a lot.
In a pinch we could also use CeWL to create our own wordlists.