Security Experts:

Connect with us

Hi, what are you looking for?


Malware & Threats

Massive Locky Campaign Powered by JavaScript Attachments

Over the past few weeks, researchers have observed a spike in the number of malicious spam emails using attached JavaScript files to distribute malware such as the infamous Locky ransomware.

Over the past few weeks, researchers have observed a spike in the number of malicious spam emails using attached JavaScript files to distribute malware such as the infamous Locky ransomware.

In February, researchers at Trustwave discovered a spam campaign in which the operators behind the Dridex botnet had changed their distribution method and adopted JavaScript (.js) attachments instead of the usual Office documents with malicious macros. The payload in that campaign was Locky, and it became obvious that Dridex and the ransomware were connected.

Now, Proofpoint researchers warn of a spike in spam emails using .js attachments instead of documents, with hundreds of millions of messages being sent to users as part of this massive campaign. According to Proofpoint, the campaign relies on botnets to distribute huge volumes of malicious emails and has become the largest observed in recent years by the security firm.

The size of the campaign suggests that the malware operators are trying to capitalize on the novelty of .js attachments, since users are more likely to click on them than they would with .exe files. “Users have been trained to not click exe attachments, but many may not know what a “js” file is, or that it can be just as dangerous. The icon looks like a document which is somewhat confusing to users unfamiliar with this file type,” Bryan Burns, Vice President of Threat Research at Proofpoint, says.

The final payload in these spam email runs is almost exclusively Dridex or Locky, although the same type of malicious attachments has been used to distribute Teslacrypt and CryptoWall before. However, researchers say that the lures in the new campaign are similar to those used in previous runs that used Office document attachments.

Additionally, security firm ESET says that it has detected a massive increase in detections of the JS/Danger.ScriptAttachment malware. This malware is nothing but a dropper designed to download other malware on the infected systems, with crypto-ransomware families such as Locky accounting for most of these malicious payloads.

The malware is distributed as an email attachment and relies on social engineering tactics to determine the unsuspecting victim to execute it. ESET, which notes that ransomware is one of the most dangerous threats at the moment, reveals that the most affected countries in this distribution campaign are Luxembourg (67%), Czech Republic (60%), Austria (57%), Netherlands (54%) and the UK (51%).

Proofpoint researchers, on the other hand, say that the spam campaigns they have observed originated from botnets located worldwide, but that the largest sources of sending IP addresses are in India and Vietnam.

The large number of spam emails sent as part of these infection campaigns ensure that attackers managed to reach recipients that lack the necessary level of protection. Furthermore, since the attached files are not immediately recognizable as malicious, the chances of a successful infection are much higher.

Written By

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Expert Insights

Related Content

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


CISA, NSA, and MS-ISAC issued an alert on the malicious use of RMM software to steal money from bank accounts.


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.


Russia-linked cyberespionage group APT29 has been observed using embassy-themed lures and the GraphicalNeutrino malware in recent attacks.


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Malware & Threats

Security researchers are warning of a new wave of malicious NPM and PyPI packages designed to steal user information and download additional payloads.


Chinese threat actor DragonSpark has been using the SparkRAT open source backdoor in attacks targeting East Asian organizations.