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 Good Gear Guide newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Father’s Day Gift Guide

Most Popular Reviews

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?