Observed since 20 Oct, 18:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ActiveDirectoryEnum
Enumerate Active Directory with standard vectors
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 `user@domain.org`
-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
The new inclusion of imbedded exploits can yield results such as:
...
[ WARN ] DC may be vulnerable to: [ cve-2020-1472 ]
...
To query an exploit do for PoC code:
$ python -m ade --exploit cve-2020-1472
Exploit for: cve-2020-1472 can be found at: https://github.com/dirkjanm/CVE-2020-1472
Run installation through pip3:
pip3 install ActiveDirectoryEnum
python -m ade
If you run BlackArch, ActiveDirectoryEnum is available through pacman as such:
pacman -S activedirectoryenum
While this project is developed to fit my need, any collaboration is appriciated. Please feel free to fork the project, make changes according to the License agreements and make a Pull Request. I only ask that:
Big thanks to the creators of:
Impacket @github
BloodHound @github
BloodHound.py @github
CVE-2020-1472 by Tom Tervoort of Secura
Without the above this wrapper was not possible.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
cffiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | cffi (==1.14.2) | runtime |
ClickEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | Click (==7.1.2) | runtime |
cryptographyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | cryptography (==3.1) | runtime |
dnspythonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | dnspython (==1.16.0) | runtime |
FlaskEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | Flask (==1.1.2) | runtime |
futureEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | future (==0.18.2) | runtime |
impacketEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | impacket (==0.9.21) | runtime |
itsdangerousEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | itsdangerous (==1.1.0) | runtime |
Jinja2Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | Jinja2 (==2.11.2) | runtime |
ldap3Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | ldap3 (==2.8.1) | runtime |
ldapdomaindumpEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | ldapdomaindump (==0.9.3) | runtime |
MarkupSafeEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | MarkupSafe (==1.1.1) | runtime |
progressbarEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | progressbar (==2.5) | runtime |
pyasn1Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | pyasn1 (==0.4.8) | runtime |
pycparserEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | pycparser (==2.20) | runtime |
pycryptodomexEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | pycryptodomex (==3.9.8) | runtime |
pyOpenSSLEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | pyOpenSSL (==19.1.0) | runtime |
sixEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | six (==1.15.0) | runtime |
termcolorEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | termcolor (==1.1.0) | runtime |
WerkzeugEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | Werkzeug (==1.0.1) | runtime |
bloodhoundEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.4",
"evaluation": "NOT_EVALUATED"
} | bloodhound (==1.0.5) | runtime |
bdist_wheel · 85.95 KB · Python py3
sdist · 16.73 KB · Python source
Shared repository data · GitHub
Observed since 20 Oct, 18:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:2f5c49e9f10ad5f588cb7505d78a577ad080b6406d89f23b54584ecaee0d6de1