June 16, 2016 By Larry Loeb 2 min read

Users may have just gotten used to the idea of ransomware —the threat shows no signs of going away — but cybercriminals are trying to stay two steps ahead by changing the form of the malware along the way. Their latest effort involves the use of a popular and legitimate coding language.

BleepingComputer reported that a new threat discovered by security researchers, dubbed RAA ransomware, is made entirely of JavaScript (JS) code. The malware is presenting itself as a standard JavaScript file.

RAA Ransomware Brings Its Own Library

The source said the JS install uses CryptoJS. This open-source library is fairly easy to use and leverages algorithms such as AES to encrypt files. The library gives RAA the chops it needs to execute attacks — chops JavaScript doesn’t usually have.

The researchers believe RAA ransomware is distributed via emails, with the malware posing as attachments with a .js file name. Once a file is opened, it starts its malicious process by scanning the victim machines and then encrypting select files.

It will then demand a ransom of around $250. To make matters more obnoxious, it also installs Pony, a well-known password stealer, from the poisoned JS file to extract even more information from the victim.

Is JavaScript the Future of Ransomware?

Although this was a one-of-a-kind discovery for security researchers, malware-makers have been creating attacks using JavaScript for some time. None of these past threats were strictly JS code, but some did use popular JavaScript frameworks for their exploits. So while this is the first time security professionals noted ransomware entirely composed of JavaScript out in the wild, it’s likely not the last.

“JS-based attacks are definitely becoming more popular, but for the most part ransomware has still been compiled code. I think we are seeing a lot of JS-based installers lately simply because they are easier to write and debug,” Lawrence Abrams, author of the BleepingComputer report on the ransomware, told Threatpost. “Also, by obfuscating them, it makes it harder for them to be analyzed by AV scanners.”

JS may prove to be a potent entry point for malware developers. With the language’s relative ease of coding and debugging, more cybercriminals will likely catch on to the attack vector. The only way to beat the threat is to follow security best practices and stay vigilant regarding the opening of suspicious or unknown emails.

More from

FYSA – Adobe Cold Fusion Path Traversal Vulnerability

2 min read - Summary Adobe has released a security bulletin (APSB24-107) addressing an arbitrary file system read vulnerability in ColdFusion, a web application server. The vulnerability, identified as CVE-2024-53961, can be exploited to read arbitrary files on the system, potentially leading to unauthorized access and data exposure. Threat Topography Threat Type: Arbitrary File System Read Industries Impacted: Technology, Software, and Web Development Geolocation: Global Environment Impact: Web servers running ColdFusion 2021 and 2023 are vulnerable Overview X-Force Incident Command is monitoring the disclosure…

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today