Hidden PowerShell Archive Extraction via ExtractToDirectory

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-09-08
Updated
2026-09-08

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects a hidden PowerShell process using the System IO Compression ZipFile ExtractToDirectory method together with an execution policy bypass. The Xeno loader uses this routine to unpack its bundled Java runtime and stealer payload.

Related detections9 linkedT1140 — drag to rearrange
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
PowerShell Base64 Download Cradle via FromBase64String and Invoke-Expression (via ps_script)
Windows Process Command-Line Indicators of BlackByte Ransomware Activity
PowerShell CommandLine Uses FromBase64String to Decode Base64 Content (Windows)
PowerShell FromBase64String CommandLine Base64 Encoded Usage (Windows)
Suspicious XOR-Encoded PowerShell Command Line (Windows Process Creation)
Malicious Shell Payload Piped from curl to zsh
Suspicious Cabinet Extraction of Masqueraded vstm Archive via extrac32
Suspicious tar Extraction of Staged Archive to Temp (via process_creation)
Hidden PowerShell Archive Extraction via ExtractToDirectory
Pivot detection · T1140 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.