AD - Post-Compromise Enumeration
ldapdomaindump
โก๏ธ ldapdomaindump - Active Directory information dumper via LDAP account
value targets
domain users
other types of access
descriptions
Domain Admins, Enterprise Admins, Computers, etc
mkdir -p ~/tcm/peh/ad-attacks/marvel.local
cd ~/tcm/peh/ad-attacks/marvel.local
sudo pip install -U ldap3
sudo pip install pycryptodome
sudo ldapdomaindump ldaps://hydra-dc.MARVEL.local -u 'MARVEL\fcastle' -p Password1
# Dumped files
domain_computers.grep
domain_computers.html
domain_computers.json
domain_computers_by_os.html
domain_groups.grep
domain_groups.html
domain_groups.json
domain_policy.grep
domain_policy.html
domain_policy.json
domain_trusts.grep
domain_trusts.html
domain_trusts.json
domain_users.grep
domain_users.html
domain_users.json
domain_users_by_group.htmlBloodHound
โก๏ธ BloodHound - uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment
Open the link http://localhost:7474/ and setup with user
neo4j:neo4jbhRun BloodHound and login with
neo4juserCollect the data by using an ingestor
Back to BloodHound interface, import all the
jsonfiles viaUpload dataCheck interesting data via Node Info and Analysis


PlumHound
โก๏ธ PlumHound - BloodHoundAD report engine

PingCastle
โก๏ธ PingCastle - tool designed to assess quickly the Active Directory security level with a methodology based on risk assessment and a maturity framework
Run it from
SPIDERMANVM for exampleRun a Healthcheck analysis
Open the
ad_hc_marvel.local.htmlfile and check for the domain risk score and results


Extra
Forest Druid
โก๏ธ Forest Druid - free attack path discovery tool, natively compatible with Active Directory, that helps cybersecurity defensive teams quickly prioritize high-risk misconfigurations that could represent opportunities for attackers to gain privileged domain access

Purple Knight
โก๏ธ Purple Knight - standalone utility that queries the Active Directory and Entra ID environment and performs a set of tests against many aspects of Active Directoryโs security posture, including AD delegation, account security, AD infrastructure security, Group Policy security, and Kerberos security

Last updated
Was this helpful?