Windows: Base64-Encoded PE “MZ” Header Present in Command Line

Alerts when Windows command lines include Base64 strings matching a PE “MZ” header.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-07-12
Updated
2026-07-30

What it detects

This rule flags Windows process creations where the command line contains Base64 strings consistent with a PE file starting with the “MZ” header. Attackers may use Base64-encoded payloads in command-line arguments to obfuscate execution content and evade basic inspection. The detection relies on process_creation telemetry and matching specific Base64-encoded header patterns within the CommandLine field.

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