Detectionhightest
Invoke-Obfuscation VAR+ Launcher - PowerShell Module
Detects Obfuscated use of Environment Variables to execute PowerShell
Jonathan Cheong, oscd.communityCreated 2020-10-15Updated 2024-04-056bfb8fa7-b2e7-4f6c-8d9d-824e5d06ea9ewindows
Log Source
WindowsPowerShell Module
ProductWindows← raw: windows
CategoryPowerShell Module← raw: ps_module
Definition
0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
Detection Logic
Detection Logic1 selector
detection:
selection_4103:
Payload|re: 'cmd.{0,5}(?:/c|/r)(?:\s|)"set\s[a-zA-Z]{3,6}.*(?:\{\d\}){1,}\\"\s+?-f(?:.*\)){1,}.*"'
condition: selection_4103False 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
6bfb8fa7-b2e7-4f6c-8d9d-824e5d06ea9e
Status
test
Level
high
Type
Detection
Created
2020-10-15
Modified
2024-04-05
Author
Path
rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_var.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001