
LDAP के माध्यम से AD को सूचीबद्ध करने के लिए सहायक स्क्रिप्ट्स का एक संग्रह बंडल किया गया है।
python -m ade
usage: ade [-h] [--dc DC] [-o OUT_FILE] [-u USER] [-s] [-smb] [-kp] [-bh] [-spn] [-sysvol] [--all] [--no-creds] [--dry-run]
[--exploit EXPLOIT]
___ __ _ ____ _ __ ______
/ | _____/ /_(_) _____ / __ \(_)_______ _____/ /_____ _______ __/ ____/___ __ ______ ___
/ /| |/ ___/ __/ / | / / _ \/ / / / / ___/ _ \/ ___/ __/ __ \/ ___/ / / / __/ / __ \/ / / / __ `__ \
/ ___ / /__/ /_/ /| |/ / __/ /_/ / / / / / __/ /__/ /_/ /_/ / / / /_/ / /___/ / / / /_/ / / / / / /
/_/ |_\___/\__/_/ |___/\___/_____/_/_/ \___/\___/\__/\____/_/ \__, /_____/_/ /_/\__,_/_/ /_/ /_/
/____/
/*----------------------------------------------------------------------------------------------------------*/
optional arguments:
-h, --help show this help message and exit
--dc DC Hostname of the Domain Controller
-o OUT_FILE, --out-file OUT_FILE
Path to output file. If no path, CWD is assumed (default: None)
-u USER, --user USER Username of the domain user to query with. The username has to be domain name as `[email protected]`
-s, --secure Try to estalish connection through LDAPS
-smb, --smb Force enumeration of SMB shares on all computer objects fetched
-kp, --kerberos_preauth
Attempt to gather users that does not require Kerberos preauthentication
-bh, --bloodhound Output data in the format expected by BloodHound
-spn Attempt to get all SPNs and perform Kerberoasting
-sysvol Search sysvol for GPOs with cpassword and decrypt it
--all Run all checks
--no-creds Start without credentials
--dry-run Don't execute a test but run as if. Used for testing params etc.
--exploit EXPLOIT Show path to PoC exploit code
नए एम्बेडेड एक्सप्लॉइट्स के शामिल होने से इस तरह के परिणाम मिल सकते हैं:
...
[ WARN ] DC may be vulnerable to: [ cve-2020-1472 ]
...
PoC कोड के लिए एक्सप्लॉइट क्वेरी करने हेतु:
$ python -m ade --exploit cve-2020-1472
Exploit for: cve-2020-1472 can be found at: https://github.com/dirkjanm/CVE-2020-1472
pip3 के माध्यम से स्थापना चलाएँ:
pip3 install ActiveDirectoryEnum
python -m ade
यदि आप BlackArch चलाते हैं, तो ActiveDirectoryEnum pacman के माध्यम से इस प्रकार उपलब्ध है:
pacman -S activedirectoryenum
हालाँकि यह प्रोजेक्ट मेरी आवश्यकताओं के अनुरूप विकसित किया गया है, किसी भी प्रकार का सहयोग सराहनीय है। कृपया बेझिझक प्रोजेक्ट को फोर्क करें, लाइसेंस समझौतों के अनुसार बदलाव करें और एक पुल रिक्वेस्ट बनाएँ। मैं केवल इतना कहता हूँ कि:
इनके निर्माताओं का बहुत-बहुत धन्यवाद:
Impacket @github
BloodHound @github
BloodHound.py @github
CVE-2020-1472 द्वारा Tom Tervoort of Secura
उपरोक्त के बिना यह रैपर संभव नहीं था।