Sigma rule: PowerShell Base64 Encoded IEX Cmdlet
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-29136d82852f, updated 2023-04-06T00:00:00.000Z.
Rule
- Title
- PowerShell Base64 Encoded IEX Cmdlet
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2019-08-23
- Modified
- 2023-04-06
- File
- rules/windows/process_creation/proc_creation_win_powershell_base64_iex.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects usage of a base64 encoded "IEX" cmdlet in a process command line
Log source
- product
- windows
- category
- process_creation
Detection
selection:
- CommandLine|base64offset|contains:
- 'IEX (['
- 'iex (['
- 'iex (New'
- 'IEX (New'
- 'IEX(['
- 'iex(['
- 'iex(New'
- 'IEX(New'
- "IEX(('"
- "iex(('"
# UTF16 LE
- CommandLine|contains:
- 'SQBFAFgAIAAoAFsA'
- 'kARQBYACAAKABbA'
- 'JAEUAWAAgACgAWw'
- 'aQBlAHgAIAAoAFsA'
- 'kAZQB4ACAAKABbA'
- 'pAGUAeAAgACgAWw'
- 'aQBlAHgAIAAoAE4AZQB3A'
- 'kAZQB4ACAAKABOAGUAdw'
- 'pAGUAeAAgACgATgBlAHcA'
- 'SQBFAFgAIAAoAE4AZQB3A'
- 'kARQBYACAAKABOAGUAdw'
- 'JAEUAWAAgACgATgBlAHcA'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1059.001
MITRE ATT&CK ids this rule names
References
- Internal Research
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_base64_iex.yml
Sources and licences
SigmaHQ
"PowerShell Base64 Encoded IEX Cmdlet" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_base64_iex.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Base64 Encoded IEX Cmdlet",
entity page, dataset version ref-29136d82852f, updated 2023-04-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/88f680b8-070e-402c-ae11-d2914f2257f1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 88f680b8-070e-402c-ae11-d2914f2257f1, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.