Sigma rule: Stop Windows Service Via PowerShell Stop-Service

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5d329ee8aff4, updated 2023-03-05T00:00:00.000Z.

Rule

Title
Stop Windows Service Via PowerShell Stop-Service
Status
test
Level
low
Author
Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Date
2023-03-05
File
rules/windows/process_creation/proc_creation_win_powershell_stop_service.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"

Log source

product
windows
category
process_creation

Detection

selection_sc_net_img:
    - OriginalFileName:
          - 'PowerShell.EXE'
          - 'pwsh.dll'
    - Image|endswith:
          - '\powershell.exe'
          - '\pwsh.exe'
selection_cli:
    CommandLine|contains: 'Stop-Service '
condition: all of selection_*

False positives (as the rule lists them)

  • There are many legitimate reasons to stop a service. This rule isn't looking for any suspicious behaviour in particular. Filter legitimate activity accordingly

Tags

  • attack.impact
  • attack.t1489

MITRE ATT&CK ids this rule names

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/process_creation/proc_creation_win_powershell_stop_service.yml

Sources and licences

  • SigmaHQ

    "Stop Windows Service Via PowerShell Stop-Service" by Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_stop_service.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Stop Windows Service Via PowerShell Stop-Service",
entity page, dataset version ref-5d329ee8aff4, updated 2023-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c49c5062-0966-4170-9efd-9968c913a6cf (accessed 2026-11-03).
Underlying source: SigmaHQ rule c49c5062-0966-4170-9efd-9968c913a6cf, 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.