Detectionhightest

Invoke-Obfuscation VAR++ LAUNCHER OBFUSCATION - PowerShell

Detects Obfuscated Powershell via VAR++ LAUNCHER

Open in Detection LabConvert ruleBuild Package
Timur Zinniatullin, oscd.communityCreated 2020-10-13Updated 2024-04-05e54f5149-6ba3-49cf-b153-070d24679126windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection_4104:
        ScriptBlockText|re: '(?i)&&set.*(\{\d\}){2,}\\"\s+?-f.*&&.*cmd.*/c' # FPs with |\/r
    condition: selection_4104
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
e54f5149-6ba3-49cf-b153-070d24679126
Status
test
Level
high
Type
Detection
Created
2020-10-13
Modified
2024-04-05
Path
rules/windows/powershell/powershell_script/posh_ps_invoke_obfuscation_via_var.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001
View on GitHub