Detectionhightest
Invoke-Obfuscation Via Use MSHTA
Detects Obfuscated Powershell via use MSHTA in Scripts
Nikita Nazarov, oscd.communityCreated 2020-10-08Updated 2022-03-08ac20ae82-8758-4f38-958e-b44a3140ca88windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
CommandLine|contains|all:
- 'set'
- '&&'
- 'mshta'
- 'vbscript:createobject'
- '.run'
- '(window.close)'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
ac20ae82-8758-4f38-958e-b44a3140ca88
Status
test
Level
high
Type
Detection
Created
2020-10-08
Modified
2022-03-08
Author
Path
rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_use_mhsta.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001