how to protect mac from trojan virus

I keep getting alerts about trojan virus. how do i protect my mac.

Posted on Jul 16, 2016 8:10 AM

Reply
2 replies

Jul 16, 2016 8:19 AM in response to sdantalia

You are likely just getting popup that wants you do to do something, you do not have a virus.

Stop pop-up ads and adware in Safari

https://support.apple.com/en-us/HT203987

Phony "tech support" / "ransomware" popups and web pages

https://discussions.apple.com/docs/DOC-8071

Viruses, Trojans, Malware - and other aspects of Internet Security

https://discussions.apple.com/docs/DOC-8573

Effective defenses against malware and other threats

https://discussions.apple.com/docs/DOC-8841

Jul 16, 2016 10:07 AM in response to sdantalia

Don't use any kind of "anti-virus" or "anti-malware" product on a Mac. There is never a need for it, and relying on it for protection makes you more vulnerable to attack, not less.

Your problem is most likely not caused by malware. It's a Web scam that only affects the browser, and only temporarily. There are several ways to recover.

1. If you're running Safari 9.1 or later, just close the window or tab. Then go to Step 6.

2. If you're running an older version of Safari, the easiest thing to do is to force quit the browser. Relaunch it by holding down the shift key and clicking its icon in the Dock, the LaunchPad, or the Applications folder.

You will lose the state of other open tabs and windows. Either Step 3, Step 4, or Step 5 may enable you to keep that state information. If those steps don't work, fall back to Step 2.

3. If there is a checkbox in the popup marked

Don't show more alerts from this web page

check it, then close the popup.

4. Press the key combination command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page may close. If that doesn't happen, press and hold command-W. You may hear repeating alert sounds. While holding the keys, click the OK button in the popup. A different popup may appear, which you can cancel out of as usual.

5. From the Safari menu bar, select

Safari ▹ Preferences... ▹ Security

and uncheck the box marked Enable JavaScript.

6. After closing the malicious page, select from the menu bar

Safari Preferences... Privacy Remove All Website Data

to get rid of any cookies or other data left by the server. Open the Downloads folder and delete anything you don't recognize.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to protect mac from trojan virus

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.