{"id":"0b7163dc-7eee-4960-af17-c0cd517f92da","title":"Service Started/Stopped Via Wmic.EXE","description":"Detects usage of wmic to start or stop a service","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-06-20","modified":"2023-02-14","tags":["attack.execution","attack.t1047"],"technique_ids":["T1047"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://sushant747.gitbooks.io/total-oscp-guide/content/privilege_escalation_windows.html"],"source_path":"rules/windows/process_creation/proc_creation_win_wmic_service_manipulation.yml","source_sha256":"44626cb6a0d8ec9725fdefb4cac85c70c0bcd27f8e123d34f72ce8da3025d39a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_wmic_service_manipulation.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 Started/Stopped Via Wmic.EXE\nid: 0b7163dc-7eee-4960-af17-c0cd517f92da\nstatus: test\ndescription: Detects usage of wmic to start or stop a service\nreferences:\n    - https://sushant747.gitbooks.io/total-oscp-guide/content/privilege_escalation_windows.html\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-06-20\nmodified: 2023-02-14\ntags:\n    - attack.execution\n    - attack.t1047\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - OriginalFileName: 'wmic.exe'\n        - Image|endswith: '\\WMIC.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - ' service '\n            - ' call '\n        CommandLine|contains:\n            - 'stopservice'\n            - 'startservice'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\nregression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_wmic_service_manipulation/info.yml\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1047","id":"T1047","name":"Windows Management Instrumentation","page":"techniques/enterprise/T1047/"}],"data_path":"data/detection-rules/0b7163dc-7eee-4960-af17-c0cd517f92da.json","kind":"sigma"}
