Free Removal Tool
11 April 2012: F-Secure now provides a free removal tool that automates the detection and removal of Flashback variants from an infected machine.
Further information and download of the tool is available in the following Labs Weblog post:
Manual Removal
Caution: Manual disinfection is a risky process; it is recommended only for advanced users. Otherwise, please seek professional technical assistance. F-Secure customers may also contact our Support.
Manual Removal Instructions
Note: These instructions only disable the malware. The overwritten XProtectUpdater files are irrecoverable.
Protection
Keep your Mac protected against the latest threats with F-Secure Anti-Virus for Mac. Try it now for 30 days for free.
Trojan-Downloader:OSX/Flashback.C poses as a Flash Player installer and connects to a remote host to obtain further installation files and configurations.
Screenshot of the Trojan-Downloader:OSX/Flashback.C installer.
To complete its installation/infection, Flashback.C requires the user to key in the administrator password.
On installation, the installer first checks if the following file is found in the system:
Little Snitch is a firewall program for Mac OS X. If the program is found, the installer will skip the rest of its routine and proceed to delete itself.
If the trojan is cleared to proceed, it connects to a remote host, identified as http://[...]93.114.43.31/counter/%encoded_strings%, with the decoded string following this format:
As of this writing, the remote host is up but it does not push anything.
Payload
Installation files and configuration returned by the host is encrypted using RC4, where the MD5 hash of the Hardware UUID of the infected system is used as the key. The decrypted content follows this format:
The installer drop copies of the payload to the following locations:
A DYLD_INSERT_LIBRARIES environment variable is also added to the targeted browsers as launch point. This is done by inserting a LSEnvironment entry to the corresponding Info.plist of the browsers.
Example:
The installer then restarts running instances of Safari and Firefox in order to take the payload into effect.
The installer also disables the built-in anti-malware feature in Mac OS X. It unloads the XProtectUpdater daemon, and then wipes out the following files: