T1018 · Remote System Discovery

Domain Controller Discovery with Nltest

  • Windows
  • Confirmed Technique

About this detection

The following analytic detects the execution of nltest.exe with command-line arguments /dclist: or /dsgetdc: to discover domain controllers. It leverages Endpoint Detection and Response (EDR) data, focusing on process names and command-line arguments. This activity is significant because both Red Teams and adversaries use nltest.exe for situational awareness and Active Directory discovery. If confirmed malicious, this behavior could allow attackers to map out domain controllers, facilitating further attacks such as privilege escalation or lateral movement within the network.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…