title: Invoke-Obfuscation Via Use MSHTA author: Nikita Nazarov, oscd.community date: 2020/10/08 description: Detects Obfuscated Powershell via use MSHTA in Scripts detection: SELECTION_1: Payload|re: (?i).*(set).*(&&).*(mshta).*(vbscript:createobject).*(\.run).*\(window\.close\).*" condition: SELECTION_1 falsepositives: - Unknown id: 07ad2ea8-6a55-4ac6-bf3e-91b8e59676eb level: high logsource: category: ps_module definition: PowerShell Module Logging must be enabledd product: windows modified: 2021/10/16 references: - https://github.com/Neo23x0/sigma/issues/1009 related: - id: e55a5195-4724-480e-a77e-3ebe64bd3759 type: derived status: experimental tags: - attack.defense_evasion - attack.t1027 - attack.execution - attack.t1059.001 yml_filename: powershell_invoke_obfuscation_via_use_mhsta.yml yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/powershell/powershell_module