Home > Mac Viruses > How to Remove XcodeGhost Mac Malware
THREAT REMOVAL

How to Remove XcodeGhost Mac Malware

What is XCodeGhost Mac Malware? How to remove XCodeGhost Mac Malware?

The XcodeGhost Mac malware is a modified version of a real development environment. It is designed to appear just like the real program without giving out any signs that it is a dangerous strain. The main method of distribution is through various Internet portals and malicious sites. Various hacker-made pages which are optimized to appear in search engines, social networks and online communities. Many of its samples can also be found within file-sharing networks. The XcodeGhost Mac malware is generally spread through the malware web servers, in this particular case malicious hackers have uploaded numerous copies to the cloud storage services hosted by Baidu and other related portals.

The threat is contained within a compiler backdoor which makes it very easy to propagate across networks and most of the samples are difficult to detect. As soon as it has infected the system it will start to modify system services and deploying various malware content.

Infected computers with the XcodeGhost Mac Malware can be remote controlled by the hackers using the built-in Trojan client. This allows them not only to harvest sensitive data, including account credentials, but also to spy on them at all times. The security reports indicate that this also allows for various man-in-the-middle attacks to be orchestrated.

A list of the collected information done by the engine includes the following: Current time, Current infected app’s name, The app’s bundle identifier, Current device’s name and type, Current system’s language and country, Current device’s UUID and network type.

There are several advanced malware capabilities that have been reported with this particular malware:

  • Read and write from clipboard
  • Hijack opening specific URLs
  • Prompting alert dialog
  • Payload Infection

Users looking for development environments and similar software should be extra careful in order not to get infected with this virus threat.

Threat Summary

Name XcodeGhost Mac Malware
Type PUP/Rogue Application
Short Description The XCodeGhost Mac Malware is a modified version of Apple’s own Xcode development environment which is widely available used by developers using the platform. The malware can cause a lot of malicious actions.
Symptoms Modified system settings and files
Distribution Method Freeware Installers, Suspicious Sites
Detection Tool See If Your System Has Been Affected by malware

Download

Combo Cleaner

User Experience Join Our Forum to Discuss XcodeGhost Mac Malware.

XCodeGhost Mac Malware – Why Do I Have It and What Can It Do?

The XCodeGhost Mac Malware unwanted application is being effectively distributed via freeware installers and bundled packages. You can get your Mac affected by it without even being aware, that the XCodeGhost Mac Malware has installed on your machine with a freeware installation or bundled package. You might avoid this, by unchecking options under the Advanced or Custom tab of an installation suite. Visiting suspicious sites, for instance the site of the XCodeGhost Mac Malware might get the program installed to your Mac.

XCodeGhost Mac Malware is a potentially unwanted program (PUP) which is considered a dangerous threat. It can cause numerous malicious actions, including ads pop-ups (such as the one displayed a little further below).
XCodeGhost Mac Malware may pose as a legitimate application that can provide useful functionality to the users. All these programs have a valid, Apple-provided developer certificate, thus macOS will install them without prompting a warning or a notification of any sort.

Remove XCodeGhost Mac Malware

If you want to remove the XCodeGhost Mac Malware unwanted software from your Mac machine we recommend that you use a specific anti-malware for Mac systems. With a specific anti-malware program, your computer will remain with a better protection and stay healthy performance-wise in the future.

Martin Beltov

Martin graduated with a degree in Publishing from Sofia University. As a cyber security enthusiast he enjoys writing about the latest threats and mechanisms of intrusion.

More Posts

Follow Me:
Twitter

OFFER
REMOVE IT NOW (MAC)
with SpyHunter for Mac
XcodeGhost Mac Malware may remain persistent on your system and may re-infect it. We recommend you to download SpyHunter for Mac and run free scan to remove all virus files on your Mac. This saves you hours of time and effort compared to doing the removal yourself.
Free Remover allows you, subject to a 48-hour waiting period, one remediation and removal for results found. Read EULA and Privacy Policy

Steps to Prepare Before Removal:

Before starting to follow the steps below, be advised that you should first do the following preparations:

  • Backup your files in case the worst happens.
  • Make sure to have a device with these instructions on standy.
  • Arm yourself with patience.
  • 1. Scan for Mac Malware
  • 2. Uninstall Risky Apps
  • 3. Clean Your Browsers

Step 1: Scan for and remove XcodeGhost Mac Malware files from your Mac

When you are facing problems on your Mac as a result of unwanted scripts and programs such as XcodeGhost Mac Malware, the recommended way of eliminating the threat is by using an anti-malware program. SpyHunter for Mac offers advanced security features along with other modules that will improve your Mac’s security and protect it in the future.


Click the button below below to download SpyHunter for Mac and scan for XcodeGhost Mac Malware:


Download

SpyHunter for Mac


scan and remove mac virus step 1


Quick and Easy Mac Malware Video Removal Guide


Bonus Step: How to Make Your Mac Run Faster?

Mac machines maintain probably the fastest operating system out there. Still, Macs do become slow and sluggish sometimes. The video guide below examines all of the possible problems that may lead to your Mac being slower than usual as well as all of the steps that can help you to speed up your Mac.

Step 2: Uninstall XcodeGhost Mac Malware and remove related files and objects

OFFER
Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your Mac with SpyHunter for Mac
Keep in mind, that SpyHunter for Mac needs to purchased to remove the malware threats. Click on the corresponding links to check SpyHunter’s EULA and Privacy Policy

1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:

remove mac virus step 1


2. Find Activity Monitor and double-click it:

remove mac virus step 2


3. In the Activity Monitor look for any suspicious processes, belonging or related to XcodeGhost Mac Malware:

remove mac virus step 3

Tip: To quit a process completely, choose the “Force Quit” option.

remove mac virus step 4


4. Click on the "Go" button again, but this time select Applications. Another way is with the ⇧+⌘+A buttons.


5. In the Applications menu, look for any suspicious app or an app with a name, similar or identical to XcodeGhost Mac Malware. If you find it, right-click on the app and select “Move to Trash”.

remove mac virus step 5


6. Select Accounts, after which click on the Login Items preference. Your Mac will then show you a list of items that start automatically when you log in. Look for any suspicious apps identical or similar to XcodeGhost Mac Malware. Check the app you want to stop from running automatically and then select on the Minus (“-“) icon to hide it.


7. Remove any leftover files that might be related to this threat manually by following the sub-steps below:

  • Go to Finder.
  • In the search bar type the name of the app that you want to remove.
  • Above the search bar change the two drop down menus to “System Files” and “Are Included” so that you can see all of the files associated with the application you want to remove. Bear in mind that some of the files may not be related to the app so be very careful which files you delete.
  • If all of the files are related, hold the ⌘+A buttons to select them and then drive them to “Trash”.

In case you cannot remove XcodeGhost Mac Malware via Step 1 above:

In case you cannot find the virus files and objects in your Applications or other places we have shown above, you can manually look for them in the Libraries of your Mac. But before doing this, please read the disclaimer below:

Disclaimer! If you are about to tamper with Library files on Mac, be sure to know the name of the virus file, because if you delete the wrong file, it may cause irreversible damage to your MacOS. Continue on your own responsibility!

1. Click on "Go" and Then "Go to Folder" as shown underneath:

fix mac virus from launch agents step 1

2. Type in "/Library/LauchAgents/" and click Ok:

fix mac virus from launch agents step 2

3. Delete all of the virus files that have similar or the same name as XcodeGhost Mac Malware. If you believe there is no such file, do not delete anything.

fix mac virus from launch agents step 3

You can repeat the same procedure with the following other Library directories:

→ ~/Library/LaunchAgents
/Library/LaunchDaemons

Tip: ~ is there on purpose, because it leads to more LaunchAgents.



Step 3: Remove XcodeGhost Mac Malware – related extensions from Safari / Chrome / Firefox

Remove an extension from Safari and reset it.Remove a toolbar from Google ChromeRemove a toolbar from Mozilla Firefox

1. Start Safari

2. After hovering your mouse cursor to the top of the screen, click on the Safari text to open its drop down menu.

3. From the menu, click on "Preferences"

Remove Mac virus from safari step 1

4. After that, select the 'Extensions' Tab

Remove Mac virus from safari step 2

5. Click once on the extension you want to remove.

6. Click 'Uninstall'

Remove Mac virus from safari step 3

A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the XcodeGhost Mac Malware will be removed.

How to Reset Safari
IMPORTANT: Before resetting Safari make sure you back up all your saved passwords within the browser in case you forget them.

Start Safari and then click on the gear leaver icon.

Click the Reset Safari button and you will reset the browser.

1. Start Google Chrome and open the drop menu

remove mac virus from google chrome step 1

2. Move the cursor over "Tools" and then from the extended menu choose "Extensions"

remove mac virus from google chrome step 2

3. From the opened "Extensions" menu locate the add-on and click on the garbage bin icon on the right of it.

remove mac virus from google chrome step 3

4. After the extension is removed, restart Google Chrome by closing it from the red "X" in the top right corner and start it again.


1. Start Mozilla Firefox. Open the menu window

2. Select the "Add-ons" icon from the menu.

remove mac virus from mozilla firefox step 1

3. Select the Extension and click "Remove"

remove mac virus from mozilla firefox step 2

4. After the extension is removed, restart Mozilla Firefox by closing it from the red "X" in the top right corner and start it again.

XcodeGhost Mac Malware-FAQ

What is XcodeGhost Mac Malware on your Mac?

The XcodeGhost Mac Malware threat is probably a potentially unwanted app. There is also a chance it could be related to Mac malware. If so, such apps tend to slow your Mac down significantly and display advertisements. They could also use cookies and other trackers to obtain browsing information from the installed web browsers on your Mac.

Can Macs Get Viruses?

Yes. As much as any other device, Apple computers do get malware. Apple devices may not be a frequent target by malware authors, but rest assured that almost all of the Apple devices can become infected with a threat.

What Types of Mac Threats Are There?

According to most malware researchers and cyber-security experts, the types of threats that can currently infect your Mac can be rogue antivirus programs, adware or hijackers (PUPs), Trojan horses, ransomware and crypto-miner malware.

What To Do If I Have a Mac Virus, Like XcodeGhost Mac Malware?

Do not panic! You can easily get rid of most Mac threats by firstly isolating them and then removing them. One recommended way to do that is by using a reputable malware removal software that can take care of the removal automatically for you.

There are many Mac anti-malware apps out there that you can choose from. SpyHunter for Mac is one of the reccomended Mac anti-malware apps, that can scan for free and detect any viruses. This saves time for manual removal that you would otherwise have to do.

How to Secure My Data from XcodeGhost Mac Malware?

With few simple actions. First and foremost, it is imperative that you follow these steps:

Step 1: Find a safe computer and connect it to another network, not the one that your Mac was infected in.

Step 2: Change all of your passwords, starting from your e-mail passwords.

Step 3: Enable two-factor authentication for protection of your important accounts.

Step 4: Call your bank to change your credit card details (secret code, etc.) if you have saved your credit card for online shopping or have done online activiites with your card.

Step 5: Make sure to call your ISP (Internet provider or carrier) and ask them to change your IP address.

Step 6: Change your Wi-Fi password.

Step 7: (Optional): Make sure to scan all of the devices connected to your network for viruses and repeat these steps for them if they are affected.

Step 8: Install anti-malware software with real-time protection on every device you have.

Step 9: Try not to download software from sites you know nothing about and stay away from low-reputation websites in general.

If you follow these reccomendations, your network and Apple devices will become significantly more safe against any threats or information invasive software and be virus free and protected in the future too.

More tips you can find on our MacOS Virus section, where you can also ask any questions and comment about your Mac problems.

About the XcodeGhost Mac Malware Research

The content we publish on SensorsTechForum.com, this XcodeGhost Mac Malware how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific macOS issue.

How did we conduct the research on XcodeGhost Mac Malware?

Please note that our research is based on an independent investigation. We are in contact with independent security researchers, thanks to which we receive daily updates on the latest malware definitions, including the various types of Mac threats, especially adware and potentially unwanted apps (PUAs).

Furthermore, the research behind the XcodeGhost Mac Malware threat is backed with VirusTotal.

To better understand the threat posed by Mac malware, please refer to the following articles which provide knowledgeable details.

Leave a Comment

Your email address will not be published. Required fields are marked *

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.
I Agree