Skip to content
WETNav

Discovery · Windows

quser.exe

Query User

Lists users logged on to a host, with session ID, state and idle time. Used to find active admins before moving to their host.

Legitimate use

Admins use it to check who is logged on before a reboot.

Worst caseMedium

Switches

/server

Queries a remote server instead of the local one.

Medium

Where it is recorded

  • Security4688Process creation with the full command line, when command-line auditing is enabled.
  • Sysmon1Process creation with command line, hashes and parent process.

Community detections

2 SigmaHQ rules for quser.exe. The explainer checks every pasted command line against all of them.

  • High
    Webshell Detection With Command Line Keywords

    Detects certain command line parameters often used during reconnaissance activity via web shells

    T1505.003T1018T1033T1087by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, Anton Kutepov, oscd.community, Chad Hudson, Matt Anderson

  • Low
    Local Accounts Discovery

    Local accounts, System Owner/User discovery using operating systems utilities

    T1033T1087.001by Timur Zinniatullin, Daniil Yugoslavskiy, oscd.community

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.