Mac ransomware KeRanger has flaws that could let users recover files

KeRanger is based on Linux.Encoder, a flawed ransomware threat that targets Linux Web servers, researchers say

The KeRanger file-encrypting ransomware program for Mac OS X contains crypto flaws that could allow users to recover their files without paying cybercriminals.

According to researchers from antivirus firm Bitdefender, KeRanger is based on another ransomware program, called Linux.Encoder, that first appeared in November and targeted Linux-based Web servers.

The first three versions of Linux.Encoder had flaws in their cryptographic implementations that allowed the Bitdefender researchers to create tools that could be used to decrypt files affected by the malicious program.

KeRanger was found on March 4 on the official website of the popular Transmission BitTorrent client. The attackers had compromised the server and replaced the installer for Transmission version 2.90 with a malicious one.

The rogue installer was digitally signed with a legitimate Apple developer's certificate that had been issued to a Turkish company. The certificate was revoked by Apple a few days later.

"The infected Mac OS X torrent client update analyzed by Bitdefender Labs looks virtually identical to version 4 of the Linux.Encoder Trojan that has been infecting thousands of Linux servers since the beginning of 2016," the Bitdefender researchers said in blog post Tuesday.

Aside from some compiler-related differences and a new routine designed to locate and encrypt Apple Time Machine backups, all the other functions in the code are identical, said Bogdan Botezatu, senior e-threat analyst at Bitdefender.

According to Botezatu, Linux.Encoder version 4 appeared in early February and has the same crypto flaws as the previous versions, which means that KeRanger's encryption implementation is also broken.

Bitdefender has not yet released a decryption tool for KeRanger-affected files, but will consider developing one if there's enough demand for it.

A representative of the Transmission Project told Reuters that the rogue file was downloaded about 6,500 times. However, the number of OS X users whose files were actually encrypted is likely much lower because the ransomware has a three-day delay built in and it was discovered quickly.

It's a mystery why the attackers went to great lengths to steal a legitimate Apple developer's certificate and break into the website of a trusted software project, only to distribute a flawed ransomware program.

Whatever the reason for this inconsistency, other cybercriminals will most likely try to replicate the attack, and they won't make the same mistakes.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?