The gradual divergence of an identity environment from its intended security state. In Active Directory, drift can appear as permissive policies, undocumented accounts, stale privileges, or overlooked protocol settings that slowly reopen attack paths after hardening work is complete.
Expanded Definition
Directory drift is the slow, operationally normal way an identity directory becomes less secure than its intended design. In Active Directory and adjacent identity systems, drift can include permissive group memberships, orphaned service accounts, stale delegated rights, legacy authentication settings, and policy exceptions that were temporary but never removed. Unlike a single misconfiguration, drift is cumulative: each change may look harmless, but the combined effect reopens paths that hardening work had previously closed.
In NHI security, the term matters because non-human identities often inherit access from directory structures that were built for humans, then extended for automation without the same review discipline. Definitions vary across vendors, but the operational meaning is consistent: the directory state no longer matches the approved security baseline. The most common misapplication is treating drift as a one-time cleanup task, which occurs when teams focus on patching a visible finding instead of continuously reconciling directory intent against live entitlements.
For a broader control context, the NIST Cybersecurity Framework 2.0 provides a useful governance lens for continuous monitoring and access control.
Examples and Use Cases
Implementing directory hygiene rigorously often introduces review overhead, requiring organisations to balance faster provisioning against the cost of continuous validation and entitlement cleanup.
- An application team adds a temporary domain admin group for a migration, then never removes it after the project closes.
- A service account keeps inherited rights from a parent OU even after the application it supports is retired.
- A conditional access or legacy protocol exception remains active because no one owns its periodic review.
- Discovery tooling finds undocumented accounts created for testing that still authenticate in production.
- After an incident, investigators trace persistence to stale directory privileges that were never re-baselined.
Directory drift is especially visible when access paths accumulate faster than review processes can collapse them. That is why case studies such as the Salesloft OAuth token breach are useful: they show how neglected identity hygiene can turn a small access gap into broader exposure. The same pattern applies when directories are allowed to evolve through exceptions rather than policy.
Why It Matters in NHI Security
Directory drift is dangerous because NHI programs depend on stable identity boundaries. If the directory quietly expands privileges, service accounts and automation can retain access long after the business reason disappears. That weakens least privilege, complicates audits, and makes Zero Trust decisions unreliable because the trust map no longer reflects reality.
The scale of the problem is not theoretical. NHI Mgmt Group reports that only 5.7% of organisations have full visibility into their service accounts, which means most teams cannot easily see where drift has accumulated. The same source notes that 97% of NHIs carry excessive privileges, a condition that turns directory drift into an access-amplification problem rather than a simple housekeeping issue. In practice, drifting directories also make offboarding unreliable, because revoked access in one system can be silently reintroduced through inherited groups, nested roles, or forgotten automation paths.
Organisations typically encounter the operational cost of directory drift only after an audit failure, privilege abuse, or incident investigation, at which point the directory becomes operationally unavoidable to address.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Directory drift drives NHI sprawl, stale access, and unmanaged identity state. |
| NIST CSF 2.0 | PR.AC | Access control and continuous monitoring are the core defenses against directory drift. |
| NIST Zero Trust (SP 800-207) | 3.3 | Zero Trust requires up-to-date identity state before access decisions are trusted. |
Continuously reconcile non-human identities, memberships, and inherited permissions to the approved baseline.
Related resources from NHI Mgmt Group
- Why do Active Directory service accounts complicate zero trust programs?
- How should security teams govern Active Directory service accounts?
- What is the difference between direct access and effective access in Active Directory?
- How should security teams think about a compromised integration like Drift?