What is Active Directory?
Active Directory (a directory service) and how to keep it safe, told as a story about the roster office that writes every person, room, and key in one ledger.
The castle grew, and now every door keeps its own roster.The cook left last month, but the vault door's roster still has her name. Nobody knows who still holds a key. We need a roster office.
Active Directory is the office that holds every name and every key at once.People, rooms, and keys go in one ledger, and every door asks it. One one-day pass stamped by the office in the morning opens doors all day.
The first thing a thief goes after is the keeper's key.Only one key can rewrite the ledger. Whoever holds it writes himself in as the king, and the whole castle opens. It is the same key as the master key in the vault.
Even without the keeper's key, a pass or the stamp will do.Pick up someone else's pass (a cousin of stealing the wristband), steal the stamp itself and print passes as the king, or copy the whole ledger and walk out with everyone's password prints. Every one carries a real stamp, so no bell rings.
Guard the keeper's key, and the castle holds.The keeper's key lives in the vault, everyone gets only the keys they need, the guard room screen and the gait-watcher read the office log, and we check the ledger's shape for a path from a kitchen key to the vault.
Active Directory = the roster office that writes the castle's people, rooms, and keys in one ledger and lets every door ask it. As handy as it is, the keeper's key, the passes, and the stamp become a thief's first target.
An organization's users, computers, groups, and permissions live in one directory (a domain), authenticated with Kerberos tickets. Domain-admin abuse, pass-the-hash/ticket, golden tickets, and directory dumps are the classic attacks, so it is defended with tiering, least privilege, log monitoring, and attack-path analysis.
When grown-ups say it
- Directory service
- The one ledger. The roster office that writes every person, room, and key in one place. → the castle's roster office
- Domain
- One ledger's castle. The set of doors and people that trust this one ledger. Several castles, several ledgers.
- Domain admin
- The keeper's key. The key that rewrites the ledger. A thief's first target. → the master key in the vault
- Kerberos ticket
- The stamped one-day pass. Get it once in the morning and no door asks again. → the village pass
- Group Policy
- Castle rules written in the ledger. Rules the office sends to every room at once. In a thief's hands, the rules change too. → the castle's rule scroll
- Pass-the-hash / pass-the-ticket
- Picking up someone else's pass. Opening doors with a pass or a password print left lying around. → the thief who steals the wristband
- Golden ticket
- Stealing the stamp itself. With the office stamp, a thief prints passes even as the king. It is not over until the stamp is replaced.
- Tiering model
- The keeper's key stays in the keeper's room. The keeper's key is never used in an ordinary room like the kitchen, so a thief can never pick it up there. → only the keys you need