IEX(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Kahvi-0/ADEnum/refs/heads/main/ADEnum.ps1')
adenum
wget https://raw.githubusercontent.com/Kahvi-0/ADEnum/refs/heads/main/ADEnum.sh && chmod +x ADEnum.sh
Requirements
sudo apt-get install -y krb5-user libsasl2-modules-gssapi-mit
ADEnum.sh [-u domain\user] [-p password] [-d domain] [-t dc] [-v LDAP/LDAPS] [-l LDAP port]
Required Options:
-u Username - Format (Shortform for domain): lab\Admin
-p Password
-d Domain - Format: test.lab
-t Domain controller - Format: dc1, 10.10.10.1, dc1.lab.local
Optinal Options:
-l LDAP port
-v LDAP type - LDAP or LDAPS
-k Use Kerberos authenticaiton
#Example
./ADEnum.sh -u "LAB\Administrator" -p Password123 -d lab.local -t dc2
ADWebServiceDiscovery.sh ./scope.txt
Example:
sudo python3 ./cobrasneeze.py --iface eth0 --keywords lab.local,.domain,.mdns,.netbios-dgm
Windows - ensure that nmap is installed (may need to change the location in the script)
vulnscan.ps1 scope.txt
Linux
sudo vulnscan.sh scope.txt
Automated enumeration of possible password policy locations
Linux
distingushed name can be found in bloodhound
https://raw.githubusercontent.com/Kahvi-0/ADEnum/main/passpull.sh && chmod +x passpull.sh
Usage
passpull.sh [user] [password] [dc list] [domain.local] [distingushed name]
Example
passpull.sh CoffeeLover 'p@ssword123' ./dcs.txt domain.local "CN=PENTEST,OU=USERS,OU=test,DC=lab,DC=LOCAL"
Inspired by: https://practicalsecurityanalytics.com/extracting-credentials-from-windows-logs/
Will Search through Windows 4688 events. This will only work if the client has enabled logging. The script will check for the regestry key.
IEX(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Kahvi-0/ADEnum/main/logharvest.ps1')
More reading:

