← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows NTDS.dit Dumping via Ntdsutil Dataset

This hunt uses a simulated Domain Controller telemetry dataset (win_security_ntdsutil_2022-09-08T020000.json) capturing T1003.003: OS Credential Dumping (NTDS), where an attacker with local admin access on a Domain Controller uses the built-in ntdsutil.exe to create a Volume Shadow Copy snapshot and extract the entire NTDS.dit Active Directory database offline.

Step 1: Hypothesis Formation

Hypothesis: A process on a Domain Controller invokes ntdsutil.exe with the ac i ntds / ifm (Install From Media) or create full shadow-copy syntax outside of a scheduled backup window, producing a large export directory containing ntds.dit and SYSTEM registry hive - indicating offline AD database extraction for credential harvesting. Indicators:

Null Hypothesis: This is the organization's legitimate AD backup process using ntdsutil IFM for a recovery DC build, executed by the backup service account on schedule. Invalidate by confirming the account, host, and timing against the backup runbook.

Rationale: ntdsutil is a native, signed Windows binary, making this a classic living-off-the-land credential dumping technique that evades tools relying solely on file/hash reputation; the moment of database export is the last reliable detection point before the data leaves the DC.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm helpdesk_adm2 - an account with no backup-operator role - ran ntdsutil to create a full IFM export of the AD database to a local temp directory, then compressed it for exfiltration, entirely outside the documented 01:00 backup window.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-09-08 02:04:11DC02Sysmon Event ID 1ntdsutil.exe "ac i ntds" "ifm" "create full C:\Windows\Temp\adbkp" q q run by helpdesk_adm2LOLBIN IOC: signed native tool used to perform a full NTDS Install-From-Media export - the canonical offline AD dump technique.
2022-09-08 02:06:47DC02Sysmon Event ID 11Files created: C:\Windows\Temp\adbkp\Active Directory\ntds.dit (620 MB), C:\Windows\Temp\adbkp\registry\SYSTEMArtifact IOC: presence of both ntds.dit and the SYSTEM hive together is sufficient for full offline hash extraction (e.g., via secretsdump.py).
2022-09-08 02:11:02DC02Sysmon Event ID 17z.exe a -pS3cr3t! C:\Windows\Temp\adbkp.7z C:\Windows\Temp\adbkp\*Staging IOC: password-protected archive creation of the export directory, typical pre-exfiltration staging to evade content inspection.
2022-09-08 02:14:30DC02(Account role check)helpdesk_adm2 is a member of "Help Desk Level 2" - not Backup Operators or Domain AdminsPrivilege-Mismatch IOC: the account should not have the rights or business justification to export the AD database.
-(backup schedule)(runbook check)Documented AD backups run at 01:00 UTC via svc-backup using Windows Server Backup, not ntdsutil IFMConfirms this activity falls outside and independent of the legitimate backup process, both in timing, tooling, and identity.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - a help-desk account with unauthorized DC access used the built-in ntdsutil utility to export and compress the entire Active Directory database, setting up for a full domain-wide credential compromise!