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

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

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