Sigma rule: Interesting Service Enumeration Via Sc.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-0fe22c32e6a1, updated 2024-02-12T00:00:00.000Z.
Rule
- Title
- Interesting Service Enumeration Via Sc.EXE
- Status
- test
- Level
- low
- Author
- Swachchhanda Shrawan Poudel
- Date
- 2024-02-12
- File
- rules/windows/process_creation/proc_creation_win_sc_query_interesting_services.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the enumeration and query of interesting and in some cases sensitive services on the system via "sc.exe".
Attackers often try to enumerate the services currently running on a system in order to find different attack vectors.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\sc.exe'
- OriginalFileName: 'sc.exe'
selection_cli:
CommandLine|contains: 'query'
selection_cmd:
# Note: add more interesting services
CommandLine|contains: 'termservice'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.t1003
- attack.credential-access
MITRE ATT&CK ids this rule names
References
- https://www.n00py.io/2021/05/dumping-plaintext-rdp-credentials-from-svchost-exe/
- https://pentestlab.blog/tag/svchost/
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_sc_query_interesting_services.yml
Sources and licences
SigmaHQ
"Interesting Service Enumeration Via Sc.EXE" by Swachchhanda Shrawan Poudel (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_sc_query_interesting_services.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: Interesting Service Enumeration Via Sc.EXE",
entity page, dataset version ref-0fe22c32e6a1, updated 2024-02-12T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e83e8899-c9b2-483b-b355-5decc942b959 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e83e8899-c9b2-483b-b355-5decc942b959, 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.