A stolen copy of NTDS.dit gives an attacker the password hash of every account in the domain, including krbtgt, and it can be taken from places no domain controller alert will ever see. MITRE ATT&CK tracks this as NTDS (T1003.003), a sub-technique of OS Credential Dumping. This page covers what is specific to it: the copy paths ATT&CK and government advisories record, including virtual disk and backup theft, the telemetry each leaves on and off the domain controller, how to tune the official detection, and why confirmed NTDS theft is a whole-domain response. It is for detection engineers, Active Directory owners and incident responders. Domain controller hardening and LSASS protection are covered in the AD Domain Controller Hardening Guide and the Credential Dumping Guide and are not repeated. No attack procedures are included.
Key takeaways
- The database is not only on the DC. ATT&CK explicitly includes backups, and recorded intrusions took NTDS.dit from virtual domain controller disks and mounted virtual hard disk backups.
- Off-DC copies leave no DC telemetry. Storage, backup and hypervisor administrators can reach the same data, so those platforms are part of tier zero.
- ESENT application events outlast security logs. CISA and partners point defenders to ESENT events 216, 325, 326, 327 and 637 as signs of the database being copied or mounted.
- Theft is often repeated. The Volt Typhoon advisory describes NTDS.dit taken from the same victims several times over years to keep credentials current.
- Confirmed theft means full domain response. Every domain password, local built-in accounts and krbtgt, reset twice, are in scope.
What ATT&CK v20 records for T1003.003
ATT&CK describes NTDS as adversaries attempting "to access or create a copy of the Active Directory domain database in order to steal credential information", noting the default location %SystemRoot%\NTDS\Ntds.dit and that adversaries "may search for backups that contain the same or similar information". The database also reveals devices, users and access rights, so a stolen copy supports discovery as well as credential theft. The v20 dataset links 18 groups, 5 campaigns and 4 tools to it, with four mitigations.
| Copy path | ATT&CK v20 procedure examples | Where the evidence lives |
|---|---|---|
| Volume shadow copy of the DC system volume, then copy of the locked file | Wizard Spider (G0102); Volt Typhoon (G1017), per CISA advisory AA24-038A | Domain controller: VSS, process creation, ESENT application log |
| ntdsutil creating installation media (IFM) | Volt Typhoon (G1017); LAPSUS$ (G1004) | Domain controller: process creation, ESENT events, new folder with Ntds.dit and the SYSTEM hive |
| Shadow copies of virtual DC disks | Scattered Spider (G1015) | Hypervisor and storage platform, not the DC |
| Mounting virtual hard disk backups | Cutting Edge campaign (C0029) | Backup and file servers, not the DC |
| Remote extraction with tooling | Impacket (S0357), CrackMapExec (S0488), esentutl (S0404), Koadic (S0250) | Domain controller: network logon, remote service or execution events, then the same file artefacts |
NTDS differs from DCSync (T1003.006), which requests hashes over the replication protocol and leaves no file copy; see How to Find Accounts With DCSync Rights for that path. Hashes from either feed Golden Ticket forgery (T1558.001), covered in the Golden Ticket, Silver Ticket and DCSync Guide.
Telemetry on the domain controller
The ATT&CK v20 detection strategy ("Detection of NTDS.dit Credential Dumping from Domain Controllers") watches for shadow copy creation, suspicious access to Ntds.dit and use of ntdsutil.exe or volume management APIs. It names Security 4688, Sysmon 2 and 11 and Volume Shadow Copy creation as sources. The Volt Typhoon advisory adds the ESENT and session logs below.
| Event or source | What it shows | Why it matters |
|---|---|---|
| Security 4688 / Sysmon 1 | ntdsutil.exe, vssadmin.exe, wmic.exe, esentutl.exe or diskshadow-style volume tools starting on a DC, with command line | Primary process signal; needs command line auditing enabled |
| Volume Shadow Copy creation (VSS) | A snapshot of the volume holding the database | Expected from scheduled backups only; anything else on a DC is suspicious |
| Sysmon 11 FileCreate and Sysmon 2 | A file named ntds.dit, or a copied SYSTEM hive, outside %SystemRoot%\NTDS | The copy itself; watch temp, public and staging folders |
| ESENT events 216, 325, 326, 327, 637 (Application log) | Database relocated, created, attached or detached, including from a shadow copy | CISA notes application logs persist longer than security logs |
| Security 1102 | Security log cleared | CISA says it should always be investigated |
| TerminalServices events 21 to 25 | RDP logon, session start, logoff, disconnect and reconnect on the DC | Volt Typhoon reached DCs over RDP with a domain admin account |
| Archive creation and outbound transfer | Compressed staging of the copied files | The advisory describes a renamed archive utility used before exfiltration |
Map these into your event pipeline alongside the baseline in the Active Directory Security Monitoring and Event IDs Guide.
Tuning the detection
The ATT&CK strategy exposes four tunable elements. Each one maps to a decision your AD and backup teams need to document, because backup activity is the main source of false positives.
- TargetFilePath: set to the real database and log paths if your DCs use custom storage, and add any approved backup staging paths so that copies elsewhere stand out.
- ParentProcessName: suppress the signed backup agent that legitimately creates snapshots, by full path, and only on the schedule it runs.
- TimeWindow: ATT&CK gives 5 minutes between shadow copy creation and NTDS file access as an example; a human operator working by RDP may be slower, so keep a longer hunting window too.
- UserContext: list the accounts expected to run ntdsutil or create snapshots (often none outside DC builds and recovery tests), and alert on anything else.
Severity rules: any ntdsutil IFM creation outside an approved change, any snapshot not created by the backup service, and any file named ntds.dit outside its normal folder should page someone. The CISA advisory also tells defenders to assume significant dwell time and hunt back through historical logs, not just recent ones.
The off-DC paths: virtualisation, storage and backups
Recorded intrusions show that the cheapest way to get NTDS.dit is often not to touch a domain controller at all. Microsoft's guidance on securing domain controllers says compromise of a DC means the forest "can never be considered trustworthy again" without a known good backup, and recommends controls that extend beyond the DC itself.
| Platform | Exposure | Control |
|---|---|---|
| Hypervisor hosting DCs | Snapshot or copy of the virtual disk | Run DCs on hosts separate from other VMs and manage those hosts as tier zero; Microsoft suggests Hyper-V hosts that can be managed with the DCs they host, or shielded VMs against fabric administrators |
| Storage arrays and SAN | Storage administrators reading VM files | Separate DC storage so storage administrators cannot reach the files, as Microsoft recommends |
| Physical DCs and branch sites | Disk removal | TPM and BitLocker on all DC volumes; RODCs where physical security is weak |
| Backup platform | System state or full server backups contain the database | Encrypt backups (ATT&CK M1041: "Ensure Domain Controller backups are properly secured"), restrict restore and mount rights, alert on restore of DC images outside recovery tests |
| IFM media | Install from Media sets contain the database and SYSTEM hive | Create only for a planned promotion, store encrypted with tight ACLs, delete after use |
Small organisations often run DCs on the same hosts and backup system as everything else. If separation is not possible, the minimum is that hypervisor and backup admin accounts are dedicated, protected with phishing-resistant MFA, and treated with the same care as Domain Admins. See the Hypervisor and Virtualisation Security Guide and the Backup Security and Immutable Backup Guide.
Mitigations mapped to controls
| ATT&CK mitigation | Control for NTDS | Notes |
|---|---|---|
| M1026 Privileged Account Management | Minimal Domain Admins, Enterprise Admins, Administrators and Backup Operators membership; admin logons to DCs only from privileged access workstations; just-in-time elevation | Removes the precondition: admin rights on a DC or access to its backups |
| M1041 Encrypt Sensitive Information | Encrypted DC backups; BitLocker on DC volumes | Covers the backup and disk paths |
| M1027 Password Policies | Unique local administrator passwords; long random service account passwords or gMSAs | Limits what cracked hashes are worth |
| M1017 User Training | No reuse of passwords across admin and user accounts | Limits reuse after cracking |
CISA's hardening list for this threat adds limiting and auditing RDP, keeping admin credentials on hardened tiered workstations, removing domain admin rights from edge devices and regularly rolling NTLM hashes for accounts that support token-based authentication. Privileged group reviews are covered in the Active Directory Security Checklist.
Implementation sequence
- Find every copy: list domain controllers, the hosts and storage behind virtual DCs, backup jobs that capture DC system state, and any IFM media on file shares.
- Collect DC telemetry: enable process creation with command line on DCs, forward the Application log ESENT events and VSS events, and deploy Sysmon file creation rules for ntds.dit outside its folder.
- Baseline: run the detection report-only through at least one full backup cycle, then suppress only the documented backup agent and schedule.
- Close the side doors: move hypervisor, storage and backup administration for DCs into tier zero, encrypt DC backups and restrict restore rights.
- Enforce and alert: switch to alerting; add alerts for DC backup restores and mounts outside recovery tests.
- Test: in an authorised exercise, create IFM media in a lab domain and confirm each signal fires. Rollback is reverting the analytic to report-only; telemetry changes carry little operational risk.
Response when NTDS theft is confirmed
CISA and partner agencies say to assume full domain compromise when NTDS.dit theft is suspected. That changes the response from host clean-up to identity recovery.
- Contain: the advisory recommends cutting internet access from the enterprise network, or at least non-essential traffic, weighed against business impact.
- Reset: all domain user passwords and local built-in accounts; krbtgt twice, letting the first reset replicate before the second. See the krbtgt account guide.
- Service accounts and machine identities: service, sync and application accounts are in the database too. Rotate them, or move to gMSAs, and check every system that stores their passwords.
- Find persistence: attackers with every hash can create accounts, change ACLs and register rogue DCs; follow the Active Directory Domain Compromise Response Playbook.
- Hunt history: repeated theft is documented, so check whether earlier copies were taken and whether current controls would have caught them.
Where identity fits
A domain database is also the largest single store of non-human credentials most organisations have: service accounts, computer accounts, trust accounts and directory sync accounts. Unlike users, many of these are rotated rarely or never, so hashes taken months ago may still work. Treat service and sync accounts as first-class scope in any NTDS response, and prefer gMSAs so that the platform rotates them. The service account inventory guide helps list them.
Detection and measurement
- DC telemetry coverage: share of domain controllers forwarding command line process events, ESENT and VSS events.
- Snapshot attribution: share of VSS snapshots on DCs attributable to the approved backup job; target 100 percent.
- Tier-zero platform coverage: share of hypervisor, storage and backup admin accounts for DC infrastructure that are dedicated and phishing-resistant MFA protected.
- Backup encryption: share of DC backup sets encrypted with restricted restore rights.
- Privileged group size: members of Domain Admins, Enterprise Admins, Administrators and Backup Operators, trended monthly.
Common failure patterns
- Monitoring only the DC: virtual disk and backup theft bypass every DC alert.
- Blanket backup exclusions: suppressing all VSS activity on DCs hides attacker snapshots too.
- Short log retention: security logs roll before a slow intrusion is found; keep ESENT and Application logs centrally.
- Forgotten IFM media: install media left on a share after a DC build is a full copy of the domain.
- One krbtgt reset or users only: skipping the second reset or the service accounts leaves forged tickets and old hashes valid.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev. 5 | AC-6; CP-9 System Backup; SI-4; AU-12; IA-5 | Least privilege on DCs, protected backups, monitoring and authenticator rotation |
| NIST CSF 2.0 | PR.AA-05; PR.DS-11; DE.CM-09; DE.AE-02 | Privilege, backup protection, monitoring and analysis |
| CIS Controls v8.1 | Control 5; Control 6; Control 8; Control 11 Data Recovery | Admin accounts, access management, audit logs and protected recovery data |
| ISO/IEC 27001:2022 Annex A | A.8.2; A.8.13 Information backup; A.8.16 | Privileged access, backup protection and monitoring |
| MITRE ATT&CK | T1003.003; M1017, M1026, M1027, M1041 | Related: T1003.006 DCSync, T1558.001 Golden Ticket |
Practitioner checklist
- All DCs forward command line process events, VSS events and ESENT 216, 325, 326, 327 and 637.
- Detection alerts on ntdsutil, snapshot creation and ntds.dit copies outside the approved backup job.
- Hypervisor, storage and backup administration for DCs managed as tier zero.
- DC backups encrypted, restore and mount rights restricted, restores alerted.
- BitLocker with TPM on physical DC volumes; RODCs where physical security is weak.
- IFM media created only under change control and deleted after use.
- Privileged group membership minimal and reviewed monthly.
- Response runbook covers full password reset, double krbtgt reset and service account rotation.
- Logs retained long enough to hunt back across months.
Standards and references
- MITRE ATT&CK: OS Credential Dumping: NTDS (T1003.003)
- CISA: PRC State-Sponsored Actors Compromise and Maintain Persistent Access to U.S. Critical Infrastructure (AA24-038A)
- Microsoft Learn: Securing domain controllers against attack
- Microsoft Learn: AD forest recovery, backing up a full server
- Microsoft Learn: AD DS installation wizard page descriptions (Install from Media)
- Microsoft Learn: Use Ntdsutil to manage Active Directory files
- MITRE ATT&CK: OS Credential Dumping: DCSync (T1003.006)
Related NHI Mgmt Group resources: Credential Dumping Guide, AD Domain Controller Hardening Guide, Golden Ticket, Silver Ticket and DCSync Guide, krbtgt account.