CmdID

CmdID / Techniques

T1059 Command and Scripting Interpreter

Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries. MITRE ATT&CK

20 programs on CmdID 80 Sigma rules T1059 on attack.mitre.org

Its sub-techniques

MITRE ATT&CK
T1059.001Command and Scripting Interpreter: PowerShell
T1059.002Command and Scripting Interpreter: AppleScript
T1059.003Command and Scripting Interpreter: Windows Command Shell
T1059.004Command and Scripting Interpreter: Unix Shell
T1059.005Command and Scripting Interpreter: Visual Basic
T1059.006Command and Scripting Interpreter: Python
T1059.007Command and Scripting Interpreter: JavaScript
T1059.012Command and Scripting Interpreter: Hypervisor CLI

Programs for it

documented by LOLBAS and GTFOBins, or named by its rules

Sigma rules tagged with it

process creation, the highest levels first
criticalHackTool - Sliver C2 Implant Activity PatternNasreddine Bencherchali (Nextron Systems), Florian Roth (Nextron Systems) · Windows
criticalLazarus Group ActivityFlorian Roth (Nextron Systems), wagga · Windows
criticalREvil Kaseya Incident Malware PatternsFlorian Roth (Nextron Systems) · Windows
criticalTurla Group Lateral MovementMarkus Neis · Windows
highAdd Insecure Download Source To WingetNasreddine Bencherchali (Nextron Systems) · Windows
highAtlassian Confluence CVE-2022-26134Nasreddine Bencherchali (Nextron Systems) · Linux
highCapsh Shell Invocation - LinuxLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) · Linux
highDarkGate - Autoit3.EXE Execution ParametersMicah Babinski · Windows
highHackTool - Stracciatella ExecutionpH-T (Nextron Systems) · Windows
highInline Python Execution - Spawn Shell Via OS System LibraryLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) · Linux
highInstallation of WSL Kali-LinuxSwachchhanda Shrawan Poudel (Nextron Systems) · Windows
highLinux Suspicious Child Process from Node.js - React2ShellSwachchhanda Shrawan Poudel (Nextron Systems), Nasreddine Bencherchali · Linux
highOutlook EnableUnsafeClientMailRules Setting EnabledMarkus Neis, Nasreddine Bencherchali (Nextron Systems) · Windows
highPotential CobaltStrike Process PatternsFlorian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) · Windows
highPotential CVE-2021-40444 Exploitation AttemptFlorian Roth (Nextron Systems), @neonprimetime · Windows
highPotential Netcat Reverse Shell Execution@d4ns4n_, Nasreddine Bencherchali (Nextron Systems) · Linux
highPotentially Suspicious Execution From Parent Process In Public FolderFlorian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) · Windows
highPowerShell Download and Execution CradlesFlorian Roth (Nextron Systems) · Windows
highPUA - Wsudo Suspicious ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
highPython Spawning Pretty TTY on WindowsNextron Systems · Windows
highRenamed NirCmd.EXE ExecutionX__Junior (Nextron Systems) · Windows
highRenamed PingCastle Binary ExecutionNasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems) · Windows
highRun PowerShell Script from Redirected Input StreamMoriarty Meng (idea), Anton Kutepov (rule), oscd.community · Windows
highScript Interpreter Execution From Suspicious FolderFlorian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) · Windows
highShai-Hulud Malware Indicators - LinuxSwachchhanda Shrawan Poudel (Nextron Systems) · Linux
highShai-Hulud Malware Indicators - WindowsSwachchhanda Shrawan Poudel (Nextron Systems) · Windows
highShell Execution via Git - LinuxLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) · Linux
highShell Execution via Rsync - LinuxLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.), Florian Roth · Linux
highShell Invocation Via Ssh - LinuxLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) · Linux
highSuspicious ArcSOC.exe Child ProcessMicah Babinski · Windows
highSuspicious Greedy Compression Using Rar.EXEX__Junior (Nextron Systems), Florian Roth (Nextron Systems) · Windows
highSuspicious Invocation of Shell via AWK - LinuxLi Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) · Linux
highSuspicious Java Children ProcessesNasreddine Bencherchali (Nextron Systems) · Linux
highSuspicious Persistence Via VMwareToolBoxCmd.EXE VM State Change ScriptNasreddine Bencherchali (Nextron Systems) · Windows
highSuspicious Program NamesFlorian Roth (Nextron Systems) · Windows
highSuspicious Remote Child Process From OutlookMarkus Neis, Nasreddine Bencherchali (Nextron Systems) · Windows
highUrsnif Redirection Of Discovery Commands@kostastsale · Windows
highVim GTFOBin Abuse - LinuxNasreddine Bencherchali (Nextron Systems), Luc Génaux · Linux
highVMToolsd Suspicious Child Processbohops, Bhabesh Raj · Windows
highWindows Suspicious Child Process from Node.js - React2ShellSwachchhanda Shrawan Poudel (Nextron Systems), Nasreddine Bencherchali · Windows
mediumAdd New Download Source To WingetNasreddine Bencherchali (Nextron Systems) · Windows
mediumAdd Potential Suspicious New Download Source To WingetNasreddine Bencherchali (Nextron Systems) · Windows
mediumConhost Spawned By Uncommon Parent ProcessTim Rauch, Elastic (idea) · Windows
mediumElevated System Shell SpawnedNasreddine Bencherchali (Nextron Systems), frack113 · Windows
mediumElevated System Shell Spawned From Uncommon Parent Locationfrack113, Tim Shelton (update fp) · Windows
mediumForfiles Command ExecutionTim Rauch, Elastic, E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community · Windows
mediumInstall New Package Via Winget Local ManifestSreeman, Florian Roth (Nextron Systems), frack113 · Windows
mediumPayload Decoded and Decrypted via Built-in UtilitiesTim Rauch (rule), Elastic (idea) · macOS
mediumPerl Inline Command ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
mediumPhp Inline Command ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
mediumPotential Arbitrary Command Execution Via FTP.EXEVictor Sergeev, oscd.community · Windows
mediumPotential Dosfuscation Activityfrack113, Nasreddine Bencherchali (Nextron Systems) · Windows
mediumPotential KamiKakaBot Activity - Lure Document ExecutionNasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems) · Windows
mediumPotential Persistence Via VMwareToolBoxCmd.EXE VM State Change ScriptNasreddine Bencherchali (Nextron Systems) · Windows
mediumPotential Xterm Reverse Shell@d4ns4n_ · Linux
mediumPotentially Suspicious NTFS Symlink Behavior Modificationfrack113, The DFIR Report · Windows
mediumPython Inline Command ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
mediumPython Spawning Pretty TTY Via PTY ModuleNextron Systems · Linux
mediumRenamed CURL.EXE ExecutionX__Junior (Nextron Systems) · Windows
mediumRenamed FTP.EXE ExecutionVictor Sergeev, oscd.community · Windows
mediumRuby Inline Command ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
mediumSuspicious Browser Child Process - MacOSSohan G (D4rkCiph3r) · macOS
mediumSuspicious Execution via macOS Script EditorTim Rauch (rule), Elastic (idea) · macOS
mediumSuspicious Installer Package Child ProcessSohan G (D4rkCiph3r) · macOS
mediumSuspicious RASdial Activityjuju4 · Windows
mediumSuspicious Runscripthelper.exeVictor Sergeev, oscd.community · Windows
mediumSuspicious Scan Loop Networkfrack113 · Windows
mediumSysprep on AppData FolderFlorian Roth (Nextron Systems) · Windows
mediumUnusual Parent Process For Cmd.EXETim Rauch, Elastic (idea) · Windows
mediumUse of FSharp InterpretersChristopher Peacock @SecurePeacock, SCYTHE @scythe_io · Windows
mediumUse of OpenConsoleNasreddine Bencherchali (Nextron Systems) · Windows
mediumUse of Pcalua For ExecutionNasreddine Bencherchali (Nextron Systems), E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community · Windows
mediumWscript Shell Run In CommandLineNasreddine Bencherchali (Nextron Systems) · Windows

Command lines CmdID reads as it

everyday examples from tldr-pages, CC BY 4.0

Run the specified command for each file on the page for forfiles.exe

forfiles /c "command"Identify

To set the value TEST^1 for the environment variable named testVar, type on the page for set

set testVar=TEST^^1Identify

An example is here when CmdID’s reading of it names T1059: a Sigma rule it trips is tagged with it, or its abuse is documented as it.