Process

unknown

nltest.exe

nltest.exe is a domain diagnostic tool for querying domain controllers and trust relationships. Administrators use it to troubleshoot secure channels and locate DCs. Attackers use it to map the domain and its trusts, the groundwork for moving deeper into an Active Directory environment.

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.

Indicators

Hashes

Not observed.

Analysis

About this process

nltest.exe queries the Netlogon service and Active Directory for domain topology. /dclist:<domain> lists the domain controllers in a domain, /dsgetdc:<domain> locates a DC and the services it offers, and /domain_trusts enumerates the trust relationships between domains and forests. It can also test and reset the secure channel between a member and its domain. The genuine binary lives at C:\Windows\System32\nltest.exe.

Legitimately, nltest is run by administrators to diagnose domain join and replication problems. It reads domain configuration, and for secure-channel repair it can reset a machine's own trust password.

Security notes

nltest is a core Active Directory reconnaissance tool (T1482). nltest /domain_trusts reveals how domains and forests trust one another, which tells an attacker where else stolen credentials might work and how to pivot toward higher-value domains. /dclist and /dsgetdc enumerate domain controllers (T1018), the machines that hold the directory and are the ultimate target for domain credential theft.

Run by an administrator during troubleshooting it is routine. Run from an ordinary user's workstation, under an odd parent, or amid other domain enumeration, it points to an operator charting the environment before moving through it.

Anomaly signals4
  • Image path other than C:\Windows\System32\nltest.exehigh
  • /domain_trusts or /dclist run from a workstation outside admin troubleshootinghigh
  • Parent is an Office application, a script host, or an unfamiliar processhigh
  • Run amid other domain recon, such as net group /domainmed

Telemetry

OS prevalence0

Not observed.

Observation timeline

Not observed.

References

Subsearch

Hasbeen seen inof nltest.exe?