Windows Service Stop By Deletion
The following analytic detects the use of `sc.exe` to delete a Windows service. It leverages Endpoint Detection and Response (EDR) data, focusing on process execution logs that capture command-line arguments. This…
Description
The following analytic detects the use of `sc.exe` to delete a Windows service. It leverages Endpoint Detection and Response (EDR) data, focusing on process execution logs that capture command-line arguments. This activity is significant because adversaries often delete services to disable security mechanisms or critical system functions, aiding in evasion and persistence. If confirmed malicious, this action could lead to the termination of essential security services, allowing attackers to operate undetected and potentially escalate their privileges or maintain long-term access to the compromised system.
Detection logic
Detection requirements
- Platform
- ESXiIaaSLinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- crowdstrike_processrollup2sysmon_eventid_1windows_event_log_security_4688
Known benign triggers
- It is possible administrative scripts may start/stop/delete services. Filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| app.any.run/tasks/a6f2ffe2-e6e2-4396-ae2e-04ea0143f2d8/ | 18 |
| github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1543.003/T1543.003.md | Only this detection cites it |
| thedfirreport.com/2020/04/20/sqlserver-or-the-miner-in-the-basement/ | 20from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- 196ff536-58d9-4d1b-9686-b176b04e430b
- Tagged by the source as
- AzorultCrypto StealerGraceful Wipe Out AttackEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1