Stealth · ATT&CK v20
T1218.005 System Binary Proxy Execution: Mshta
A Stealth technique. Staying unnoticed: hiding, blending in with normal activity, disguising tools and files.
- T1218.005Technique ID
- StealthTactic
- 1Places taught
What the attacker does
The attacker runs code through mshta.exe, the signed Windows program that runs HTML Applications, often straight from a URL or with inline script. Signed system binaries pass many controls.
How it shows up in the logs
- mshta.exe with an http or https URL, or javascript: or vbscript: on the command line.
- mshta.exe making network connections or starting PowerShell or cmd.
- A parent such as explorer.exe from the Run box, or an Office application.
Questions to ask in triage
- What did mshta load, and from where?
- What did it start?
- Is mshta needed here at all, or can it be blocked?
Read T1218.005 on attack.mitre.org
A sub-technique of T1218.
Where you meet it in CyberSim
In the hands-on labs
A simulated machine in your browser.
More Stealth techniques
- T1027 Obfuscated Files or Information
- T1027.006 Obfuscated Files or Information: HTML Smuggling
- T1036.004 Masquerading: Masquerade Task or Service
- T1036.005 Masquerading: Match Legitimate Resource Name or Location
- T1070.004 Indicator Removal: File Deletion
- T1140 Deobfuscate/Decode Files or Information
- T1197 BITS Jobs
- T1218.010 System Binary Proxy Execution: Regsvr32
- T1218.011 System Binary Proxy Execution: Rundll32
- T1564.008 Hide Artifacts: Email Hiding Rules
- T1684.001 Social Engineering: Impersonation
Source: MITRE ATT&CK T1218.005, tactic TA0005.