Sigma rule: Suspicious Service Installation Script
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-1a66889f15b0, updated 2024-03-05T00:00:00.000Z.
Rule
- Title
- Suspicious Service Installation Script
- Status
- test
- Level
- high
- Author
- pH-T (Nextron Systems)
- Date
- 2022-03-18
- Modified
- 2024-03-05
- File
- rules/windows/builtin/system/service_control_manager/win_system_susp_service_installation_script.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects suspicious service installation scripts
Log source
- product
- windows
- service
- system
Detection
selection_eid:
Provider_Name: 'Service Control Manager'
EventID: 7045
selection_cmd_flags:
ImagePath|contains|windash:
- ' -c '
- ' -r '
- ' -k '
selection_binaries:
ImagePath|contains:
- 'cscript'
- 'mshta'
- 'powershell'
- 'pwsh'
- 'regsvr32'
- 'rundll32'
- 'wscript'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.privilege-escalation
- car.2013-09-005
- attack.t1543.003
MITRE ATT&CK ids this rule names
References
- Internal Research
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/builtin/system/service_control_manager/win_system_susp_service_installation_script.yml
Sources and licences
SigmaHQ
"Suspicious Service Installation Script" by pH-T (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_susp_service_installation_script.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 Installation Script",
entity page, dataset version ref-1a66889f15b0, updated 2024-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/70f00d10-60b2-4f34-b9a0-dc3df3fe762a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 70f00d10-60b2-4f34-b9a0-dc3df3fe762a, 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.