Remove Trojan.MacOS.GMERA – New macOS Malware

Trend Micro researchers recently came across a malware instance that disguised itself as a legitimate Mac-based trading app known as Stockfolio. In other words, a new Mac malware was just discovered, or more precisely – researchers came across two variants of the same malware family.

The first variant contains a pair of shell scripts and connects to a remote site to decrypt the encrypted codes. The other instance appears to be simpler in its routine but is in fact persistent in nature. The first sample Trend Micro detects as Trojan.MacOS.GMERA.A, and the second one – Trojan.MacOS.GMERA.B.

The purpose of the malware is to steal the user’s data and to upload it to a website controlled by the hackers.

Threat Summary

TypemacOS Trojan
Short DescriptionThe malware is masquerading itself as the legitimate Stockfolio app.
Symptoms The presence of a malicious zip file.
Distribution MethodThrough a website
Detection Tool See If Your System Has Been Affected by malware


Combo Cleaner

User ExperienceJoin Our Forum to Discuss Trojan.MacOS.GMERA.


This variant was discovered during a check of suspicious shell scripts. The first sample that was analyzed was a zip archive file which contained an app bundle and a hidden encrypted file. The tricky part is that the fake app is masqueraded as the legitimate Stockfolio app but the researchers were able to identify its malicious components.

The app bundle turned out to be malicious, even though it tried to look like the legitimate Stockfolio 1.4.13 version signed with the malware author’s digital certificate. A comparison between this app and the legitimate app found on the website of Stockfolio revealed a number of differences.

It should be noted that when the potential victim executes the app, a trading app interface will indeed appear. However, the malicious process will also be started in the background of the Mac machine.

>New Mac malware is being developed targeting a recently discovered macOS Gatekeeper security flaw. The malware in question is known as OSX/Linker.
OSX/Linker Malware Leverages Known Gatekeeper Vulnerability


Using the digital certificate of the first sample, the researchers successfully discovered a second variant, detected as Trojan.MacOS.GMERA.B. The malicious sample was uploaded to VirusTotal in June 2019. In similarity to the first variant, this one also contains an embedded copy of the Stockfolio app version 1.4.13 signed with the same digital certificate. The app is also launched in an identical way and is disguising its malicious process.

However, one of the main differences in the second variant, aside from the simplified routine, is the presence of a persistence mechanism possible through the creation of a property list (plist)
file: ~/Library/LaunchAgents/, the researchers discovered.

Trend Micro reached out to Apple before they published their findings. Apple said that the code signing certificate of this fake app’s developers was revoked in July.

Remove Trojan.MacOS.GMERA

If you suspect that you have been compromised by this Trojan, you can use the removal insructions below the article. However, note that the Trojan may be detected under a different name.

Milena Dimitrova

Milena Dimitrova

An inspired writer and content manager who has been with SensorsTechForum since the beginning. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles! Follow Milena @Milenyim

More Posts

Follow Me:

with SpyHunter for Mac
Trojan.MacOS.GMERA 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

Preparation Phase:

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.

Step 1: Uninstall Trojan.MacOS.GMERA and remove related files and objects

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:

2. Find Activity Monitor and double-click it:

3. In the Activity Monitor look for any suspicious processes, belonging or related to Trojan.MacOS.GMERA:

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

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 Trojan.MacOS.GMERA. If you find it, right-click on the app and select “Move to Trash”.

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 Trojan.MacOS.GMERA. Check the app you want to stop from running automatically and then select on the Minus (“-“) icon to hide it.

7. Remove any left-over 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 Trojan.MacOS.GMERA 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:

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

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

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

→ ~/Library/LaunchAgents

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

Step 2: Remove Trojan.MacOS.GMERA – related extensions from Safari / Chrome / Firefox

Remove an extension from Safari and reset it.Remove a toolbar from Google Chrome Remove 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"

stf-safari preferences

4. After that, select the 'Extensions' Tab


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

6. Click 'Uninstall'

stf-safari uninstall

A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the Trojan.MacOS.GMERA 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

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

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

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.

3. Select the Extension and click "Remove"

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.

Step 3: Scan for and remove Trojan.MacOS.GMERA files from your Mac

When you are facing problems on your Mac as a result of unwanted scripts and programs such as Trojan.MacOS.GMERA, 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 Trojan.MacOS.GMERA:


SpyHunter for Mac

Leave a Comment

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

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Share on Twitter Tweet
Share on Google Plus Share
Share on Linkedin Share
Share on Digg Share
Share on Reddit Share
Share on Stumbleupon Share