Skip to content
  • Active
  • Severity: Medium
  • Mac Viruses
  • Mac
  • Verified · Mar 2020

How to remove Libexec virus

A step-by-step removal guide for affected devices. Follow the verified procedure below — most readers complete it in under 10 minutes.

Linas Kiguolis · Expert in social media

Libexec virus is a Trojan that targets Macs and downloads adware apps in the background without permission

Libexec virus

Libexec virus is a malware component that belongs to the prominent AdLoad malware family that targets Macs exclusively. The unwanted app typically lands on users' systems during the installation of freeware acquired from a third-party website or after users get tricked by fake Flash update prompts.[1] Once inside, Libexec abuses AppleScript app in order to launch shell scripts in the background and insert additional payloads without permission.

Because Libexec performs its malicious activities in the background, many users will only notice strange symptoms that deteriorate their computer usage time. For example, adware apps may change the settings of Google Chrome, Safari, or Mozilla Firefox without permission, redirect to unknown/suspicious sites, ask to purchase a full license for some scamware app like Advanced Mac Cleaner and display intrusive pop-ups or other ads on all websites. While these symptoms are not universal between the infected, Libexec virus removal is necessary for every user's safety.

Name Libexec virus
Type Mac malware, Mac virus
A part of PUP.Optional.AdLoad
Infiltration  Most users allow mac-related infections when they install freeware/shareware from third-party websites or get tricked by fake update prompts, such as Flash or Java 
Symptoms 
  • Unknown browser extensions or applications installed without permission;
  • New tab address, homepage and the search engine of the web browser altered;
  • Intrusive advertisements are delivered on all visited websites;
  • Suspicious pop-up message showing up regularly, etc.
Dangers  Sensitive information leak to unknown parties (cybercriminals), installation of other adware/malware, monetary loss due to encountered scams, etc. 
Related  Shlayer Trojan
Termination  You can follow our guide below, although the best way to terminate the malware is by using anti-malware software like SpyHunterCombo Cleaner or MalwarebytesMalwarebytes
Optimization If your macOS is underperforming even after you eliminate the virus, it may be because of lack of space on your machine. You could employ FortectIntego in order to clear unwanted files, speeding up your machine in the process.

The main goal of the Libexec virus is to gain revenue from unsolicited advertisements that are injected directly into users' web browsers. To achieve that, the malware performs several changes to the operating system, including modifications to the web browsers. As a result, victims may find unexpected extensions installed on their browsers, homepage/new tab address set to something different – these settings cannot be reset.

During its operation, the Libexec virus may try to connect to various domains in the background in order to deliver advertisements – these are usually based on the location. For example, a user in Germany will see German commercial content, while a user in the U.S. will be delivered ads in English. Without a doubt, clicking on such Libexec ads should not be an option, as it may result in the infiltration of even more adware or malware.

Possibly the most dangerous trait of the Libexec virus is its data-gathering activities. In most cases, regular adware infections that plague Mac computers collect such data as the IP address, geo-location sites visited, links clicked, ads interacted with, system information, installed apps and their versions, etc. However, Libexec malware can also gather even sensitive information, such as credit card details or login credentials of various accounts.

Libexec malware

It is important to note that /usr/libexec/trustd folder, where the malware name originates from, is a legitimate macOS file. Nevertheless, several users reported that once infected, they experience the pop-up message every ten minutes or so – it reads:

Infection: User: _analyticsd Process: /usr/libexec/xpcproxy File: /System/Library/PrivateFrameworks/CoreAnalytics.framework/Support/analyticsd

Because Libexec virus downloads other payloads, it is also known that it may also upload such threats like Shlayer Trojan on the macOS. The functionality of the malware is exactly the same – it uses elevated permissions and signed applications in order to avoid Apple's defenses and install even more adware in the background.

Therefore, to remove the Libexec virus comprehensively, we highly recommend scanning the machine with reputable anti-malware software. In case you are struggling with space on the device, make use of FortectIntego optimizer to clear it for you, speeding up your machine in the process.

Avoid Mac malware – be attentive while browsing online

Trojans are a type of computer infections that pose as something else before they are installed on the system. For example, a user who visits a torrent site and attempts to download a pirated software installer might think that is what he/she is getting, while in reality, a malware payload may be installed. Essentially, Trojans can be programmed to do a variety of different things on the device, so the functionality varies.

Generally, Mac is still considered a relatively secure operating system when compared to Windows or Android,new malware has been developed over the recent years,[2] and macOS users suffer from scamware,[3] adware, and malware infections more frequently. Mac is considered to be more secure due to built-in defenses such as the GateKeeper, although threat actors find new ways to bypass these systems.

Most commonly, macOS users get infected with Mac malware when they allow the unsolicited program to enter the machine. Without a doubt, they usually get tricked – either by software bundle installers or fake (Flash) updates. Once inside the system, the virus can perform the necessary changes to operate as intended.

Libexec virus distribution

Here are some tips that would help you prevent the most malicious software from accessing your device:

  • If possible, install new apps from legitimate sources instead of third-party ones;
  • When dealing with the installation wizard, do not rush through steps;
  • Watch out for pre-ticked boxes, misleading offers, fine print text, misplaced buttons, etc.;
  • Opt for Advanced/Custom installation method instead of Recommended/Basic/Quick one when prompted;
  • Employ reputable anti-malware software that can protect your machine at all times;
  • Do not use Flash – it is not needed by regular users, as the technology has been replaced a long time ago with HTML 5, and soon to be discontinued by Adobe[4] (basically, all the prompts to update Flash you see through your browser are fake and will only result in malware infection).

Eliminate Libexec malware from your Mac securely

Because the malware downloads other payloads and modifies the system, manual Libexec virus removal might be a little tricky. As a general rule, most of the apps that you cannot eliminate by simply dragging them to Trash should not be considered as safe. However, adware and malware authors that target macOS rely on this – they scatter various files and insert entries all over the system. If you want to attempt to remove Libexec virus manually, check for malicious entries in the following locations:

/Library/Application Support/
/Library/LaunchAgents/
/Library/LaunchDaemons/
Library/PrivilegedHelperTools/
/System/Library/Frameworks/

However, if you are unsure of what you are doing and afraid you may delete necessary files, you should instead employ anti-malware software compatible with Macs – if you can locate and get rid of all malicious entries automatically. Note that, to regain the healthy operation of your web browser, you should also reset it as per instructions below – do this after you get rid of Libexec malware.

Delete from macOS

Remove the unwanted application:

  1. From the menu bar, select Go > Applications.
  2. In the Applications folder, look for any suspicious entries, then drag them to Trash (or right-click and pick Move to Trash).Uninstall from Mac

Delete leftover files and folders:

  1. Select Go > Go to Folder.
  2. Enter /Library/Application Support and remove any suspicious folders related to the unwanted program.
  3. Repeat the same check in the /Library/LaunchAgents and /Library/LaunchDaemons folders, deleting any suspicious entries.Delete leftover files from Mac
  4. Finally, empty the Trash to permanently remove the leftovers.

Remove from Mozilla Firefox (FF)

Remove dangerous extensions:

  1. Open Mozilla Firefox browser and click on the Menu (three horizontal lines at the top-right of the window).
  2. Select Add-ons.
  3. In here, select the unwanted extension and click Remove.Remove extensions from Firefox

Reset the homepage:

  1. Click three horizontal lines at the top right corner to open the menu.
  2. Choose Settings.
  3. Under Home, set your preferred homepage and new tab settings.

Clear cookies and site data:

  1. Click Menu and pick Settings.
  2. Go to Privacy & Security section.
  3. Scroll down to locate Cookies and Site Data.
  4. Click on Clear Data...
  5. Select Cookies and Site Data and Temporary cached files and pages, then click Clear.Clear cookies and site data from Firefox

Reset Mozilla Firefox

If clearing the browser as explained above did not help, reset Mozilla Firefox:

  1. Open Mozilla Firefox browser and click the Menu.
  2. Go to Help and then choose Troubleshooting Information.Reset Firefox 1
  3. Under Give Firefox a tune up section, click on Refresh Firefox...
  4. Once the pop-up shows up, confirm the action by pressing on Refresh Firefox.Reset Firefox 2

Remove from Google Chrome

Delete malicious extensions from Google Chrome:

  1. Open Google Chrome, click on the Menu (three vertical dots at the top-right corner) and select More tools > Extensions.
  2. In the newly opened window, you will see all the installed extensions. Uninstall all suspicious extensions related to the unwanted program by clicking Remove.Remove extensions from Chrome

Clear cache and web data from Chrome:

  1. Click on Menu and pick Settings.
  2. Under Privacy and security, select Clear browsing data.
  3. Select Browsing history, Cookies and other site data, as well as Cached images and files.
  4. Click Clear data.Clear cache and web data from Chrome

Change your homepage:

  1. Click menu and choose Settings.
  2. Look for a suspicious site in the On startup section.
  3. Click on Open a specific or set of pages and click on three dots to find the Remove option.

Reset Google Chrome:

If the previous methods did not help you, reset Google Chrome to eliminate all the unwanted components:

  1. Click on Menu and select Settings.
  2. In the Settings, scroll down and click Advanced.
  3. Scroll down and locate Reset and clean up section.
  4. Now click Restore settings to their original defaults.
  5. Confirm with Reset settings.Reset Chrome 2

Delete from Safari

Remove dangerous extensions:

  1. Open Safari, click Safari in the menu at the top-left of the screen, and select Preferences.
  2. Go to the Extensions tab, look for any suspicious entries, and click Uninstall to remove them.Remove extensions from Safari

Clear history and website data:

  1. Click Safari in the menu and pick Clear History.
  2. Set Clear to all history and confirm with Clear History.Clear history from Safari

Reset Safari:

  1. Click Safari in the menu and select Preferences > Advanced.
  2. Enable Show Develop menu in menu bar.
  3. From the menu bar, click Develop and select Empty Caches.Reset Safari

Did this guide help?

Be the first to comment

Spyware News
Privacy preferences

We use cookies to improve your experience and analyze traffic. Some cookies enable embedded content like videos and social posts. Choose what you allow — you can change this anytime.