Windows System User Discovery via Quser
Adversaries leverage the native Windows utility quser.exe to enumerate active RDP user sessions, a common reconnaissance technique observed in post-exploitation frameworks like winPEAS and ransomware campaigns.
The Windows utility quser.exe is frequently abused by attackers during the post-exploitation phase to gather information about active user sessions on a system or Remote Desktop Session Host. This technique is categorized under system user discovery and is commonly implemented by automated privilege escalation and post-exploitation tools, such as winPEAS. By enumerating active sessions, attackers identify high-value accounts or existing administrative sessions to facilitate further compromise, privilege escalation, or lateral movement. This behavior has been observed in various attack campaigns, including the deployment of Prestige ransomware. Defenders should monitor for the execution of this utility, particularly when initiated by suspicious parent processes or in environments where the tool is not required for daily administration.
Impact
Successful user discovery allows attackers to map the environment, identify target accounts for credential harvesting, and determine the reach of current session access. This reconnaissance is a critical prerequisite for lateral movement and the subsequent deployment of ransomware or other destructive payloads.
Recommendation
- Deploy the provided Sigma rule to monitor for execution of
quser.exevia endpoint process creation logs. - Establish a baseline of legitimate
quser.exeusage by network and systems administrators to reduce false positives. - Correlate
quser.exeexecution with other post-exploitation indicators, such as the use ofwinPEASor unexpected network connections.
Immediate actions
Deploy Sigma detection rule for quser.exe execution.
Threat Hunt
Search for quser.exe usage by non-admin service accounts.
Data: Process creation logs with user context
Detection coverage 1
Detect Windows System User Discovery via Quser
lowDetects the execution of quser.exe, a utility used to enumerate active user sessions.
Detection queries are available on the platform. Get full rules →