Join our Newsletter — 33% off our NHI Course
Home› Glossary› Threats, Abuse & Incident Response› Active Directory Database (NTDS.dit)
Threats, Abuse & Incident Response

Active Directory Database (NTDS.dit)

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Threats, Abuse & Incident Response

The Active Directory Database (NTDS.dit) is the file on a domain controller that stores directory data, including password hashes for every domain account. Attackers with sufficient access copy it, often via shadow copies or ntdsutil, and crack or reuse the hashes offline. Restrict domain controller access, protect backups, and alert on such copying.

What NTDS.dit Contains and Why It Matters

NTDS.dit is the Active Directory database on a domain controller, so compromise of the file is not just data theft, it is often broad authentication compromise. Because it holds password hashes and other directory state, attackers who obtain it can work offline, outside normal monitoring, and use the results to impersonate users or move deeper into the environment.

The core security issue is that NTDS.dit is protected by the same trust boundary as the domain controller itself. If an attacker can copy the database through backup abuse, shadow copies, or administrative utilities, they do not need to “log in” again to keep extracting value from the data. That makes the database a high-value target in incidents involving domain takeover, ransomware, and post-exploitation credential harvesting.

Common Paths to Theft and Offline Abuse

Attackers typically go after NTDS.dit after they have already reached privileged access on a domain controller or obtained rights that let them read volume snapshots and backup data. The file is often taken from shadow copies or system-state material, then processed offline to recover password hashes. This is why the problem sits at the intersection of access control, backup protection, and credential compromise.

Offline abuse matters because it breaks the defender’s usual visibility model. Once the file leaves the domain controller, defenders may see only the copy operation, not the later cracking or replay of credentials. Credential Dumping Guide covers the main techniques used to extract NTDS.dit and related secrets, including shadow-copy abuse and tool-based dumping.

In practice, NTDS.dit theft is often a stepping-stone to wider directory compromise. If a high-value account such as a domain admin, service account, or krbtgt-related secret is exposed, the blast radius can include lateral movement, persistent access, and forged authentication material that outlives the original intrusion.

How Organisations Check Exposure and Reduce the Attack Surface

Exposure checks should start with asset inventory and privilege review: which hosts are domain controllers, who can access them, and which accounts can read or create backup material. Backup design matters because the same mechanisms that support recovery can also expose directory data if backup sets, snapshots, or restore tooling are not tightly controlled.

Detection and hardening should also focus on the specific techniques attackers use against the file. MITRE ATT&CK T1006 Direct Volume Access is relevant because it maps the shadow-copy and raw-volume patterns often used to reach NTDS.dit without normal file access. Active Directory and Entra ID Hardening Guide is also useful for understanding tiering, privileged groups, and the controls that reduce the chance that a single compromise reaches directory data.

When a domain controller is exposed, the question is not only whether the file can be copied, but whether the environment allows that copy to happen unnoticed. Monitoring for backup-right abuse, volume snapshot creation, and suspicious use of utilities on tier-zero systems gives defenders a better chance of seeing the attack before hashes are taken offline.

Recovery, Detection, and Identity Impact After Compromise

After suspected NTDS.dit theft, organisations should assume credential exposure until proven otherwise. That usually means reviewing which accounts were present in the database, which passwords or hashes may now be crackable, and which sessions or trust relationships could still be abused even after the original access is removed. Active Directory Domain Compromise Response Playbook is a practical reference for triage, containment, krbtgt reset strategy, and trust recovery.

Detection should include both the theft path and the post-theft consequences. The copy operation may show up as raw volume access, shadow-copy creation, or suspicious backup activity, while later compromise may surface as abnormal authentication, lateral movement, or access from accounts that should no longer be trusted. T1003 OS Credential Dumping provides the broader detection context for credential theft, including NTDS.dit, LSASS, and DCSync patterns.

Identity impact is often the most important consequence. Password hashes, service accounts, and krbtgt-related material may need rotation or reset, and any active sessions, tokens, or trust paths linked to the compromise should be reviewed as part of containment. D3-CCSA Credential Compromise Scope Analysis helps narrow which credentials and identities were actually exposed, so responders do not under- or over-react during recovery.

Risk and Threat Considerations

NTDS.dit is dangerous because it turns one successful domain-controller compromise into a potentially large offline credential event. Once attackers have the database, they can work quietly, crack hashes outside the network, and reuse the results long after the original access path is closed.

Failure mechanism: The main failure mode is privileged access to a domain controller combined with weak control over backup, snapshot, or volume-access paths. That lets an attacker copy the database without triggering the same controls that protect interactive logons.

Impact: The impact can include domain-wide credential exposure, faster lateral movement, persistent unauthorized access, and expensive rebuild or reset work across privileged accounts and trust relationships.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1003 — OS Credential DumpingNTDS.dit theft is a credential-dumping path on domain controllers
T1006 — Direct Volume AccessShadow-copy and raw-volume reads are common ways to reach NTDS.dit
Recommendation — Map NTDS.dit access to T1003 analytics and hunt for credential dumping, shadow copies, and DCSync activity. Monitor raw volume access and shadow-copy abuse on domain controllers to stop NTDS.dit staging.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe file stores hashes that represent authenticators and must be protected through lifecycle controls
AC-6 — Least PrivilegeOnly tightly scoped roles should be able to access domain-controller backup and snapshot paths
AU-6 — Audit Review, Analysis, and ReportingCopy attempts and backup abuse require reviewable audit signals for detection
Recommendation — Rotate exposed credentials and enforce secure authenticator lifecycle handling after suspected NTDS.dit theft. Restrict backup, snapshot, and domain-controller access to the minimum set of privileged roles. Review audit events for shadow-copy creation, backup misuse, and suspicious reads from tier-zero systems.

Practitioner Guidance

Why practitioners should care: Treat NTDS.dit as a tier-zero asset, not a routine database file. The right operational question is whether any account, tool, backup path, or admin workflow can reach it in a way that would let an attacker export hashes or directory state.

What to watch for: Watch for shadow-copy creation, raw-volume reads, suspicious backup use, and unexpected access to domain-controller system state. Those are often the earliest indicators that an intruder is trying to stage NTDS.dit for offline use.

Practitioner takeaway: If NTDS.dit may have been exposed, response should move from containment to identity recovery quickly, because the hidden damage is usually in the credentials that can be reused elsewhere.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org