Sigma rule: Suspicious Service Path Modification
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6e4364d8e5ff, updated 2022-11-18T00:00:00.000Z.
Rule
- Title
- Suspicious Service Path Modification
- Status
- test
- Level
- high
- Author
- Victor Sergeev, oscd.community, Nasreddine Bencherchali (Nextron Systems)
- Date
- 2019-10-21
- Modified
- 2022-11-18
- File
- rules/windows/process_creation/proc_creation_win_sc_service_path_modification.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects service path modification via the "sc" binary to a suspicious command or path
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\sc.exe'
CommandLine|contains|all:
- 'config'
- 'binPath'
CommandLine|contains:
# Add more suspicious commands or binaries
- 'powershell'
- 'cmd '
- 'mshta'
- 'wscript'
- 'cscript'
- 'rundll32'
- 'svchost'
- 'dllhost'
- 'cmd.exe /c'
- 'cmd.exe /k'
- 'cmd.exe /r'
- 'cmd /c'
- 'cmd /k'
- 'cmd /r'
# Add more suspicious paths
- 'C:\Users\Public'
- '\Downloads\'
- '\Desktop\'
- '\Microsoft\Windows\Start Menu\Programs\Startup\'
- 'C:\Windows\TEMP\'
- '\AppData\Local\Temp'
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.persistence
- attack.privilege-escalation
- attack.t1543.003
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1543.003/T1543.003.md
- https://web.archive.org/web/20180331144337/https://www.fireeye.com/blog/threat-research/2018/03/sanny-malware-delivery-method-updated-in-recently-observed-attacks.html
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_service_path_modification.yml
Sources and licences
SigmaHQ
"Suspicious Service Path Modification" by Victor Sergeev, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_sc_service_path_modification.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: Suspicious Service Path Modification",
entity page, dataset version ref-6e4364d8e5ff, updated 2022-11-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/138d3531-8793-4f50-a2cd-f291b2863d78 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 138d3531-8793-4f50-a2cd-f291b2863d78, 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.