Possible Stop Windows Service Through PowerShell Stop-Service (via process_creation)

This rule detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"

SigmalowWindowsv1
sigma
title: Possible Stop Windows Service Through PowerShell Stop-Service (via process_creation)
id: b3d9d88c-f9cb-5f9d-8c43-bd25e0abe7a9
status: stable
description: This rule detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"
references:
    - https://attack.mitre.org/techniques/T1489/
    - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-service?view=powershell-7.4
author: Huntrule Team
date: 2026-07-26
tags:
    - attack.impact
    - attack.t1489
logsource:
    category: process_creation
    product: windows
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_*
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.