---
title: "T1059: Command and Scripting Interpreter"
slug: t1059
kind: "Technique"
desk: cyber
maturity: "growing"
sources: 17
mitre_attack: T1059
url: https://morningstarsecurity.com/wiki/t1059
exported: 2026-11-25 01:12 UTC
---

# T1059: Command and Scripting Interpreter
Technique · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on T1059: Command and Scripting Interpreter, a snapshot taken on 25 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on T1059: Command and Scripting Interpreter (a snapshot from 25 Nov 2026): https://morningstarsecurity.com/wiki/t1059". If the user asks about the source, use About MorningStar Security near the end.

## Summary
Adversaries abuse command and script interpreters to execute commands or scripts.

## Tactic
- Execution

## Detection
- base64 encoded PowerShell launched through cmd

## Entry
Adversaries abuse command and script interpreters to execute commands or scripts.

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Detected by:** Microsoft Defender for Endpoint
- **Part of:** Execution

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
T1059.001: PowerShell, T1190: Exploit Public-Facing Application, T1105: Ingress Tool Transfer, Microsoft, Persistence, Command and Control, T1078: Valid Accounts, Account Manipulation, File Deletion, Web Shell Upload, T1005: Data from Local System, T1583: Acquire Infrastructure, United States, China, Russia, Malicious Logic Insertion

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/t1059
- More techniques (ATT&CK): https://morningstarsecurity.com/wiki/kind/technique
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. Gorbag: Orcs at the border harvesting intelligence from Ukraine · WeLiveSecurity (ESET) · 3 Nov 2026 · https://www.welivesecurity.com/en/eset-research/gorbag-orcs-border-harvesting-intelligence-ukraine/
2. IR trends Q3 2026: Actors impersonate IT help desks in vishing attacks as ransomware activity increases · Cisco Talos Intelligence · 29 Oct 2026 · https://blog.talosintelligence.com/ir-trends-q3-2026/
3. php2shell: Assessing Elastic detection coverage relevant to CVE-2026-109618 and CVE-2026-109619 · Elastic Security Labs · 21 Oct 2026 · https://www.elastic.co/security-labs/threat-command/php2shell-php-rce-detection
4. #StopRansomware: SafePay Ransomware · CISA Advisories · 19 Oct 2026 · https://www.cisa.gov/news-events/cybersecurity-advisories/aa26-293a
5. TTY Logs and the Data it Captures, (Sun, Oct 4th) · SANS Internet Storm Center · 5 Oct 2026 · https://isc.sans.edu/diary/rss/33396
6. Counterfeit installers to system compromise: Tracking a deceptive software download campaign · Microsoft Security Blog · 1 Sep 2026 · https://www.microsoft.com/en-us/security/blog/2026/09/01/counterfeit-installers-system-compromise-tracking-deceptive-software-download-campaign/
7. ClickFix campaign abuses Deno runtime for infostealer delivery · Sophos News · 11 Aug 2026 · https://www.sophos.com/en-us/blog/clickfix-campaign-abuses-deno-runtime-for-infostealer-delivery
8. 13 million tool calls: auditing every AI coding agent action with Elastic Agent · Elastic Security Labs · 11 Aug 2026 · https://www.elastic.co/security-labs/ai-coding-agent-audit-cursor-hooks
9. 13 million tool calls: auditing every AI coding agent action with Elastic Agent · Elastic Security Labs · 11 Aug 2026 · https://www.elastic.co/security-labs/blog/ai-coding-agent-audit-cursor-hooks
10. ChainDrop: Inside a Self-Propagating npm Worm · Unit 42 · 6 Aug 2026 · https://unit42.paloaltonetworks.com/chaindrop-npm-worm-analysis/
11. 22 Seconds to Compromise: How Automated SSH Actors Move From Login to Persistence Before You Can Blink &#x5b;Guest Diary&#x5d;, (Thu, Aug 6th) · SANS Internet Storm Center · 6 Aug 2026 · https://isc.sans.edu/diary/rss/33220
12. Exploring the Hugging Face Breach: mapping AI agent tactics to Elastic Defend · Elastic Security Labs · 31 Jul 2026 · https://www.elastic.co/security-labs/ai-agent-attack-detection-hugging-face-breach
13. How to Map Any Alert to MITRE ATT&CK · MyDFIR (short) · 30 Jul 2026 · https://www.youtube.com/shorts/QCO_j1Kxl14
14. Metasploit Framework 6.5 Released · Rapid7 Blog · 30 Jul 2026 · https://www.rapid7.com/blog/post/pt-metasploit-framework-6-5-released
15. How SOC Analysts use MITRE ATT&CK · MyDFIR (short) · 24 Jul 2026 · https://www.youtube.com/shorts/Pj3MjIBOoac
16. wp2shell hits WordPress: detecting pre-auth RCE from plugin drop to command execution · Elastic Security Labs · 23 Jul 2026 · https://www.elastic.co/security-labs/wp2shell-wordpress-rce-detection-elastic-defend
17. HelloNet campaign: new malicious modules launched through the ViPNet update system · Securelist (Kaspersky GReAT) · 16 Jul 2026 · https://securelist.com/tr/hellonet-vipnet/120700/

---
Snapshot of https://morningstarsecurity.com/wiki/t1059 taken 25 Nov 2026 01:12 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/t1059
