Sigma rule: Conhost Spawned By Uncommon Parent Process
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a18d91cc60e5, updated 2025-03-06T00:00:00.000Z.
Rule
- Title
- Conhost Spawned By Uncommon Parent Process
- Status
- test
- Level
- medium
- Author
- Tim Rauch, Elastic (idea)
- Date
- 2022-09-28
- Modified
- 2025-03-06
- File
- rules/windows/process_creation/proc_creation_win_conhost_uncommon_parent.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects when the Console Window Host (conhost.exe) process is spawned by an uncommon parent process, which could be indicative of potential code injection activity.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\conhost.exe'
ParentImage|endswith:
- '\explorer.exe'
# - '\csrss.exe' # Legitimate parent as seen in EchoTrail https://www.echotrail.io/insights/search/csrss.exe
# - '\ctfmon.exe' # Seen several times in a testing environment
# - '\dllhost.exe' # FP on clean system from grandparent 'svchost.exe -k DcomLaunch -p'
- '\lsass.exe'
- '\regsvr32.exe'
- '\rundll32.exe'
- '\services.exe'
- '\smss.exe'
- '\spoolsv.exe'
- '\svchost.exe'
- '\userinit.exe'
# - '\wermgr.exe' # Legitimate parent as seen in EchoTrail https://www.echotrail.io/insights/search/wermgr.exe
- '\wininit.exe'
- '\winlogon.exe'
filter_main_svchost:
ParentCommandLine|contains:
- '-k apphost -s AppHostSvc'
- '-k imgsvc'
- '-k localService -p -s RemoteRegistry'
- '-k LocalSystemNetworkRestricted -p -s NgcSvc'
- '-k NetSvcs -p -s NcaSvc'
- '-k netsvcs -p -s NetSetupSvc'
- '-k netsvcs -p -s wlidsvc'
- '-k NetworkService -p -s DoSvc'
- '-k wsappx -p -s AppXSvc'
- '-k wsappx -p -s ClipSVC'
- '-k wusvcs -p -s WaaSMedicSvc'
filter_optional_dropbox:
ParentCommandLine|contains:
- 'C:\Program Files (x86)\Dropbox\Client\'
- 'C:\Program Files\Dropbox\Client\'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1059
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_conhost_uncommon_parent.yml
Sources and licences
SigmaHQ
"Conhost Spawned By Uncommon Parent Process" by Tim Rauch, Elastic (idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_conhost_uncommon_parent.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Conhost Spawned By Uncommon Parent Process",
entity page, dataset version ref-a18d91cc60e5, updated 2025-03-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/cbb9e3d1-2386-4e59-912e-62f1484f7a89 (accessed 2026-11-03).
Underlying source: SigmaHQ rule cbb9e3d1-2386-4e59-912e-62f1484f7a89, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.