{"id":"8d5aca11-22b3-4f22-b7ba-90e60533e1fb","title":"Wmiexec Default Output File","description":"Detects the creation of the default output filename used by the wmiexec tool","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"critical","date":"2022-06-02","modified":"2023-03-08","tags":["attack.lateral-movement","attack.execution","attack.t1047"],"technique_ids":["T1047"],"logsource":{"category":"file_event","product":"windows"},"falsepositives":["Unlikely"],"references":["https://www.crowdstrike.com/blog/how-to-detect-and-prevent-impackets-wmiexec/","https://github.com/fortra/impacket/blob/f4b848fa27654ca95bc0f4c73dbba8b9c2c9f30a/examples/wmiexec.py"],"source_path":"rules/windows/file/file_event/file_event_win_wmiexec_default_filename.yml","source_sha256":"ca93d942f56ca19d64e1155f6b872242430d90878cae6b0de7f908e273b21187","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_win_wmiexec_default_filename.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Wmiexec Default Output File\nid: 8d5aca11-22b3-4f22-b7ba-90e60533e1fb\nstatus: test\ndescription: Detects the creation of the default output filename used by the wmiexec tool\nreferences:\n    - https://www.crowdstrike.com/blog/how-to-detect-and-prevent-impackets-wmiexec/\n    - https://github.com/fortra/impacket/blob/f4b848fa27654ca95bc0f4c73dbba8b9c2c9f30a/examples/wmiexec.py\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-06-02\nmodified: 2023-03-08\ntags:\n    - attack.lateral-movement\n    - attack.execution\n    - attack.t1047\nlogsource:\n    category: file_event\n    product: windows\ndetection:\n    selection:\n        - TargetFilename|re: '\\\\Windows\\\\__1\\d{9}\\.\\d{1,7}$' # Admin$\n        - TargetFilename|re: 'C:\\\\__1\\d{9}\\.\\d{1,7}$' # C$\n        - TargetFilename|re: 'D:\\\\__1\\d{9}\\.\\d{1,7}$' # D$\n    condition: selection\nfalsepositives:\n    - Unlikely\nlevel: critical\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/8d5aca11-22b3-4f22-b7ba-90e60533e1fb.json","kind":"sigma"}
