Detectionmediumtest
Query Usage To Exfil Data
Detects usage of "query.exe" a system binary to exfil information such as "sessions" and "processes" for later use
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Mon Aug 01Updated Thu Jan 1953ef0cef-fa24-4f25-a34a-6c72dfa2e6e2windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: ':\Windows\System32\query.exe'
CommandLine|contains:
- 'session >'
- 'process >'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
53ef0cef-fa24-4f25-a34a-6c72dfa2e6e2
Status
test
Level
medium
Type
Detection
Created
Mon Aug 01
Modified
Thu Jan 19
Path
rules/windows/process_creation/proc_creation_win_query_session_exfil.yml
Raw Tags
attack.execution