Active Directory red teaming
Meant for after the OSCP or alongside CRTP, CRTO or CPTS. Each stage adds a family of attacks and practises it on boxes where it is the main path.
- Level
- You can already escalate on Windows and have seen Kerberos
- Rough duration
- 8-10 weeks at about 10 h a week
- By the end you will
- Read a BloodHound graph and chain ACLs, certificates and delegation to Domain Admin without relying on a single trick.
Continue with the next step → Path completed! Well done.
-
Stage 1 Basics: enumerate the domain 0/8
Have a fixed routine with and without credentials, and know what to look for in BloodHound.
-
Checklist Active Directory
-
No credentials, password spraying and BloodHound step by step.
-
Cheat sheet Active Directory in depth › BloodHound
-
Technique Domain LDAP/RPC enumeration
Pick one or two machines from this technique's list.
-
-
-
-
-
Stage 2 Credentials and Kerberos 0/9
Obtain and reuse credentials: roasting, spraying, LDAP attributes and secrets in files.
-
Technique Kerberoasting
Pick one or two machines from this technique's list.
-
Technique AS-REP roasting
Pick one or two machines from this technique's list.
-
Technique Password spraying and valid users
Pick one or two machines from this technique's list.
-
A password in an LDAP attribute and the AD Recycle Bin.
-
Spraying a leaked password and the DnsAdmins group.
-
-
-
Stage 3 ACLs, delegation and shadow credentials 0/11
Abuse object permissions and Kerberos delegation (RBCD included).
-
What to do with each BloodHound edge.
-
Cheat sheet Active Directory in depth › Delegation
-
Technique ACL abuse (BloodHound)
Pick one or two machines from this technique's list.
-
Technique Kerberos delegation (RBCD)
Pick one or two machines from this technique's list.
-
Technique Shadow Credentials
Pick one or two machines from this technique's list.
-
A textbook ACL chain to DCSync.
-
RBCD from a group with GenericAll over the DC.
-
gMSA and constrained delegation.
-
-
-
-
Stage 4 Certificates (ADCS) 0/7
Spot and exploit vulnerable ADCS templates and settings with Certipy.
-
Cheat sheet Active Directory in depth › ADCS (ESC1–16)
-
From ESC1 to ESC16 with Certipy 5.
-
Technique ADCS (certificates)
Pick one or two machines from this technique's list.
-
ESC1 after capturing a hash from MSSQL.
-
-
-
-
-
Stage 5 Relay and coercion 0/6
Understand when NTLM can be relayed and how to coerce authentications.
-
Cheat sheet Active Directory in depth › NTLM relay
-
Technique NTLM capture and relay
Pick one or two machines from this technique's list.
-
Technique MSSQL abuse
Pick one or two machines from this technique's list.
-
Force an authentication to your box from MSSQL.
-
-
Stage 6 Lateral movement, C2 and evasion 0/11
Move between hosts, dump credentials and understand what detects you and why.
-
Cheat sheet Impacket / NetExec builder
-
Cheat sheet C2 and post-exploitation
-
Cheat sheet Evasion explained: AMSI, ETW and AppLocker
-
How detection works (AMSI, ETW, hooks, AppLocker) before you try to get around it.
-
Technique SAM/LSA/LSASS dumping
Pick one or two machines from this technique's list.
-
Technique AV and EDR evasion
Pick one or two machines from this technique's list.
-
Technique AppLocker and Constrained Language Mode
Pick one or two machines from this technique's list.
-
LSASS dump and SeBackupPrivilege to read NTDS.dit.
-
Kerberos only (no NTLM) and a silver ticket.
-
Stage 7 Full domains and trusts 0/5
Long boxes mixing everything above, like a real red team exercise.
-
Technique Domain and forest trusts
Pick one or two machines from this technique's list.
-
Technique DCSync
Pick one or two machines from this technique's list.
-
-
-
-