LIVE · cybersecurity feed
Live wire
malwarehigh

Microsoft’s MSHTA Legacy Tool Still Powers Malware Campaigns on Windows

Security researchers have found that attackers are still leveraging Microsoft's MSHTA utility to run malware campaigns on Windows systems. This legacy tool, which is present on most Windows installations, can execute scripts from various sources, making it a persistent threat.

zeroday.news · 74d ago

Microsoft's legacy HTML Application Host (MSHTA) utility continues to be a significant tool for cybercriminals to distribute various types of malware on Windows systems, according to recent analysis. Despite being an older component, MSHTA's ability to execute VBScript and JavaScript from both local and remote files makes it a valuable asset for attackers seeking to deploy everything from basic password stealers to more sophisticated threats.

Researchers have observed an increase in the use of mshta.exe within malware execution chains, indicating its persistent relevance as a "Living-off-the-Land" binary (LOLBIN). LOLBINs are legitimate system utilities that attackers abuse to blend in with normal system activity, reduce the need for custom tools, and make malicious operations harder to detect. MSHTA, originally associated with Internet Explorer, fits this profile well as it is present by default on Windows and can execute script content in memory while retrieving payloads from remote locations.

The abuse of MSHTA spans a wide range of malware categories. At the lower end, it is frequently employed in the delivery chains for commodity information stealers like LummaStealer and Amatera, as well as loaders such as CountLoader and Emmenhtal Loader. More advanced and persistent malware campaigns, including ClipBanker and PurpleFox, have also been observed leveraging MSHTA. This broad spectrum of use highlights its utility for attackers, from opportunistic malware delivery to establishing long-term compromises.

While Microsoft has announced the deprecation of VBScript, with plans to disable it by default in 2027 and remove it entirely from Windows, MSHTA itself is not currently slated for removal. This means the utility will likely remain available by default on Windows systems for the foreseeable future, continuing to pose a risk as part of the system's attack surface.

Legitimate uses for MSHTA, though diminishing, still exist. Some system administrators and developers utilize it for simple tasks like alerting users to updates or displaying basic web applications without needing a full browser. These legitimate uses, often involving simple one-liner scripts for notifications or executing local files, demonstrate that MSHTA has not entirely disappeared from operational environments. However, researchers recommend moving away from MSHTA in administrative workflows in favor of more modern alternatives.

Attackers exploit MSHTA's capabilities to minimize on-disk artifacts and leverage a trusted, Microsoft-signed process. This makes it particularly useful for initial infection stages, acting as a stager or loader to retrieve and execute malicious script content. Campaigns often involve multi-stage, fileless execution chains that incorporate other legitimate tools like PowerShell and HTA scripts, frequently initiated through social engineering tactics such as fake software downloads or "ClickFix"-style lures.

One notable campaign identified involves CountLoader, an HTA-based loader that uses MSHTA to deliver commodity malware, specifically the LummaStealer and Amatera information stealers. These stealers are designed to exfiltrate sensitive data, including credentials, browser information, session tokens, and cryptocurrency details. In this delivery chain, MSHTA acts as a lightweight execution mechanism to fetch and launch the subsequent HTA payload from attacker-controlled infrastructure.

The continued reliance on MSHTA underscores a broader security challenge: legacy components of retired products can persist within operating systems for years, supporting older workflows and compatibility needs. As long as MSHTA remains a default component, it will continue to be a relevant tool for threat actors seeking to exploit the Windows ecosystem. Effective defense against these threats requires a combination of user awareness to counter social engineering and robust, layered technical security controls.

malwarewindowsmshtalegacy systemsscripting
ShareXLinkedInWhatsAppFacebook

More News

view all →
breach

Hermes AI agent used to automate attack on Thai Finance Ministry

A threat actor used the open-source Hermes AI agent in unattended "YOLO" mode to automate post-exploitation activity during an alleged breach of Thailand's Ministry of Finance. [...]

security

Hackers hijack hotel Wi-Fi DNS to steal Microsoft 365 accounts

Hackers are changing the DNS settings on Wi-Fi devices at hotels and conference centers to redirect users to fake Microsoft 365 login pages. [...]

security

BGP ORIGIN attribute manipulation and its impact on the Internet

By doing in-depth testing, we found nearly 70% of BGP paths experience ORIGIN attribute rewrites by transit providers seeking traffic advantages. We examine the global impact of this practice and argue for deprecating ORIGIN in route selection.

security

Andy Burnham signals continuity on UK cyber policy, reappoints minister despite scrapping ministry

The new British prime minister is retaining Liz Lloyd in a cyber policy role, making her one of the few Keir Starmer allies remaining in government.

security

'Wrench' attacks against crypto holders appear to be on the rise

There are more reports than ever before of strong-arm tactics like home invasions and kidnappings against cryptocurrency holders, researchers say.

vulnerability

Microsoft blames massive Microsoft 365 outage on maintenance bug

Microsoft says a bug in its automated network maintenance request system caused Thursday's massive outage by mistakenly removing IP routes from more devices than intended, disrupting Azure and Microsoft 365 services. [...]