T1059.001 · execution · 76 actors · 21 correlated reports

PowerShell

Adversaries may abuse PowerShell commands and scripts for execution. PowerShell is a powerful interactive command-line interface and scripting environment included in the Windows operating system. Adversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code. Examples include the Start-Process cmdlet which can be used to run an executable and the Invoke-Command cmdlet which runs a command locally or on a remote computer (though administrator permissions are required to use PowerShell to connect to remote systems). PowerShell may also be used to download and run executables from the Internet, which can be executed from disk or in memory without touching disk. A number of PowerShell-based offensive testing tools are available, including Empire, PowerSploit, PoshC2, and PSAttack. PowerShell commands/scripts can also be executed without directly invoking the powershell.exe binary through interfaces to PowerShell's underlying System.Management.Automation assembly DLL exposed through the .NET framework and Windows Common Language Interface (CLI).

Open detection, hunting, mitigation, and evidence workspace

Detection logic

If proper execution policy is set, adversaries will likely be able to define their own execution policy if they obtain administrator or system access, either through the Registry or at the command line. This change in policy on a system may be a way to detect malicious use of PowerShell. If PowerShell is not used in an environment, then simply looking for PowerShell execution may detect malicious activity. Monitor for loading and/or execution of artifacts associated with PowerShell specific assemblies, such as System.Management.Automation.dll (especially to unusual process names/locations). It is also beneficial to turn on PowerShell logging to gain increased fidelity in what occurs during execution (which is applied to .NET invocations). PowerShell 5.0 introduced enhanced logging capabilities, and some of those features have since been added to PowerShell 4.0. Earlier versions of PowerShell do not have many logging features. An organization can gather PowerShell execution details in a data analytic platform to supplement it with other data. Consider monitoring for Windows event ID (EID) 400, which shows the version of PowerShell executing in the EngineVersion field (which may also be relevant to detecting a potential Downgrade Attack) as well as if PowerShell is running locally or remotely in the HostName field. Furthermore, EID 400 may indicate the start time and EID 403 indicates the end time of a PowerShell session.

Observed actors

Correlated CTI and IR reports

MuddyWater G0069
MITRE ATT&CK · direct source mapping
1. Executive Summary
Israel Threat Actors CTI · explicit report mention
APT39 (Chafer / Remix Kitten)
Israel Threat Actors CTI · explicit report mention
ATT&CK as a Working Tool: Theory and Hands-On Practical Usage
1200km CTI repository · explicit report mention
CTI Research: MuddyWater / Seedworm (Mango Sandstorm)
1200km CTI repository · explicit report mention
CTI Research: MuddyWater / Seedworm (Mango Sandstorm)
1200km CTI repository · explicit report mention
CTI Research: Sandworm / APT44
1200km CTI repository · explicit report mention
CTI Research: Sandworm / APT44
1200km CTI repository · explicit report mention
Defensive CTI Research on Threats to Israeli Government and Public-Sector Environments
Israel Threat Actors CTI · explicit report mention
Defensive Cyber Threat Intelligence Report: Israeli Critical Infrastructure and Geopolitical Escalation (2024-2026)
Israel Threat Actors CTI · explicit report mention
From Threat Intelligence to Detection: A Practitioner's Guide
1200km CTI repository · explicit report mention
Pioneer Kitten (Fox Kitten, Lemon Sandstorm, UNC757) – Actor Deep Research
Israel Threat Actors CTI · explicit report mention
Worked Cases
Israel Threat Actors CTI · explicit report mention
ATT CK as a Working Tool Theory and Hands On Practical Usage
1200km Medium · authored report mention
CTI Analyst Field Manual Complete Reference
1200km Medium · authored report mention
CTI Research MuddyWater Seedworm Mango Sandstorm
1200km Medium · authored report mention
CTI Research Sandworm APT44
1200km Medium · authored report mention
Correlation Based Detection Rules in Cybersecurity From Atomic Events to Behavioral Insight
1200km Medium · authored report mention
From Threat Intelligence to Detection A Practitioner s Guide
1200km Medium · authored report mention
Single Event Detection Rules in Cybersecurity
1200km Medium · authored report mention
The Atomic Standard A Practitioner s Compendium for Single Event Threat Detection
1200km Medium · authored report mention

Continue the investigation