Researchers at security firm Emsisoft have analyzed Ransom32, a new piece of ransomware written in JavaScript.
Ransom32, which according to Emsisoft is the first JavaScript-based ransomware, is offered by its developers as a service, similar to threats known as Radamant, Fakben and Tox.
After they sign up via a Tor hidden service, customers only need to specify the Bitcoin address they want to use for collecting the ransom and they are good to go. Cybercriminals are provided access to a simple administration panel that they can use to configure the malware and see statistics on their campaign.
Ransomware can be highly profitable and many such threats have been spotted over the past months. Ransom32 caught the attention of Emsisoft researchers because the malware file is 22 Mb in size, much bigger than most other pieces of ransomware, which usually don’t exceed 1 Mb.
An analysis of Ransom32 revealed that the malware file is a self-extracting WinRAR archive designed to use SFX script commands to unpack its components and install the threat.
The actual malware code is stored in a file named “chrome.exe.” While it looks like the executable for Google’s Chrome web browser, chrome.exe is actually a file packaged using NW.js.
NW.js, formerly known as Node-WebKit, is a cross-platform development framework that can be used to write native applications with popular web technologies such as HTML, CSS and JavaScript. Based on Chromium and Node.js, NW.js allows developers to write JavaScript applications that can interact with the underlying operating system.
Researchers have so far only spotted Ransom32 samples for Windows systems, but since NW.js applications can be run on multiple platforms, cybercriminals could in theory package versions of the ransomware that work on Linux and Mac OS X as well.
Since the malware uses legitimate components of NW.js to function properly, it’s less likely to be detected by security products. In fact, one of the Ransom32 samples analyzed by Emsisoft is currently only detected by a handful of antiviruses, despite the fact that it was first discovered two weeks ago.
Once it infects a computer, the malware looks for various types of files and encrypts them, including images, databases, source code, documents, and media files. System directories are not targeted, most likely to prevent damaging the operating system.
Files are encrypted using AES-128 with a new key generated for every file. Victims are allowed to decrypt one file for free, but there is no indication that the ransomware’s encryption mechanism is flawed, which might allow users to recover their files without paying the ransom, such as in the case of the recently discovered Linux.Encoder malware.
Victims are instructed to pay 0.1 Bitcoin ($45) to recover the files, but the amount increases to 1 Bitcoin ($450) if the ransom is not paid within four days. The ransom note informs users that the keys needed for decryption will be destroyed permanently after one week.

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- British Retailer JD Sports Discloses Data Breach Affecting 10 Million Customers
- Meta Awards $27,000 Bounty for 2FA Bypass Vulnerability
- Industry Reactions to Hive Ransomware Takedown: Feedback Friday
- US Reiterates $10 Million Reward Offer After Disruption of Hive Ransomware
- Hive Ransomware Operation Shut Down by Law Enforcement
- UK Gov Warns of Phishing Attacks Launched by Iranian, Russian Cyberspies
- Dozens of Cybersecurity Companies Announced Layoffs in Past Year
Latest News
- Sentra Raises $30 Million for DSPM Technology
- Cyber Insights 2023: Cyberinsurance
- Cyber Insights 2023: Attack Surface Management
- Cyber Insights 2023: Artificial Intelligence
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- Guardz Emerges From Stealth Mode With $10 Million in Funding
- How the Atomized Network Changed Enterprise Protection
- Critical QNAP Vulnerability Leads to Code Injection
