HandBrake-1.0.7.dmg from the mirror download.handbrake.fr carried the Proton remote access trojan for macOS between 2 and 6 May 2017.
The primary mirror was not affected. The HandBrake team told users who downloaded in that window that they had a 50/50 chance of infection.
What happened
Attackers compromised one download mirror and replaced the HandBrake installer for Mac with a copy that carried malware.
- The affected file was
HandBrake-1.0.7.dmgfromdownload.handbrake.fr. - The malware was Proton RAT. It let attackers steal data and open VNC and SSH connections.
- It monitored keystrokes, uploaded and downloaded files, and controlled the webcam.
- It showed fake authentication windows.
- CSO reports that researchers saw genuine Apple code-signing signatures on the malware.
The exposure window was 02 May 2017 14:30 UTC to 06 May 2017 11:00 UTC.
Affected versions
- HandBrake 1.0.7 for macOS, as
HandBrake-1.0.7.dmg. - Only copies downloaded from
download.handbrake.frfrom 2 May to 6 May 2017. - Not affected: copies from the primary mirror, and updates through the built-in updater, which checks a DSA signature.
Indicators of compromise
- SHA-256 of the bad DMG:
013623e5e50449bbdf6943549d8224a122aa6c42bd3300a1bd2b743b01ae6793. - Process name
Activity_agentin Activity Monitor. - Folder
~/Library/RenderFiles/activity_agent.app. - Launch agent
~/Library/LaunchAgents/fr.handbrake.activity_agent.plist. - File
~/Library/VideoFrameworks/proton.zipif present.
How to check
Hash the DMG you downloaded and compare it with the SHA-256 above.
shasum -a 256 ~/Downloads/HandBrake-1.0.7.dmg
Then look for the malware files. A hash match, any of these files, or a running Activity_agent process means you are infected.
ls ~/Library/RenderFiles/activity_agent.app ~/Library/LaunchAgents/fr.handbrake.activity_agent.plist; pgrep -il activity_agent
What to do now
- Run the removal steps from the HandBrake team:
launchctl unload ~/Library/LaunchAgents/fr.handbrake.activity_agent.plistthenrm -rf ~/Library/RenderFiles/activity_agent.app. - Delete
~/Library/VideoFrameworks/proton.zipif it exists. Delete every HandBrake.app copy that came from the bad DMG. - Change every password stored in the macOS Keychain and in your browsers. The HandBrake team states you must do this.
- Run an up-to-date Mac antivirus scan, and install HandBrake from a verified source.
Frequently asked questions
Which HandBrake version was infected with Proton RAT?
HandBrake 1.0.7 for macOS, in the file HandBrake-1.0.7.dmg, downloaded from download.handbrake.fr between 2 and 6 May 2017.
How do I know if HandBrake infected my Mac?
Look for a process named Activity_agent in Activity Monitor, or the folder ~/Library/RenderFiles/activity_agent.app. Also check the DMG SHA-256.
Sources
Send this page to the person who looks after AI at your company.