Automation · API / MCP 中文

Technique note · T1059.001

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. PowerShell can also be installed on Linux and macOS. Adversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code. Examples include the <code>Start-Process</code> cmdlet which can be used to run an executable and the <code>Invoke-Command</code> 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 <code>powershell.exe</code> binary through interfaces to PowerShell's underlying <code>System.Management.Automation</code> assembly DLL exposed through the .NET framework and Windows Common Language Interface (CLI).

ATT&CK T1059.001 platforms — Status Active Version 20.1

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.1 PowerShell can also be installed on Linux and macOS.2 Adversaries can use PowerShell to perform a number of actions, including discovery of information and execution of code. Examples include the <code>Start-Process</code> cmdlet which can be used to run an executable and the <code>Invoke-Command</code> 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.3 PowerShell commands/scripts can also be executed without directly invoking the <code>powershell.exe</code> binary through interfaces to PowerShell's underlying <code>System.Management.Automation</code> assembly DLL exposed through the .NET framework and Windows Common Language Interface (CLI).456

  1. TechNet PowerShell
  2. Powershell installation
  3. Github PSAttack
  4. Sixdub PowerPick Jan 2016
  5. SilentBreak Offensive PS Dec 2015
  6. Microsoft PSfromCsharp APR 2014

Groups using this technique

GroupNameCountry
grp_g0076Thrip—
grp_g0062TA459—
grp_g0105DarkVishnya—
grp_g0100Inception—
grp_g0051FIN10—
grp_g1018TA2541—
grp_g1034Daggerfly—
grp_g0033Poseidon Group—
grp_g0021Molerats—
grp_g0090WIRTE—
grp_g1043BlackByte—
grp_g0038Stealth Falcon—
grp_g1031Saint BearRussia
grp_g0117Fox Kitten—
grp_g0108Blue Mockingbird—
grp_g1023APT5China
grp_g1035Winter Vivern—
grp_g0009Deep PandaChina
grp_g0143Aquatic PandaChina
grp_g0129Mustang PandaChina
grp_g0032Lazarus GroupDPRK
grp_g0078Gorgon Group—
grp_g0052CopyKittensIran
grp_g1001HEXANE—
grp_g0064APT33Iran
grp_g0142Confucius—
grp_g1024Akira—
grp_g1021Cinnamon TempestChina
grp_g0115GOLD SOUTHFIELD—
grp_g0119Indrik SpiderRussia
grp_g0093GALLIUM—
grp_g0037FIN6—
grp_g1051Medusa Group—
grp_g0080Cobalt Group—
grp_g1015Scattered Spider—
grp_g0114ChimeraChina
grp_g1048UNC3886—
grp_g0035DragonflyRussia
grp_g1039RedCurlRussia
grp_g1019MoustachedBouncer—
grp_g0084Gallmaker—
grp_g0131Tonto TeamChina
grp_g0102Wizard SpiderRussia
grp_g1044APT42Iran
grp_g1040Play—
grp_g0049OilRigIran
grp_g1053Storm-0501—
grp_g0069MuddyWater—
grp_g1012CURIUMIran
grp_g1055VOID MANTICORE—
grp_g0133Nomadic OctopusRussia
grp_g0079DarkHydrus—
grp_g0061FIN8—
grp_g0073APT19China
grp_g1017Volt Typhoon—
grp_g0082APT38DPRK
grp_g0091Silence—
grp_g1059NIMBUS MANTICORE—
grp_g1046Storm-1811—
grp_g0065LeviathanChina
grp_g0046FIN7—
grp_g0087APT39—
grp_g0010TurlaRussia
grp_g0099APT-C-36—
grp_g0047Gamaredon GroupRussia
grp_g0022APT3China
grp_g0125HAFNIUM—
grp_g0092TA505—
grp_g0094KimsukyDPRK
grp_g0059Magic HoundIran
grp_g1016FIN13—
grp_g0139TeamTNT—
grp_g0060BRONZE BUTLER—
grp_g1003Ember BearRussia
grp_g0140LazyScripter—
grp_g0096APT41China
grp_g0045menuPass—
grp_g1006Earth LuscaChina
grp_g1022ToddyCat—
grp_g0007APT28Russia
grp_g0016APT29Russia
grp_g0040Patchwork—
grp_g0121SidewinderIndia
grp_g0027Threat Group-3390China
grp_g0034Sandworm TeamRussia
grp_g0050APT32Vietnam

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.