To access material, start machines and answer questions login.
Active Directory is built on a simple assumption: that anything speaking to a Domain Controller as a Domain Controller really is one. This room covers the two attacks that break that assumption, and how you detect each one.
Image created with imgflip.
impersonates a Domain Controller to ask for the domain's password hashes. DCShadow impersonates one to write changes into the directory that the directory never records. You will work through how each attack is carried out, what evidence it leaves, and how to investigate it as the responding analyst.
Everything you do here is defensive. You will read logs, query the directory, and reconstruct what happened, but you will not run either attack yourself.
Learning objectives
After completing this room, you will be able to:
- Explain how DCSync pulls password hashes out of Active Directory, and how DCShadow pushes changes back in, using the same replication protocol in opposite directions.
- Verify whether a domain is even capable of recording either attack, and recognize the audit settings that are off by default.
- Detect DCSync from event 4662 and trace it back to the host that made the request.
- Detect DCShadow from the rogue Domain Controller the attacker had to build.
- Contain and remediate a replication rights compromise, and apply controls that reduce who can perform either attack.
Prerequisites
Before starting, you should be comfortable with:
- Active Directory fundamentals.
- authentication and ticket structure (the Attacking Kerberos room)
- Credential dumping concepts, particularly
NTDS.dit, hashes, and the account
Read the above and click Check.
Ready to learn Cyber Security?
The DCSync and DCShadow Attacks Detection room is only available for Premium or Max subscribers. Signup now to access more than 500 free rooms and learn cyber security through a fun, interactive learning environment.
Already have an account? Log in
