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

Yahoo Search Virus

Hi there,


All of a sudden my safari search engine has decided to use yahoo, despite my settings saying otherwise. I have checked extensions in my safari preference and there are none, yet this still occurs when i go and try to search something. From some research online it said to update my macbook to the latest update, which brings me to my next problem, my macbook is unable to download them despite a stable internet connection. I constantly get a network connection error when trying to download these updates.


Any help would be great appreciated thanks!

MacBook Pro Retina

Posted on Nov 27, 2020 8:10 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 27, 2020 12:53 PM

I understand your desired Search Engine is being ignored, and that you are unable to upgrade macOS. Solve the first problem first, which is always a good idea prior to installing a macOS upgrade.


To ascertain the cause so that you can eliminate it, start by inspecting the contents of the following folder:


~/Library/LaunchAgents


To open that folder, copy the entire line above and paste it in the Finder's Go menu > Go to Folder... field. Make it look like this:



... and click the Go button.


A Finder window will open. Make sure all its file names are readable by selecting View > as List or other selection that shows that folder's complete contents. Then, take a screenshot of that Finder window.



Often, there is nothing in that Launch Agents folder so don't be surprised to find it empty.


In the same manner as the above, navigate to this next folder:


/Library/LaunchDaemons


The Finder's Go menu > Go to Folder... field should look like this:



... and click the Go button once again.


Once again ensure all its files and their names are readable and capture a screenshot.


Then, repeat that exercise with the following folder:


/Library/LaunchAgents


Notice its pathname is different than the other two. The Finder's Go menu > Go to Folder... field should look like this:



In the end, you will have captured the contents of the following three separate folders:


~/Library/LaunchAgents

/Library/LaunchDaemons

/Library/LaunchAgents


All three will be saved to your Mac's Desktop with names "Screen Shot... " followed by the date and time they were captured. Please be sure to include or otherwise indicate the name of the folder that corresponds to each screenshot, so that you and I can keep track of which ones they are.


Post the entire contents of all three windows, one at a time, using the "picture" icon that appears below your reply text:


Similar questions

14 replies
Question marked as Top-ranking reply

Nov 27, 2020 12:53 PM in response to Ladwa

I understand your desired Search Engine is being ignored, and that you are unable to upgrade macOS. Solve the first problem first, which is always a good idea prior to installing a macOS upgrade.


To ascertain the cause so that you can eliminate it, start by inspecting the contents of the following folder:


~/Library/LaunchAgents


To open that folder, copy the entire line above and paste it in the Finder's Go menu > Go to Folder... field. Make it look like this:



... and click the Go button.


A Finder window will open. Make sure all its file names are readable by selecting View > as List or other selection that shows that folder's complete contents. Then, take a screenshot of that Finder window.



Often, there is nothing in that Launch Agents folder so don't be surprised to find it empty.


In the same manner as the above, navigate to this next folder:


/Library/LaunchDaemons


The Finder's Go menu > Go to Folder... field should look like this:



... and click the Go button once again.


Once again ensure all its files and their names are readable and capture a screenshot.


Then, repeat that exercise with the following folder:


/Library/LaunchAgents


Notice its pathname is different than the other two. The Finder's Go menu > Go to Folder... field should look like this:



In the end, you will have captured the contents of the following three separate folders:


~/Library/LaunchAgents

/Library/LaunchDaemons

/Library/LaunchAgents


All three will be saved to your Mac's Desktop with names "Screen Shot... " followed by the date and time they were captured. Please be sure to include or otherwise indicate the name of the folder that corresponds to each screenshot, so that you and I can keep track of which ones they are.


Post the entire contents of all three windows, one at a time, using the "picture" icon that appears below your reply text:


Nov 27, 2020 2:27 PM in response to Ladwa

Getting rid of adware is easy and doesn't require installing anything else. To fix it follow the instructions below. To learn how not to make that mistake again, please read How to install adware.



First, ensure you have a reliable backup of your Mac, in case something should go wrong with continued troubleshooting. To learn how to do that, please read Back up your Mac with Time Machine.


  • A backup is a fundamental prerequisite regardless of whatever method you may choose uninstall adware, and would apply even if your Mac were running perfectly well. Do not overlook this fundamental requirement. It's important.


Next: This step will prevent the scam products from loading so that they can be removed while they are inactive. Restart in "Safe Mode", and log in: Use safe mode to isolate issues with your Mac. Starting in Safe Mode takes longer than usual so let it finish. The rogue processes affecting that Mac are inoperative in "Safe Mode".


The following files and / or folders need to be deleted while using your Mac in "Safe Mode":


First screenshot:



Second screenshot:



Nothing needs to be deleted from the folder in the third screenshot.


Drag those selections of files to the Trash. You may be asked to authenticate. Confirm they are no longer present in each of those folders.


Next: open Safari and select the Safari menu > Preferences... > Extensions. If you see any Safari Extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone. No Safari Extensions are required for normal operation. Then, select the General pane and review your Homepage selection. Repeat those equivalent actions for any other browser you may use (Brave, Firefox, or Opera for example).


There may also be adware-associated app icons in your Mac's Applications folder. Open it and examine its contents. Any unwanted or mysterious app icons should be obvious to you, but again please don't remove anything if you are uncertain—ask first. Identify any suspicious apps by name, or post another screenshot.


Next: In an abundance of caution, examine System Preferences > Extensions. Determine if there are any System Extensions that may have been installed without your knowledge. Ask if you're uncertain.


Remaining in System Preferences, check for the presence of any Profiles. Profiles are installed by organizations with a need to manage Macs deployed in institutional corporate or educational environments (for example), but have also been exploited by adware creators and similar malcontents. If any Profiles are installed on your Mac an icon like this will appear in System Preferences:



If you see that icon in System Preferences, select it. To remove a Profile, select it, then click the [—] (minus) button and authenticate.


Remaining in System Preferences, open Users & Groups. Select your User Account's Login Items. You may or may not find those Applications in its list. If you do, select them then click the [—] (minus) button to remove them from Login Items.


You can then restart your Mac and log in as usual. Evaluate its operation and ensure everything is working as you expect it should.


Next: if you want to eradicate all remaining adware remnants post a screenshot of the following folder, in the same manner as you did earlier:


~/Library/Application Support


It is normal for that folder to contain many items, but anything associated with the above adware may contain identical names. If you find a folder or folders bearing those names, drag those folders to the Trash. Without the files you already removed or the reintroduction of similar malware, they can do nothing but occupy space. These can be removed if you wish, but again don't remove anything if you are uncertain.


Finally: If any of the above actions result in abnormal operation or if something else stops working, the easiest way to recover would be to restore the Time Machine backup you created as a prerequisite, so the importance of that fundamental step cannot be overemphasized.

Nov 27, 2020 6:20 PM in response to John Galt

John Galt wrote:

You're not doing anything wrong, but if the actions I described don't work I have nothing else to suggest.


... other than to make sure you really are starting your Mac in "Safe Mode". That's a prerequisite for fixing the problem, as well as a fundamental troubleshooting procedure.


If you don't get anywhere and you still want to upgrade to Big Sur, then I strongly recommend complying with Apple's upgrade instructions: How to upgrade to macOS Big Sur - Apple Support.


Specifically, Step 2 describes the necessity for a backup. It would be irresponsible of me to suggest disregarding it, even if you weren't contemplating a macOS upgrade.

Nov 27, 2020 4:27 PM in response to Ladwa

Please re-examine the contents of those three folders:


~/Library/LaunchAgents

/Library/LaunchDaemons

/Library/LaunchAgents


The three files you deleted should be gone. If they or similarly named files reappear, then check System Preferences for the presence of a Profiles pane:



If you see that icon in System Preferences, select it. To remove a Profile, select it, then click the [—] (minus) button and authenticate.


You can determine your Mac is in Safe Mode by the presence of the words Safe Mode in red at the top of the screen when you log in. Or, (Apple menu) > System Preferences... > System Report > Software.


Check for the words "Boot Mode: Safe" If you see "Boot Mode: Normal" then it's not in Safe Mode.

Nov 27, 2020 3:39 PM in response to John Galt

Hi John,


I have an issue with the backup. I do not possess any external hard drive other than a USB stick (of low storage) that would be able to back up the files on my mac. I am rather new to this process but from what I understand is that in safe mode I could potentially lose all files on this mac? Could you possibly explain further the details involved with this process?


Many Thanks,

Saul

Nov 27, 2020 4:01 PM in response to Ladwa

You can proceed with my instructions, but without a backup you should know you have already been at risk of losing all the data on that Mac. There is nothing particular about Safe Mode or any other of those instructions that change that fact.


I don't even recommend emptying the Trash so even that step is undoable should you want to revert whatever changes you make.


By definition, if you don't have a backup of your Mac then you do not care about permanently losing all its data. In fact such permanent, catastrophic, irretrievable data loss is 100% guaranteed to occur—eventually. Some people are perfectly ok with that; I just mention it because some people are shocked when they hear it expressed that way.

Nov 27, 2020 4:18 PM in response to John Galt

Hi John,


As per your instructions, I believe i rebooted in safe mode and deleted those files and removed them from trash. However, the problem is still occurring in safari. Have I not rebooted in safe mode properly?, and is there another way to try this? (I am unsure if I was in safe mode)

Note: no files have been lost that I am aware of


Many Thanks,

Saul


Nov 27, 2020 4:34 PM in response to John Galt

Hi John,


There was no safe mode in reed when i deleted those files earlier. Is this a problem? Furthermore, I have checked the three folders you have specified and the files are not there. Also, there are no profiles prevalent when i checked on the profile panel. Sorry if I have done something wrong I m rather new to this.


Many Thanks,

Saul

Yahoo Search Virus

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