Windows PowerShell Process Creation: Suspicious Base64/Encoded and IEX WebClient Patterns

Detects suspicious PowerShell process command lines using hidden/no-profile, execution-policy bypass, and encoded/Base64 or IEX WebClient download patterns.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-01-05
Updated
2026-07-30

What it detects

This rule flags Windows process creation events where the PowerShell command line includes multiple indicators associated with stealthy execution and encoded payload handling, such as no-profile/hidden window, bypassed execution policy, and use of Base64 decoding or -Enc. It also matches command lines that combine hidden/window-style flags with IEX and New-Object patterns, including web download usage via .Download from WebClient. The detection relies on CommandLine string telemetry in process creation logs to identify these specific parameter combinations while excluding known Chocolatey installer-related content.

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