KeRanger
- Type
- Ransomware
- Capabilities
- Exfiltration
- Delivery
- Cracked software
- Platforms
- macOS
KeRanger is a macOS ransomware family widely regarded as the first fully functional ransomware observed in the wild targeting OS X/macOS. It emerged in March 2016 and was distributed through a supply-chain compromise of the legitimate Transmission BitTorrent client, whose installer was trojanized and signed with a valid Apple-issued developer certificate, allowing the malware to bypass Gatekeeper protections under default settings. The campaign reportedly infected thousands of Mac users.
After execution via the compromised Transmission application, KeRanger installs and launches a hidden payload, delays activity for several days, then profiles the host and contacts attacker-controlled infrastructure reachable through Tor-related services. It retrieves cryptographic keying material and encrypts victim files using a hybrid encryption scheme involving asymmetric and symmetric cryptography. It targets user data on local systems and mounted volumes, appends a new encrypted-file extension, and drops ransom notes instructing victims to pay for decryption.
KeRanger primarily targets macOS systems and focuses on encrypting a broad range of file types associated with documents, images, archives, source code, databases, certificates, and other user data. It has been described as an early notable macOS ransomware strain and as a variant or rewrite related to Linux.Encoder.1. Apple responded by revoking the abused signing certificate and updating built-in protections, while Transmission replaced the compromised installer with a clean version and issued updates to affected users.
Techniques & procedures
6 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
OSX/Keydnap was distributed on a trusted website... via a recompiled version of the otherwise legitimate open source BitTorrent client application Transmission and distributed on their official website.
"the OSX/KeRanger authors hacked the official website for ... 'Transmission' ... infected the legitimate Transmission application"; similarly for Keydnap: "the official Transmission website ... was hacked again ... to distribute Keydnap"
Execution
1 technique
Execution
In both cases, a malicious block of code is added to the main function of the Transmission application. The code responsible for dropping and running the malicious payload is astonishingly the same.
Defense Impairment
1 technique
Defense Impairment
a legitimate code signing key was used to sign the malicious Transmission application bundle... still signed by Apple and bypasses Gatekeeper protection.
Command and Control
1 technique
Command and Control
The RC4 key used to encrypt HTTP POST data and decrypt the response changed... The hardcoded C&C URL is now hxxp://t4f2cocitdpqa7tv.onion/api/osx
Impact
1 technique
Impact
"WannaCry ransomware attack"; "CryptoLocker"; "TeslaCrypt"; "KeRanger"; "Hidden Tear"; "Jigsaw (ransomware)"; "Atlanta government ransomware attack"; "2019 Baltimore ransomware attack"; "FBI MoneyPak Ransomware"; "Annabelle (ransomware)"; "Philadelphia (ransomware)"; "Kirk Ransomware"; "Rensenware"; "Hitler-Ransomware"
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.