Malicious PowerShell Process - Encoded Command
The following analytic detects the use of the EncodedCommand parameter in PowerShell processes. It leverages Endpoint Detection and Response (EDR) data to identify variations of the EncodedCommand parameter,…
Description
The following analytic detects the use of the EncodedCommand parameter in PowerShell processes. It leverages Endpoint Detection and Response (EDR) data to identify variations of the EncodedCommand parameter, including shortened forms and different command switch types. This activity can be significant because adversaries often use encoded commands to obfuscate malicious scripts, making detection harder. If confirmed malicious, this behavior could allow attackers to execute hidden code, potentially leading to unauthorized access, privilege escalation, or persistent threats within the environment. Review parallel events to determine legitimacy and tune based on known administrative scripts.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- crowdstrike_processrollup2sysmon_eventid_1windows_event_log_security_4688
Known benign triggers
- False positives are expected from legitimate PowerShell scripts, system administrators, and applications. Filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
From the source
- At source
- Open at source
- Upstream identifier
- c4db14d9-7909-48b4-a054-aa14d89dbb19
- Tagged by the source as
- CISA AA22-320ACrypto StealerDarkCrystal RATData DestructionGhostRedirector IIS Module and Rungan BackdoorHermetic WiperLumma StealerMalicious PowerShellMicrosoft SharePoint VulnerabilitiesMicrosoft WSUS CVE-2025-59287NOBELIUM GroupQakbotSandworm ToolsScattered SpiderSolarWinds WHD RCE Post ExploitationVolt TyphoonWhisperGateEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Published
- Oct 13, 2026
- Version
- 2