Sigma rule: Important Windows Service Terminated With Error
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8a7e7a19f902, updated 2023-04-14T00:00:00.000Z.
Rule
- Title
- Important Windows Service Terminated With Error
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-04-14
- File
- rules/windows/builtin/system/service_control_manager/win_system_service_terminated_error_important.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects important or interesting Windows services that got terminated for whatever reason
Log source
- product
- windows
- service
- system
Detection
selection_eid:
Provider_Name: 'Service Control Manager'
EventID: 7023 # The X Service service terminated with the following error
selection_name:
- param1|contains:
# Note that these names are "Display Names" and are language specific. If you're using a non-english system these can and will be different
- ' Antivirus'
- ' Firewall'
- 'Application Guard'
- 'BitLocker Drive Encryption Service'
- 'Encrypting File System'
- 'Microsoft Defender'
- 'Threat Protection'
- 'Windows Event Log'
# Use this If you collect the binary value provided from this event, which is the wide hex encoded value of the service name.
- Binary|contains:
- '770069006e0064006500660065006e006400' # windefend (Microsoft Defender Antivirus Service)
- '4500760065006e0074004c006f006700' # EventLog
- '6d0070007300730076006300' # mpssvc (Windows Defender Firewall)
- '530065006e0073006500' # Sense (Windows Defender Advanced Threat Protection Service)
- '450046005300' # EFS (Encrypting File System)
- '420044004500530056004300' # BDESVC (BitLocker Drive Encryption Service)
condition: all of selection_*False positives (as the rule lists them)
- Rare false positives could occur since service termination could happen due to multiple reasons
Tags
- attack.stealth
Related rules
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/builtin/system/service_control_manager/win_system_service_terminated_error_important.yml
Sources and licences
SigmaHQ
"Important Windows Service Terminated With Error" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/system/service_control_manager/win_system_service_terminated_error_important.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: Important Windows Service Terminated With Error",
entity page, dataset version ref-8a7e7a19f902, updated 2023-04-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d6b5520d-3934-48b4-928c-2aa3f92d6963 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d6b5520d-3934-48b4-928c-2aa3f92d6963, 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.