windows enabled community high v1.0.0

query

Remote Desktop Services MultiUser Query Utility Located at: c:\windows\system32\query.exe; c:\windows\syswow64\query.exe.

📋 Live Preview
query
query

Sandbox: execFile · Timeout: 30s

Capabilities

security.execution.command

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Once executed, `query.exe` will execute `quser.exe` in the same folder. Thus, if `query.exe` is copied to a folder and an arbitrary executable is renamed to `quser.exe`, `query.exe` will spawn it. Instead of `user`, it is also possible to use `session`, `termsession` or `process` as command-line option. (Execute an arbitrary executable via trusted system executable.)

query.exe user

Detection

TypeRule / Indicator
ioc query.exe being executed and executes a child process outside of its normal path of c:\windows\system32\ or c:\windows\syswow64\

Documentation

query

query is a Windows LOLBin. Remote Desktop Services MultiUser Query Utility Located at: c:\windows\system32\query.exe; c:\windows\syswow64\query.exe.