T1059.001 PowerShell
Executionon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0455 Abuse of PowerShell for Arbitrary Execution
AN1252 Windows
Detects behavioral chains where PowerShell is launched with encoded commands, unusual parent processes, or suspicious modules loaded, potentially followed by network connections or child process spawning. Supports detection of both direct (powershell.exe) and indirect (.NET automation) invocations.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106 |
|
WinEventLog:PowerShellEventCode=400, 403 |
|
WinEventLog:SysmonEventCode=7 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
Content Hub rules tagged with it (14)
- Azure VM Run Command operations executing a unique PowerShell script
- Cisco Cloud Security - Windows PowerShell User-Agent Detected
- CYFIRMA - High severity File Hash Indicators with Block Action and Malware
- CYFIRMA - Medium severity File Hash Indicators with Block Action and Malware
- Exchange Worker Process Making Remote Call
- Execution attempts stateful anomaly on database
- Powershell Empire Cmdlets Executed in Command Line
- PowerShell Encoded Command Execution (Living off the Land)
- WMI Spawning Suspicious Child Process (Living off the Land)
- MeshAgent Suspicious Child Process - Potential Malicious RMM Tool Usage
- Methods for Downloading Files with PowerShell
- Potential Maldoc Execution Chain Observed
- Powershell Encoded Command Execution
- PowerShell Encoded Command Execution
How the Content Hub rules for T1059.001 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
222 SigmaHQ community rules name it in their tags.
- HackTool - CrackMapExec Execution Patterns
- Potential Emotet Activity
- Potential Powershell ReverseShell Connection
- Remote LSASS Process Access Through Windows Remote Management
- TropicTrooper Campaign November 2018
- Potential WMI Lateral Movement WmiPrvSE Spawned PowerShell
- Bad Opsec Powershell Code Artifacts
- Greenbug Espionage Group Indicators
- Rorschach Ransomware Execution Activity
- Silence.EDA Detection
- Turla Group Commands May 2020
- UNC2452 PowerShell Pattern
- AWS EC2 Startup Shell Script Change
- Base64 Encoded PowerShell Command Detected
- BloodHound Collection Files
- CVE-2022-24527 Microsoft Connected Cache LPE
- ChromeLoader Malware Execution
- Cmd.EXE Missing Space Characters Execution Anomaly
- DSInternals Suspicious PowerShell Cmdlets
- DSInternals Suspicious PowerShell Cmdlets - ScriptBlock
- Exchange PowerShell Snap-Ins Usage
- Execution of Powershell Script in Public Folder
- Exploited CVE-2020-10189 Zoho ManageEngine
- FakeUpdates/SocGholish Activity
- HTML Help HH.EXE Suspicious Child Process
Mitigations
M1026Privileged Account ManagementM1038Execution PreventionM1042Disable or Remove Feature or ProgramM1045Code SigningM1049Antivirus/Antimalware
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.