githubEdit

AD - Post-Compromise Enumeration

ldapdomaindump

➡️ ldapdomaindumparrow-up-right - 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.html

BloodHound

➡️ BloodHoundarrow-up-right - uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment

  • Back to BloodHound interface, import all the json files via Upload data

    • Check interesting data via Node Info and Analysis

BloodHound

PlumHound

➡️ PlumHoundarrow-up-right - BloodHoundAD report engine

PlumHound

PingCastle

➡️ PingCastlearrow-up-right - tool designed to assess quickly the Active Directory security level with a methodology based on risk assessment and a maturity framework

  • Run it from SPIDERMAN VM for example

    • Run a Healthcheck analysis

    • Open the ad_hc_marvel.local.html file and check for the domain risk score and results

PingCastle
PingCastle Report

Extra

Forest Druid

➡️ Forest Druidarrow-up-right - 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

Forest Druid - Semperis.com

Purple Knight

➡️ Purple Knightarrow-up-right - 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

Purple Knight - Semperis.com

Last updated