T1033 · System Owner/User Discovery
Windows System Remote Discovery With Query
About this detection
The following analytic detects the execution of query.exe with command-line arguments aimed at discovering data on remote devices. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on process names and command-line executions. This activity is significant as adversaries may use query.exe to gain situational awareness and perform Active Directory discovery on compromised endpoints. If confirmed malicious, this behavior could allow attackers to identify various details about a system, aiding in further lateral movement and privilege escalation within the network.
Sysmon event coverage
Sysmon XML
Loading configuration…