{"id":"85c312b7-f44d-4a51-a024-d671c40b49fc","title":"Service StartupType Change Via Sc.EXE","description":"Detect the use of \"sc.exe\" to change the startup type of a service to \"disabled\" or \"demand\"","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-08-01","modified":"2023-03-04","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_sc_disable_service.yml","source_sha256":"2ae29bb23d4a7c0b68b259f44914ff4ba00a17976c80f531ee48fd565d72a7f3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_sc_disable_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: Service StartupType Change Via Sc.EXE\nid: 85c312b7-f44d-4a51-a024-d671c40b49fc\nstatus: test\ndescription: Detect the use of \"sc.exe\" to change the startup type of a service to \"disabled\" or \"demand\"\nreferences:\n    - https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-08-01\nmodified: 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: '\\sc.exe'\n        - OriginalFileName: 'sc.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - ' config '\n            - 'start'\n        CommandLine|contains:\n            - 'disabled'\n            - 'demand'\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/85c312b7-f44d-4a51-a024-d671c40b49fc.json","kind":"sigma"}
