Hackers are increasingly abusing the legacy Microsoft HTML Application Host (MSHTA) utility to deliver commodity malware such as LummaStealer and Amatera.
Despite being tied to Internet Explorer, which was retired in 2022, MSHTA remains default in Windows, making it an attractive Living-off-the-Land binary (LOLBIN) for stealthy attacks.
MSHTA allows execution of VBScript and JavaScript from local or remote sources under a trusted Microsoft-signed process.
Threat actors are leveraging this capability to blend malicious activity with legitimate system operations, avoiding detection by security tools.
Bitdefender observed a surge in mshta.exe usage across multiple attack chains in recent months.
This trend suggests that attackers are increasingly relying on legacy components still present in modern Windows systems, even as Microsoft moves toward deprecating VBScript by 2027.
The attacks analyzed rely heavily on multi-stage, fileless execution techniques. MSHTA is typically used as an initial loader that retrieves malicious HTA scripts from attacker-controlled infrastructure.
These scripts then execute additional payloads using tools like PowerShell, WScript, or msiexec.

Bitdefender said in a report shared with GBhackers, how attackers used LOTL tactics in a Windows and macOS malware campaign that leveraged fake “Claude Code” Google ads.
For example, in one campaign involving CountLoader, attackers distributed archives disguised as cracked software. Victims executed a fake setup file, which silently launched a renamed MSHTA binary to fetch a remote HTA payload.
This ultimately delivered LummaStealer or Amatera, both designed to steal credentials, browser data, and cryptocurrency information.

Bitdefender identified malicious domains mimicking legitimate services, often using uncommon top-level domains such as .cc, .vg, and .gl (e.g., google-services[.]cc, explorer[.]vg).
These domains hosted obfuscated HTA scripts that executed entirely in memory, leaving minimal forensic traces.
LummaStealer and Amatera Malware
Social engineering remains central to these campaigns. Attackers use fake software downloads, pirated media, and “ClickFix” lures to trick users into initiating infections.
In one case, victims were directed to fake CAPTCHA pages that copied malicious commands to their clipboard. Users were then instructed to paste and execute these commands via the Windows Run dialog, triggering MSHTA to download and execute a remote payload.
Another campaign used Discord phishing links to distribute Emmenhtal Loader, which leveraged MSHTA to execute Base64 scripts and ultimately deploy LummaStealer campaign using an in-memory PowerShell chain.

While MSHTA is widely used for commodity threats, it also appears in more advanced campaigns.
Bitdefender linked it to malware families such as ClipBanker, which hijacks cryptocurrency transactions, and PurpleFox, a rootkit-enabled backdoor used for long-term persistence and control.
This broad usage highlights MSHTA’s flexibility across the threat landscape from opportunistic credential theft to sophisticated, persistent intrusions.
Defending against MSHTA abuse requires a combination of user awareness and technical controls:
- Avoid downloading pirated or untrusted software.
- Do not execute unknown commands copied from websites.
- Monitor command-line activity involving mshta.exe.
- Restrict or disable MSHTA and similar scripting binaries where possible.
- Implement layered security controls, including endpoint detection and behavior monitoring.
Although some legitimate administrative scripts still rely on MSHTA, its usage is declining. Security experts recommend migrating to modern alternatives to reduce exposure.
As long as MSHTA remains in Windows, it will continue to serve as both a useful administrative tool and a powerful attack vector for cybercriminals.
IOCs
| Indicator | Type | Description |
|---|---|---|
| AA845A8FB4AB38AEBE6A16A2A8F80CA4467AC0991D3EEF4D8A10BDF97DEDB1E9 | SHA256 | Initial HTA launched after ClickFix |
| 02630FA994B1566AD1515FD87220FC037B967F07495985A3637D68D7E08C57EE | SHA256 | Obfuscated PowerShell |
| 1E0E375F3EE82D5AF5DFE6F7DF0E2FAC9A7D37C67ADD3390D05A93AFD85B7C84 | SHA256 | LummaStealer payload |
| hxxp[://]185[.]147[.]124[.]40/Capcha[.]html | URL | Emmenhtal URL |
| hxxp[://]92[.]255[.]57[.]155/Capcha[.]html | URL | Emmenhtal URL |
| hxxps[://]denek[.]local-wanderer[.]shop/RIWZ[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]buck2nd[.]oss-eu-central-1[.]aliyuncs[.]com/dir/sixth/singl6[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]macphotoeditor[.]shop/singl5[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]topofsuper[.]shop/re5[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]antibot-check[.]icu/Capcha[.]html | URL | Emmenhtal URL |
| hxxps[://]checkpageonce[.]com/singl6[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]echoicedeals[.]shop/s6[.]mp3 | URL | Emmenhtal URL |
| hxxps[://]kizmond[.]shop/riiw1[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]klipjaqemiu[.]shop/web44[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]macphotoeditor[.]shop/singl6[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]onceletthemcheck[.]com/singl5[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]pawpaws[.]readit-carfanatics[.]com/madonna[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]propofgustestyle[.]info/recaptcha-verify[.]html | URL | Emmenhtal URL |
| hxxps[://]recaptcha-process[.]com/recaptcha-verify[.]html | URL | Emmenhtal URL |
| hxxps[://]retrosome[.]shop/ru2-2[.]eml | URL | Emmenhtal URL |
| hxxps[://]savecoupons[.]store/s7[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]solve[.]gevaq[.]com/awjxs[.]captcha?u=a1bdaa0d-6aab-4d96-bafe-483ef5eb8cae | URL | Emmenhtal URL |
| hxxps[://]solve[.]jenj[.]org/awjxs[.]captcha?u=8508de42-23ab-4b24-aa95-eda5feae86e8 | URL | Emmenhtal URL |
| hxxps[://]thepremiumstuffs[.]shop/s5[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]triptrip[.]melody-wave[.]shop/re2[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]check[.]qlkwr[.]com/awjsx[.]captcha?u=03cb013e-aa4a-439e-86af-c3319c7b5dc0 | URL | Emmenhtal URL |
| hxxps[://]driftcharm[.]shop/S6[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]etrademart[.]shop/s6[.]mp3 | URL | Emmenhtal URL |
| hxxps[://]scrutinycheck[.]cash/singl5[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]simplerwebs[.]space/anrek[.]mp4 | URL | Emmenhtal URL |
| hxxps[://]simplerwebs[.]world/mine[.]json | URL | Emmenhtal URL |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.





