Skip to main content
Mallory
← Back to News
loader-delivery-mechanismphishing-campaign-intelligenceremote-access-implantcredential-stealer-activity

Obfuscated JavaScript Email Loaders Spread RATs Including Houdini, STRRAT, and Formbook

Malware Intelligence · 4 sources · Updated 3mo ago · First seen Jul 17, 2021

Obfuscated JavaScript Email Loaders Spread RATs Including Houdini, STRRAT, and Formbook

Researchers reported that malicious email attachments disguised as JavaScript files were being used to deliver a broad set of remote access Trojans and stealers through heavily obfuscated loader chains. HP Wolf Security identified the activity as RATDispenser, a stealthy JavaScript loader that decodes itself, launches cmd.exe, writes a VBScript file into %TEMP%, and then either drops or downloads a second-stage payload. Analysis of 155 samples found that 94% acted as droppers rather than network downloaders, with STRRAT and WSHRAT making up 81% of observed payloads; other delivered malware included Formbook, Remcos, AdWind, Panda Stealer, GuLoader, and Ratty. The campaign’s low average detection rate and layered obfuscation indicated an effective distribution mechanism for commodity malware.

Separate analysis of a phishing campaign targeting European organizations showed a similar JavaScript-to-VBS infection pattern delivering H-Worm/Houdini after emails impersonating entities such as UNWTO and IATA. Lab52 attributed that operation to LazyScripter and found that the attackers’ obfuscated scripts had themselves been tampered with by the online service hackfree.org, which injected an additional njRAT downloader, creating a double-compromise scenario. Researchers linked the primary campaign to infrastructure including stub.ignorelist.com and securessl.fit, while the injected secondary activity used a PowerShell downloader that contacted 185.81.157.186 to retrieve content from /NDA/199.png, underscoring how obfuscated JavaScript loaders were being reused to distribute multiple RAT families through phishing.

Why it matters

Summary

Malicious email attachments disguised as JavaScript files are being used to deliver multiple commodity RAT and stealer families through heavily obfuscated loader chains. The activity affects Windows users across organizations that rely on email, with observed targeting of important European entities and broad applicability to any enterprise exposed to phishing.

Impact assessment

The operational impact is high because successful execution can lead to remote access, credential theft, keylogging, persistence, and follow-on malware delivery. The scope is mixed: RATDispenser appears broadly reusable for commodity malware distribution, while the LazyScripter/Houdini activity showed targeted phishing against European organizations impersonating UNWTO and IATA.

Supporting details

  • Affected users and environments:
    • Windows endpoints where users can open .js attachments.
    • Organizations exposed to phishing, especially email-heavy business workflows.
    • European entities were specifically targeted in the LazyScripter campaign.
  • Severity drivers:
    • Payloads included STRRAT, WSHRAT/Houdini, Formbook, Remcos, AdWind, Panda Stealer, GuLoader, Ratty, and injected njRAT activity.
    • Payload capabilities include remote access, credential theft, keylogging, and information stealing.
    • Persistence mechanisms were observed via Startup folder artifacts and Run registry keys.
  • Scope and prevalence:
    • HP analyzed 155 RATDispenser samples over three months.
    • 94% of observed RATDispenser samples were droppers, reducing dependence on network retrieval and likely improving delivery success.
    • STRRAT and WSHRAT accounted for 81% of observed payloads.
    • HP reported an average detection rate of 11% for RATDispenser samples, indicating meaningful evasion.
  • Exploitation in the wild:
    • Yes. Both references describe active phishing-driven malware delivery campaigns observed in the wild.
    • Lab52 documented a double-compromise scenario where scripts obfuscated through hackfree.org were additionally infected with an njRAT downloader.
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · 2021 – Jul 17, 2021
  1. Reported Mar 9, 20225y ago

    hackfree.org found injecting njRAT into obfuscated scripts

    Researchers tested the online obfuscation service hackfree.org and found it injected its own malware into every obfuscated script it produced. In the analyzed LazyScripter samples, this added a second compromise path via an njRAT downloader distinct from the H-Worm/Houdini payload.

    Very very lazy Lazyscripter’s scripts: double compromise in a single obfuscation
  2. Reported Nov 23, 20215y ago

    HP retrohunt identifies 155 RATDispenser samples

    Using a YARA rule named js_RATDispenser, researchers conducted a three-month retrohunt and identified 155 RATDispenser samples across three variants. Their analysis found 94% of the samples were droppers rather than network downloaders.

    RATDispenser: Stealthy JavaScript Loader Dispensing RATs into the Wild | HP Wolf Security
  3. Jul 17, 20215y ago

    securessl.fit domain registered for campaign infrastructure

    The domain securessl.fit, used in the phishing operation and linked from the fake job-offer PDF, was registered on July 17, 2021. It resolved to 192.64.119.125 and redirected through a DuckDNS domain.

    Very very lazy Lazyscripter’s scripts: double compromise in a single obfuscation
  4. Jul 2021

    LazyScripter phishing campaign targets European entities

    In July 2021, a phishing campaign attributed to the emerging APT group LazyScripter targeted important European entities using lures impersonating organizations including UNWTO and IATA. The emails delivered compressed archives containing a benign PDF and obfuscated JavaScript files.

    Very very lazy Lazyscripter’s scripts: double compromise in a single obfuscation
  5. 2021

    RATDispenser distributes multiple malware families during 2021

    HP reported that RATDispenser, an evasive JavaScript loader spread through malicious email attachments, was used during 2021 to deliver eight malware families including STRRAT, WSHRAT/Houdini, AdWind, Formbook, Remcos, Panda Stealer, GuLoader, and Ratty. STRRAT and WSHRAT accounted for 81% of observed payloads.

    RATDispenser: Stealthy JavaScript Loader Dispensing RATs into the Wild | HP Wolf Security
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Threat actors

1 linked

Observables

22 linked

Indicator values are masked on this page. View all 22 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.