Invoke-Obfuscation VAR+ Launcher - PowerShell Module
Detects Obfuscated use of Environment Variables to execute PowerShell
Detection logic
selection_4103
Payload|re: cmd.{0,5}(?:/c|/r)(?:\s|)"set\s[a-zA-Z]{3,6}.*(?:\{\d\}){1,}\\"\s+?-f(?:.*\)){1,}.*"Condition
selection_4103Raw YAML
title: Invoke-Obfuscation VAR+ Launcher - PowerShell Module
id: 6bfb8fa7-b2e7-4f6c-8d9d-824e5d06ea9e
related:
- id: 0adfbc14-0ed1-11eb-adc1-0242ac120002
type: derived
status: test
description: Detects Obfuscated use of Environment Variables to execute PowerShell
references:
- https://github.com/SigmaHQ/sigma/issues/1009 # (Task 24)
author: Jonathan Cheong, oscd.community
date: 2020-10-15
modified: 2024-04-05
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
category: ps_module
definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
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_4103
falsepositives:
- Unknown
level: highFalse positives
- Unknown
References
Related rules
Similar rules
Invoke-Obfuscation CLIP+ Launcher - PowerShell Module
highwindows · Shares T1027, T1059
Invoke-Obfuscation COMPRESS OBFUSCATION - PowerShell Module
mediumwindows · Shares T1027, T1059
Invoke-Obfuscation Obfuscated IEX Invocation - PowerShell Module
highwindows · Shares T1027, T1059
Invoke-Obfuscation RUNDLL LAUNCHER - PowerShell Module
mediumwindows · Shares T1027, T1059