Lucian Constantin
CSO Senior Writer

This tool can block ransomware on Mac OS X, for now

News
Apr 21, 20163 mins

The RansomWhere? tool detects when ransomware programs start encrypting files and then blocks them

A security researcher has created a free security tool that can detect attempts by ransomware programs to encrypt files on users’ Macs and then block them before they do a lot of damage.

Called RansomWhere? the application is the creation of Patrick Wardle, director of research and development at security firm Synack. It’s meant to detect and block the encryption of files by untrusted processes.

The tool monitors users’ home directories and detects when encrypted files are rapidly created inside them — a telltale sign of ransomware activity.

When such activity is detected, RansomWhere? determines the process responsible and suspends it. To limit false positives — legitimate encryption programs being detected as ransomware — the tool whitelists all applications signed by Apple and most of those that already exist on the computer when RansomWhere? is first installed.

This means that in order to work as expected, the tool needs to be installed on computers that haven’t already been infected with ransomware. The tool also won’t work if any ransomware programs that later infect the computer hijack or inject code into Apple-signed applications and use them to encrypt files.

ransomwhere alert prompt Patrick Wardle

RansomWhere? alert prompt.

When RansomWhere? suspends an encryption process, it prompts the user to allow the operation to continue or to terminate it. This provides users with an opportunity to whitelist legitimate encryption programs they know and trust.

While good at blocking opportunistic ransomware attacks in general, RansomWhere? does not provide perfect protection, nor does it claim to have a 100 percent detection rate.

First of all, RansomWhere?’s blocking mechanism will only kick in after a ransomware program has encrypted a few files. Their number should be in the single digits, though.

“RansomWhere? was designed to generically stop OS X ransomware,” Wardle said in a blog post. “However several design choices were consciously made — to facilitate reliability, simplicity, and speed — that may impact its protection capabilities. First, it is important to understand that the protections afforded by any security tool, if specifically targeted, can be bypassed. That is to say, if a new piece of OS X ransomware was designed to specifically bypass RansomWhere? it would likely succeed.”

Until recently, ransomware creators have almost exclusively targeted Windows computers, but that has started to change. There are already ransomware variants that infect Linux-based Web servers, and researchers have created proof-of-concept ransomware programs for OS X to show the platform can be affected.

In February, malware researchers spotted a new ransomware program being sold on cybercriminal forums that had versions for both Windows and Mac. Then in March, Mac users were hit by KeRanger, the first ever OS X ransomware found in the wild.

As the competition among ransomware creators intensifies, many of them will likely to branch out to other platforms in search of new victims. Mac users are certainly an attractive target.

Lucian Constantin

Lucian Constantin writes about information security, privacy, and data protection for CSO. Before joining CSO in 2019, Lucian was a freelance writer for VICE Motherboard, Security Boulevard, Forbes, and The New Stack. Earlier in his career, he was an information security correspondent for the IDG News Service and Information security news editor for Softpedia.

Before he became a journalist, Lucian worked as a system and network administrator. He enjoys attending security conferences and delving into interesting research papers. He lives and works in Romania.

You can reach him at lucian_constantin@foundryco.com or @lconstantin on X. For encrypted email, his PGP key's fingerprint is: 7A66 4901 5CDA 844E 8C6D 04D5 2BB4 6332 FC52 6D42

More from this author