Hardening Active Directory
An Active Directory is rarely designed: it accumulates. Twenty years of one-off delegations, service accounts created to unblock something, and group memberships never reviewed end up drawing paths nobody intended. Here is how we close them.
It is not a flaw, it is an accumulation
In an internal penetration test the scenario repeats itself: an ordinary office workstation, a service account whose password has not changed in years, a forgotten delegation — and domain administration falls within hours. No vulnerability in the classic sense was exploited: only rights that already existed.
The underlying cause is the absence of separation. When a domain administrator opens a session on a user workstation, they leave behind enough to replay their identity. As long as administration tiers are not separated, every office workstation is a way into the directory.
Our role is to rebuild the real map of the paths, then reduce it in stages: separate the tiers, regain control of service accounts, clean up delegations and protect the directory backups — without interrupting operations.
- A short path from an office workstation to domain administration
- Service accounts with high privileges and passwords never changed
- Delegations and inherited rights nobody can justify any more
- Administration carried out from ordinary workstations
- Directory backups reachable from the domain itself
Three tiers, no administration across them
How we proceed
We first map what actually exists, then close the paths in order of severity.
Mapping the paths
A survey of the real control relationships between accounts, groups and machines — the ones that follow from the rights in place, not from the org chart. This is almost always the most revealing step.
Tiering model
Defining the three tiers (directory, servers, workstations), which accounts belong to each, and the sign-in rules that stop an account from descending into the lower tiers.
Service accounts and delegations
Inventory, reduction of privileges to the strict minimum, a move to managed accounts where the application allows it, and removal of delegations that no longer have a justification.
Dedicated admin workstations
Putting in place workstations reserved for administration, isolated from email and the web, the only ones allowed to carry the most sensitive accounts.
Backups and monitoring
Isolating the directory backups outside the domain, a proven restoration procedure, and detection of the behaviour characteristic of an attack on the directory.
Several disciplines, a single point of contact
The subject touches architecture, operations and detection; offensive testing serves both as the starting point and as the validation.
- Map of the attack paths to domain administration
- Documented tiering model and sign-in rules
- Inventory of service accounts and delegations
- Hardening plan prioritised by severity
- Retest to validate the remediation
Frequently asked questions
How many paths lead to your directory?
A map of the attack paths answers that within days, and the answer is almost always a surprise.