{"id":"c49c5062-0966-4170-9efd-9968c913a6cf","title":"Stop Windows Service Via PowerShell Stop-Service","description":"Detects the stopping of a Windows service via the PowerShell Cmdlet \"Stop-Service\"","author":"Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"low","date":"2023-03-05","modified":"","tags":["attack.impact","attack.t1489"],"technique_ids":["T1489"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["There are many legitimate reasons to stop a service. This rule isn't looking for any suspicious behaviour in particular. Filter legitimate activity accordingly"],"references":["https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-service?view=powershell-7.4"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_stop_service.yml","source_sha256":"101522a7aa45cc04005256b7940a6ef91cbfe5b05cadd02e4174d263c5cc3d8c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_stop_service.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Stop Windows Service Via PowerShell Stop-Service\nid: c49c5062-0966-4170-9efd-9968c913a6cf\nrelated:\n    - id: eb87818d-db5d-49cc-a987-d5da331fbd90\n      type: obsolete\nstatus: test\ndescription: Detects the stopping of a Windows service via the PowerShell Cmdlet \"Stop-Service\"\nreferences:\n    - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-service?view=powershell-7.4\nauthor: Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-03-05\ntags:\n    - attack.impact\n    - attack.t1489\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_sc_net_img:\n        - OriginalFileName:\n              - 'PowerShell.EXE'\n              - 'pwsh.dll'\n        - Image|endswith:\n              - '\\powershell.exe'\n              - '\\pwsh.exe'\n    selection_cli:\n        CommandLine|contains: 'Stop-Service '\n    condition: all of selection_*\nfalsepositives:\n    - There are many legitimate reasons to stop a service. This rule isn't looking for any suspicious behaviour in particular. Filter legitimate activity accordingly\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1489","id":"T1489","name":"Service Stop","page":"techniques/enterprise/T1489/"}],"data_path":"data/detection-rules/c49c5062-0966-4170-9efd-9968c913a6cf.json","kind":"sigma"}
