{"id":"62b20d44-1546-4e61-afce-8e175eb9473c","title":"Service StartupType Change Via PowerShell Set-Service","description":"Detects the use of the PowerShell \"Set-Service\" cmdlet to change the startup type of a service to \"disabled\" or \"manual\"","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-03-04","modified":"","tags":["attack.execution","attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["False positives may occur with troubleshooting scripts"],"references":["https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_set_service_disabled.yml","source_sha256":"1513d42e78c0da6567790a3d2d4dac4ad1204a21e2b2bc250a8311a72a1acd1e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_set_service_disabled.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Service StartupType Change Via PowerShell Set-Service\nid: 62b20d44-1546-4e61-afce-8e175eb9473c\nstatus: test\ndescription: Detects the use of the PowerShell \"Set-Service\" cmdlet to change the startup type of a service to \"disabled\" or \"manual\"\nreferences:\n    - https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-03-04\ntags:\n    - attack.execution\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\powershell.exe'\n        - OriginalFileName: 'PowerShell.EXE'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'Set-Service'\n            - '-StartupType'\n        CommandLine|contains:\n            - 'Disabled'\n            - 'Manual'\n    condition: all of selection_*\nfalsepositives:\n    - False positives may occur with troubleshooting scripts\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/62b20d44-1546-4e61-afce-8e175eb9473c.json","kind":"sigma"}
