Windows Process Command Line: Detect VAR++ LAUNCHER Obfuscated PowerShell
Flags Windows command lines showing VAR++ launcher-style obfuscated PowerShell execution through Invoke-Expression patterns.
- Product
- windows
- Category
- process_creation
- Author
- Timur Zinniatullin, oscd.community (SigmaHQ), DRL 1.1
- Published
- 2020-10-13
- Updated
- 2026-07-31
ATT&CK techniques
Execution → Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags Windows process creation events whose command line contains patterns consistent with obfuscated PowerShell executed via a launcher-style construct (VAR++ LAUNCHER). Attackers use obfuscation to hinder inspection and automated detection, often while still invoking PowerShell functionality through nested variable substitution and execution. The detection relies on process creation telemetry and string matching within the command line for specific tokens and formatting indicators.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Windows Process Command Line: Detect VAR++ LAUNCHER Obfuscated PowerShell"
id: 16c3fb78-a52e-4374-9f54-136a9ce2c742
status: test
description: This rule flags Windows process creation events whose command line contains patterns consistent with obfuscated PowerShell executed via a launcher-style construct (VAR++ LAUNCHER). Attackers use obfuscation to hinder inspection and automated detection, often while still invoking PowerShell functionality through nested variable substitution and execution. The detection relies on process creation telemetry and string matching within the command line for specific tokens and formatting indicators.
references:
- https://github.com/SigmaHQ/sigma/issues/1009
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_var.yml
author: Timur Zinniatullin, oscd.community, Huntrule Team
date: 2020-10-13
modified: 2022-11-16
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains|all:
- "&&set"
- cmd
- /c
- -f
CommandLine|contains:
- "{0}"
- "{1}"
- "{2}"
- "{3}"
- "{4}"
- "{5}"
condition: selection
falsepositives:
- Unknown
level: high
license: DRL-1.1
related:
- id: e9f55347-2928-4c06-88e5-1a7f8169942e
type: derived