Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to remove weknow.ac virus

My Mac Book is infected with weknow.ac virus. How can remove this virus?

MacBook, Mac OS X (10.6.8)

Posted on Sep 13, 2018 10:19 AM

Reply
Question marked as Best reply

Posted on Mar 3, 2019 2:58 PM

Here's how I solved it.


  1. I did all of the things mentioned above in Terminal with the six command lines. That still didn't work.
  2. I called Apple Support and they had me follow these steps:
    1. Go to System Preferences
    2. Click on Profiles
    3. Delete the profiles (there was one that the virus created for Safari and another for Chrome)
    4. Reopen Browsers and the problem is solved.


I'm not sure this will work for everyone, but it worked for me.


Good luck!

126 replies

Oct 26, 2018 7:38 PM in response to ChanelCinq

I am still having problems...I am sure it is a user error, but I need some help...This is what my Terminal looks like...Is this correct? Then I just close out my chrome? Do I have to uninstall it? And close out of my Terminal?

Last login: Fri Oct 26 20:26:01 on ttys000

Susans-iMac:~ SAMathis$ DefaultSearchProviderEnabled

-bash: DefaultSearchProviderEnabled: command not found

Susans-iMac:~ SAMathis$ DefaultSearchProviderName

-bash: DefaultSearchProviderName: command not found

Susans-iMac:~ SAMathis$ DefaultSearchProviderNewTabURL

-bash: DefaultSearchProviderNewTabURL: command not found

Susans-iMac:~ SAMathis$ DefaultSearchProviderSearchURL

-bash: DefaultSearchProviderSearchURL: command not found

Susans-iMac:~ SAMathis$ HomepageIsNewTabPage

-bash: HomepageIsNewTabPage: command not found

Susans-iMac:~ SAMathis$ HomepageLocation

-bash: HomepageLocation: command not found

Susans-iMac:~ SAMathis$ NewTabPageLocation

-bash: NewTabPageLocation: command not found

Susans-iMac:~ SAMathis$

Susans-iMac:~ SAMathis$

Oct 27, 2018 6:47 AM in response to grandmamathis

You need to open the "Terminal" application (use the search functionality at the top-right to find it). Then copy and paste, one by one, the commands from my above post into the terminal prompt, hitting enter after pasting each.


All I had to do then was use the command line to delete / modify the affected policies:


defaults write com.google.Chrome HomepageIsNewTabPage -bool false

defaults write com.google.Chrome NewTabPageLocation -string "https://www.google.com/"

defaults write com.google.Chrome HomepageLocation -string "https://www.google.com/"

defaults delete com.google.Chrome DefaultSearchProviderSearchURL

defaults delete com.google.Chrome DefaultSearchProviderNewTabURL

defaults delete com.google.Chrome DefaultSearchProviderName


The changes will not take effect until you restart Chrome.


I recommend following some of the other pieces of advice in this thread, ie definitely do a malware scan too.

Nov 11, 2018 2:16 PM in response to ChanelCinq

Hello ChanelCinq,


After reading so many positive replies I got excited as well. I am getting stuck at typing the mentioned commands in Terminal and it looks as below for me:


Last login: Sun Nov 11 17:06:18 on ttys000

Jigneshs-MBP:~ jiggy$ defaults write com.google.Chrome HomepageIsNewTabPage -bool false

Jigneshs-MBP:~ jiggy$

Jigneshs-MBP:~ jiggy$ defaults write com.google.Chrome NewTabPageLocation -string "https://www.google.com/"

Jigneshs-MBP:~ jiggy$

Jigneshs-MBP:~ jiggy$ defaults write com.google.Chrome HomepageLocation -string "https://www.google.com/"

Jigneshs-MBP:~ jiggy$

Jigneshs-MBP:~ jiggy$ defaults delete com.google.Chrome DefaultSearchProviderSearchURL

2018-11-11 17:13:30.021 defaults[6240:94366]

Domain (com.google.Chrome) not found.

Defaults have not been changed.

Jigneshs-MBP:~ jiggy$

Jigneshs-MBP:~ jiggy$ defaults delete com.google.Chrome DefaultSearchProviderNewTabURL


defaults delete com.google.Chrome DefaultSearchProviderName

2018-11-11 17:13:30.080 defaults[6241:94370]

Domain (com.google.Chrome) not found.

Defaults have not been changed.

Jigneshs-MBP:~ jiggy$

Jigneshs-MBP:~ jiggy$ defaults delete com.google.Chrome DefaultSearchProviderName

2018-11-11 17:13:30.136 defaults[6243:94383]

Domain (com.google.Chrome) not found.

Defaults have not been changed.

Jigneshs-MBP:~ jiggy$


Looks like, I am unable to select correct Terminal for this to function. Can you please elaborate further on actual steps involving the use of Terminal? I would really appreciate your help with this as nothing else seem to work with this issue.


Thank you.

Jan 30, 2019 6:32 PM in response to Pangelina

look for Chanelcinq's answer...........


if unable to find, here is a copy paste of his answer...


"weknow.ac" changes a group of Chrome policies so as to set a new default homepage, new tab behavior, etc. You can see your current Chrome policies by typing chrome://policy/ into your URL bar. If you're infected, it should be very obvious as the half-dozen or so policies changed by weknow will be displayed.


Use the command line to delete / modify the affected policies. You do this by opening up "Terminal" and copy and paste each of the following entries below. I did each one at a time. I copy and pasted the first line and then hit enter and then went to the next until I had finished all 6 below:


defaults write com.google.Chrome HomepageIsNewTabPage -bool false

defaults write com.google.Chrome NewTabPageLocation -string "https://www.google.com/"

defaults write com.google.Chrome HomepageLocation -string "https://www.google.com/"

defaults delete com.google.Chrome DefaultSearchProviderSearchURL

defaults delete com.google.Chrome DefaultSearchProviderNewTabURL

defaults delete com.google.Chrome DefaultSearchProviderName


Quit Chome and restart it and voila the virus will be gone. I tried everything and 3 phone calls with Apple and this was the only thing that worked.

how to remove weknow.ac virus

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