Stop Windows Service Via PowerShell Stop-Service

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

Sigma rule (View on GitHub)

 1title: Stop Windows Service Via PowerShell Stop-Service
 2id: c49c5062-0966-4170-9efd-9968c913a6cf
 3related:
 4    - id: eb87818d-db5d-49cc-a987-d5da331fbd90
 5      type: obsoletes
 6status: test
 7description: Detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"
 8references:
 9    - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-service?view=powershell-7.4
10author: Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)
11date: 2023/03/05
12tags:
13    - attack.impact
14    - attack.t1489
15logsource:
16    category: process_creation
17    product: windows
18detection:
19    selection_sc_net_img:
20        - OriginalFileName:
21              - 'PowerShell.EXE'
22              - 'pwsh.dll'
23        - Image|endswith:
24              - '\powershell.exe'
25              - '\pwsh.exe'
26    selection_cli:
27        CommandLine|contains: 'Stop-Service '
28    condition: all of selection_*
29falsepositives:
30    - There are many legitimate reasons to stop a service. This rule isn't looking for any suspicious behaviour in particular. Filter legitimate activity accordingly
31level: low

References

Related rules

to-top