Process

unknown

ntdsutil.exe

ntdsutil.exe is the command-line tool for maintaining the Active Directory database. Domain controller administrators use it for database housekeeping, authoritative restores, and snapshots of the directory store. The same snapshot and Install From Media features let an attacker on a domain controller copy out the entire directory database, which holds every domain account's password hash.

File identity

File details

Not observed.

Signing information

Not observed.

File version0

Not observed.

File size0

Not observed.

Execution context

File paths0

Not observed.

User context0

Not observed.

Integrity level0

Not observed.

Instances0

Not observed.

Session0

Not observed.

Token privileges0

Not observed.

Ancestry

Parents0

Not observed.

Children0

Not observed.

Grandparents0

Not observed.

Grandchildren0

Not observed.

Behavior

Loaded modules0

Not observed.

Named pipes0

Not observed.

Process handles0

Not observed.

Command-line patterns0

Not observed.

LOLBAS1
  • ntdsutil.exe "ac i ntds" "ifm" "create full c:\" q qDump · Dumping of Active Directory NTDS.dit database

Indicators

Hashes

Not observed.

Analysis

About this process

ntdsutil.exe manages the Active Directory Domain Services database, the ntds.dit file that stores every object and credential in a domain. Its legitimate jobs are database maintenance: defragmentation, authoritative restore, metadata cleanup of decommissioned domain controllers, snapshot management, and creating Install From Media (IFM) sets used to stand up new domain controllers. It is installed on domain controllers and on servers running AD LDS or the AD DS management tools, not on a default client Windows. The genuine binary lives at C:\Windows\System32\ntdsutil.exe and requires an elevated prompt.

Legitimately, ntdsutil is run interactively by domain administrators during planned maintenance on a domain controller. It does not run on its own and does not belong on ordinary workstations. Its interactive sub-commands, or the arguments that drive them from a script, describe what each invocation is doing.

Security notes

ntdsutil.exe is a headline tool for stealing domain credentials (T1003.003). On a domain controller, ntdsutil "activate instance ntds" "ifm" "create full C:\path" q q quietly writes a complete copy of ntds.dit along with the SYSTEM registry hive, which holds the boot key needed to decrypt it. Together those two files yield every domain account's password hash for offline cracking and follow-on attacks like golden tickets. Creating and mounting a snapshot reaches the same data by exposing ntds.dit on a mounted volume.

This is post-compromise activity that requires domain controller administrator rights, which makes it high-signal when it appears. ntdsutil running with ifm, create, or snapshot verbs, especially driven non-interactively by a cmd.exe or powershell.exe parent or a remote-execution tool, or any ntdsutil on a machine that is not a domain controller, warrants immediate investigation. Because both the binary and the operations are legitimate, the verbs and the context are what separate maintenance from theft.

Anomaly signals7
  • Image path other than C:\Windows\System32\ntdsutil.exehigh
  • ifm or create full arguments (Install From Media dump of the database)high
  • activate instance ntds followed by snapshot or IFM operationshigh
  • A snapshot created and mounted to reach ntds.dithigh
  • Parent is cmd.exe, powershell.exe, or a remote-execution tool rather than an interactive admin shellhigh
  • Running on a host that is not a domain controllerhigh
  • Output written to a staging or user-writable pathmed

Telemetry

OS prevalence0

Not observed.

Observation timeline

Not observed.

References

Subsearch

Hasbeen seen inof ntdsutil.exe?