{"id":"07ad2ea8-6a55-4ac6-bf3e-91b8e59676eb","title":"Invoke-Obfuscation Via Use MSHTA - PowerShell Module","description":"Detects Obfuscated Powershell via use MSHTA in Scripts","author":"Nikita Nazarov, oscd.community","status":"test","level":"high","date":"2020-10-08","modified":"2023-01-04","tags":["attack.stealth","attack.t1027","attack.execution","attack.t1059.001"],"technique_ids":["T1027","T1059.001"],"logsource":{"product":"windows","category":"ps_module","definition":"0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"},"falsepositives":["Unknown"],"references":["https://github.com/SigmaHQ/sigma/issues/1009"],"source_path":"rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_via_use_mhsta.yml","source_sha256":"e8343296ae8510f9e6cdef858cad23087e2929393b36aed61e153466d7cf1c0f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_via_use_mhsta.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Invoke-Obfuscation Via Use MSHTA - PowerShell Module\nid: 07ad2ea8-6a55-4ac6-bf3e-91b8e59676eb\nrelated:\n    - id: e55a5195-4724-480e-a77e-3ebe64bd3759\n      type: derived\nstatus: test\ndescription: Detects Obfuscated Powershell via use MSHTA in Scripts\nreferences:\n    - https://github.com/SigmaHQ/sigma/issues/1009 # (Task31)\nauthor: Nikita Nazarov, oscd.community\ndate: 2020-10-08\nmodified: 2023-01-04\ntags:\n    - attack.stealth\n    - attack.t1027\n    - attack.execution\n    - attack.t1059.001\nlogsource:\n    product: windows\n    category: ps_module\n    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b\ndetection:\n    selection:\n        Payload|contains|all:\n            - 'set'\n            - '&&'\n            - 'mshta'\n            - 'vbscript:createobject'\n            - '.run'\n            - '(window.close)'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1027","id":"T1027","name":"Obfuscated Files or Information","page":"techniques/enterprise/T1027/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/07ad2ea8-6a55-4ac6-bf3e-91b8e59676eb.json","kind":"sigma"}
