I broke Safari trying to get rid of Flashback malware. How do I fix it?
I foolishly tried following the instructions on the CNET site for finding if I have the Flashback malware and supposedly fixing it:
On the page, it says to run this command in Terminal and that if it returns a path result that you have the malware:
defaults read /Applications/Safari.app/Contents/Info LSEnvironment
When I ran the above, it gave me the following:
"DYLD_INSERT_LIBRARIES" = "/Applications/safari.app/contents/resources/.PassmarkMonitorTestV.xsl"
Based on the instructions on the CNET site, I believed that this file was infected and I deleted it, even though it was a hidden file. I followed the rest of the instructions on the page as well, which would supposedly "reset" the infected application, but this didn't work.
I now can't run Safari, It would apear that the file deleted was necessary for it to run.
I tried downloading Safari from the apple.com website so that I can reinstall it, but when I ran the installer, it said I couldn't use it because there was a newer version already on my machine.
I'm running Mac OS X Snow Leopard. I'm not sure what version of Safari I'm running (I can't open Safari) but it must be higher than the version on Apple's site, which is 5.1.4.
Here is the Safari error report:
Process: | Safari [516] |
Path: | /Applications/Safari.app/Contents/MacOS/Safari |
Identifier: | com.apple.Safari |
Version: | ??? (???) |
Build Info: | WebBrowser-75345503~2 |
Code Type: | X86-64 (Native) |
Parent Process: launchd [98]
Date/Time: | 2012-04-05 21:14:59.436 -0400 |
OS Version: | Mac OS X 10.6.8 (10K549) |
Report Version: 6
Interval Since Last Report: | 2686299 sec |
Crashes Since Last Report: | 13 |
Per-App Crashes Since Last Report: 7
Anonymous UUID: | ****** |
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
could not load inserted library: /Applications/Safari.app/Contents/Resources/.PassmarkMonitorTestV.xsl
Binary Images:
0x7fff5fc00000 - | 0x7fff5fc3be0f dyld 132.1 (???) <29DECB19-0193-2575-D838-CF743F0400B2> /usr/lib/dyld |
How can I repair my Safari installation?
<Edited By Host>
MacBook (13-inch Aluminum Late 2008), Mac OS X (10.6.8)