Invoke-Obfuscation Via Use MSHTA - PowerShell Module
Detects Obfuscated Powershell via use MSHTA in Scripts
Sigma rule (View on GitHub)
1title: Invoke-Obfuscation Via Use MSHTA - PowerShell Module
2id: 07ad2ea8-6a55-4ac6-bf3e-91b8e59676eb
3related:
4 - id: e55a5195-4724-480e-a77e-3ebe64bd3759
5 type: derived
6status: test
7description: Detects Obfuscated Powershell via use MSHTA in Scripts
8references:
9 - https://github.com/SigmaHQ/sigma/issues/1009 # (Task31)
10author: Nikita Nazarov, oscd.community
11date: 2020-10-08
12modified: 2023-01-04
13tags:
14 - attack.defense-evasion
15 - attack.t1027
16 - attack.execution
17 - attack.t1059.001
18logsource:
19 product: windows
20 category: ps_module
21 definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
22detection:
23 selection:
24 Payload|contains|all:
25 - 'set'
26 - '&&'
27 - 'mshta'
28 - 'vbscript:createobject'
29 - '.run'
30 - '(window.close)'
31 condition: selection
32falsepositives:
33 - Unknown
34level: high
References
Related rules
- ConvertTo-SecureString Cmdlet Usage Via CommandLine
- Invoke-Obfuscation CLIP+ Launcher
- Invoke-Obfuscation CLIP+ Launcher - PowerShell
- Invoke-Obfuscation CLIP+ Launcher - PowerShell Module
- Invoke-Obfuscation CLIP+ Launcher - Security