Suspicious Obfuscated Hidden PowerShell with Encoded Command

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-09-25
Updated
2026-09-25

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects PowerShell launched with hidden window, no-profile, and no-logo flags together with an encoded or Base64 command argument, an execution pattern observed in a nation-state APT campaign delivering XenoRAT through LNK files that decoded a randomly named script. It captures concealed and encoded script execution used to run in-memory payloads. Detecting this is important because the combination of hidden execution and encoded commands is a strong indicator of obfuscated malicious PowerShell.

Related detections9 linkedT1059.001 — drag to rearrange
Malicious Fickle Stealer Remote PowerShell Execution From UNC Share (via process_creation)
Suspicious PDF Editor Updater Binary Spawning PowerShell (via process_creation)
PowerShell ExecutionPolicy Set to Bypass via Registry (via registry_set)
Malicious XWorm Script Chain Execution from ProgramData Music Visuals Directory (via process_creation)
Scheduled task executing powershell encoded payload from registry
Malicious Paper Werewolf PowerShell Loader Spawned by Excel via XLL Add-In (via process_creation)
PowerShell Alias Obfuscation Resolving iex and Invoke-RestMethod via ClickFix (via process_creation)
ClickFix PowerShell Download Cradle Launched From Run Dialog (via process_creation)
SharePoint IIS Worker Process Spawning PowerShell With Encoded Command (via process_creation)
Suspicious Obfuscated Hidden PowerShell with Encoded Command
Pivot detection · T1059.001 · 9 related

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