Home > Trojan > CoffeeMiner Malware Virus – How to Detect And Remove It

CoffeeMiner Malware Virus – How to Detect And Remove It

remove CoffeeMiner malware monero miner virus stf

This article reveals how to remove the CoffeeMiner Monero cryptocurrency miner virus from your computer.

The CoffeeMiner malware is an advanced virus that can infect many computers at once and their resources in order to perform complex crypto currency operations (also known as mining) that generate income for the hacker operators. It can also be used to deliver additional threats to the victims.

Threat Summary

Name CoffeeMiner
Type Miner Trojan Horse
Short Description Aims to use the system’s resources of the infected computers to mine for Monero and other crypto currencies.
Symptoms After infection the miner overloads the CPU for extended periods of time which results in poor PC performance and system crashes.
Distribution Method Networks attacks, exploits, emails, scam sites and malware downloads.
Detection Tool See If Your System Has Been Affected by malware


Malware Removal Tool

User Experience Join Our Forum to Discuss CoffeeMiner.

CoffeeMiner Malware — Distribution Methods

The CoffeeMiner malware is an advanced threat that has just been reported by the security community. Instead of utilizing traditional approaches it is mostly directed at victims using a complex MITM (Man-In-The-Middle) injection attack.

According to the predefined scenario the hackers execute a public Wi-Fi spoof. The reports indicate that the CoffeeMiner malware has already been tested in a real-world example case to prove that it works.

Not only do the infections can be deployed using custom behavior patterns, the whole scenario can be deployed using a virtual machine as well. One of the detailed guides showcase how this can be achieved using the popular Kali Linux distribution. The criminal controllers have demonstrated how all three types of users can be simulated — the victim, attacker and gateway device.

The CoffeeMiner malware infection can be initiated by starting an ARP poisoning attack on the network to which the targets are connected. These are usually popular public Wi-Fi networks that belong to locations such as the following:

  • Coffeee Shops
  • Restaurants
  • Bars
  • City Parks
  • Shopping Malls
  • Airports

Once this is done another tool is used to analyze the traffic and input dangerous JavaScript code into the transmitted HTML pages. This means that while the victim users are browsing Internet pages they can be infected with the CoffeeMiner malware. This includes even legitimate sites and secured content as the dangerous code does not originate from the servers, but the network itself.

Traditional malware infection routes include the following tactics:

  • Email Messages — The computer criminals can generate email messages based on templates that can include attachments or links to files containing virus files. In other cases social engineering may be used to coerce the victims into connecting to the rogue network.
  • Infected Files — Dangerous and/or spoofed files can be hosted on file sharing sites, communities, portals and Torrent trackers.
  • Redirects — Web Scripts, redirects and ads can institute the dangerous Miner code into the browsers.
Related Story: PyCryptoMiner Targets Linux Machines to Mine for Monero

CoffeeMiner Malware — More Details

CoffeeMiner Malware image

The CoffeeMiner malware is a Python-based virus that poses a serious threat to computer users. Its main method of execution relies on manipulating computer users into connecting to a rogue network via a wireless (Wi-Fi) connection. Once the infected hosts are in range the MITM attack is initiated either manually or by following an predefined attack pattern:

  1. The hacker controllers or the scripts automatically selects the target victims from all available connected clients to the rogue network.
  2. The file injection is done using JavaScript code to the browsers. The hackers employ in order to fool the browsers into executing the dangerous code.
  3. The crypto currency miner starts to mine the designated crypto currency (Monero) using predefined settings.
  4. All affected devices on the rogue network are configured to report back to the host that started the infection.

The JavaScript miner code is executed on the target hosts. The proof-of-concept coed and demonstrations used the CoinHive code which mines the Monero cryptocurrency (XMR). This is one of the most popular alternatives to the Bitcoin currency as it is privacy-centric and has become very popular in the last few months. Further modifications of the code can institute two types of malware infections. The first and more common miner installation is the in-browser execution which automatically starts the miner software once the infected web browser is opened. The persistent infiltration burrows itself deep into the operating system and launched itself when the computer is booted. Certain versions can use advanced techniques to protect themselves from removal.

Advanced virus strains and customized versions of the CoffeeMiner malware can also be used to institute other system changes. This can either disrupt the normal functioning of the computers or result in additional malware delivery. If the behavior patterns are configured to run in a multi-stage delivery then the initial post-infection phase can include a stealth protection module. It is used to scan the computer for the presence of any anti-virus products, sandboxes, debugging tools and virtual machines. If the virus finds that it cannot bypass them then it can remove itself to avoid detection.

Some of the customized malware instances engage in information gathering operations that seek to extract as much valuable data as possible. There are two main groups of data that can be outlined in these kind of attacks — anonymous metrics and personally-identifiable data. The first one is related mainly to the hardware components and configuration of the operating system. The second group of data can be used to directly expose the users by revealing details about their identity. Examples include the following: real names, address, telephone numbers, nicknames, user preferences, interests and etc. Remote administration of the compromised hosts can be achieved using two methods:

  • Server Control — This method employs malware code that automatically connects the infected machine to a command and control (C&C) server which is operated by the hackers. It allows them to execute arbitrary commands, as well as install additional modules to the targets at will.
  • Trojan Component — Customized instances of the CoffeeMiner malware can employ a fully-featured Trojan module that directly communicates with the hackers. It not only allows them to monitor the users actions in real time but also overtake control of the machines in real time.

Further system changes include boot options that impact the way the computer starts. The hackers usually use this to prevent manual user recovery methods. The made alterations disable the Windows startup recovery function and certain options. When registry changes are enforced the victims may experience severe performance issues, as well as notice that certain services and applications may fail. Other malicious actions that can severely impact the systems is the ability to delete the discovered Shadow Volume Copies of a target host. Such information can then be only restored using a quality data recovery solution (refer to our guide below).

When several of these actions are combined the resulting effect can result in a persistent state of execution. This is a form of virus infiltaration that actively prevents the users from removing it. The malware can continuously monitor the users actions and prevent any removal attempts automatically.

The security experts speculate that since the CoffeeMiner malware infects the target hosts mainly via the browsers then it can also institute various browser hijackers. They represent dangerous browser plugins that are usually made for the most popular web browsers: Google Chrome, Mozilla Firefox, Microsoft Edge, Internet Explorer, Safari and Opera. One of the main objectives of these type of malware is to redirect the victims to hacker-controlled sites. A typical scenario would include the modification of the most important settings such as: the default home page, search engine and new tabs page. Furthermore the hackers can also extract sensitive personal data such as: bookmarks, history, form data, preferences, cookies, passwords and account credentials. The hacker-controlled pages usually install intrusive tracking cookies that aim to extract sensitive information about the users interests and actions. All of this data is pooled into databases that are then sold to marketing agencies for profit.

It would be easy to deploy the CoffeeMiner malware as part of a complex hacking attack. The analysts note that the criminal operators can utilize a powerful Wi-Fi antenna and a small portable server or mobile device to maintain a wider range. Depending on the exact location, buildings and interference if made correctly the attack can potentially impact thousands of users.

We remind our readers once again that the malware code is written in the popular Python programming language which is very versatile. It allows the threat’s modular base to be further extended with additional components. If other tools are deployed the potential consequences can be even more damaging. One of the propositions is the interaction with the popular network analyzer nmap using a script. It would allow the malware to automatically attack the available IP addresses of the local network to the CoffeeMiner victim list. Another potential future implementation is the ssltrip component which ensures that the traffic alterations can also be made over the HTTPS secured sites.

Related Story: Archive Poster Miner Virus

How to Remove CoffeeMiner Miner Virus from Your Computer

The detection of the malicious CoffeeMiner miner virus is not that easy. It is a persistent threat that may remain hidden on the system for a long time. That’s why security experts recommend the help of a professional anti-malware tool for its detection and removal. Such a tool guarantees maximum removal efficiency and future malware protection.

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:

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

About the CoffeeMiner Research

The content we publish on SensorsTechForum.com, this CoffeeMiner how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific, adware-related problem, and restore your browser and computer system.

How did we conduct the research on CoffeeMiner?

Please note that our research is based on independent investigation. We are in contact with independent security researchers, thanks to which we receive daily updates on the latest malware, adware, and browser hijacker definitions.
Furthermore, the research behind the CoffeeMiner threat is backed with VirusTotal https://www.virustotal.com/gui/home/upload.
To better understand this online threat, please refer to the following articles which provide knowledgeable details.


1.Browser Redirect – What Is It?
2.Adware Is Malicious, and It Uses Advanced Techniques to Infect
3.The Thin Red Line Between Potentially Unwanted Programs and Malware
4.The Pay-Per-Install Affiliate Business – Making Millions out of Adware
5.Malicious Firefox Extensions Installed by 455,000 Users Blocked Updates

How to Remove CoffeeMiner from Windows.

Step 1: Boot Your PC In Safe Mode to isolate and remove CoffeeMiner


Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your PC with SpyHunter

Keep in mind, that SpyHunter’s scanner is only for malware detection. If SpyHunter detects malware on your PC, you will need to purchase SpyHunter's malware removal tool to remove the malware threats. Read our SpyHunter 5 review. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria

1. Hold Windows key + R

2. The "Run" Window will appear. In it, type "msconfig" and click OK.

3. Go to the "Boot" tab. There select "Safe Boot" and then click "Apply" and "OK".
Tip: Make sure to reverse those changes by unticking Safe Boot after that, because your system will always boot in Safe Boot from now on.

4. When prompted, click on "Restart" to go into Safe Mode.

5. You can recognise Safe Mode by the words written on the corners of your screen.

Step 2: Uninstall CoffeeMiner and related software from Windows

Here is a method in few easy steps that should be able to uninstall most programs. No matter if you are using Windows 10, 8, 7, Vista or XP, those steps will get the job done. Dragging the program or its folder to the recycle bin can be a very bad decision. If you do that, bits and pieces of the program are left behind, and that can lead to unstable work of your PC, errors with the file type associations and other unpleasant activities. The proper way to get a program off your computer is to Uninstall it. To do that:

1. Hold the Windows Logo Button and "R" on your keyboard. A Pop-up window will appear.

2. In the field type in "appwiz.cpl" and press ENTER.

3. This will open a window with all the programs installed on the PC. Select the program that you want to remove, and press "Uninstall"
Follow the instructions above and you will successfully uninstall most programs.

Step 3: Clean any registries, created by CoffeeMiner on your computer.

The usually targeted registries of Windows machines are the following:

  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

You can access them by opening the Windows registry editor and deleting any values, created by CoffeeMiner there. This can happen by following the steps underneath:

1. Open the Run Window again, type "regedit" and click OK.

2. When you open it, you can freely navigate to the Run and RunOnce keys, whose locations are shown above.

3. You can remove the value of the virus by right-clicking on it and removing it.

Tip: To find a virus-created value, you can right-click on it and click "Modify" to see which file it is set to run. If this is the virus file location, remove the value.

Before starting "Step 4", please boot back into Normal mode, in case you are currently in Safe Mode.
This will enable you to install and use SpyHunter 5 successfully.

Step 4: Scan for CoffeeMiner with SpyHunter Anti-Malware Tool

1. Click on the "Download" button to proceed to SpyHunter's download page.

It is recommended to run a scan before purchasing the full version of the software to make sure that the current version of the malware can be detected by SpyHunter. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria.

2. After you have installed SpyHunter, wait for it to update automatically.


3. After the update process has finished, click on the 'Malware/PC Scan' tab. A new window will appear. Click on 'Start Scan'.


4. After SpyHunter has finished scanning your PC for any files of the associated threat and found them, you can try to get them removed automatically and permanently by clicking on the 'Next' button.


If any threats have been removed, it is highly recommended to restart your PC.

Video Removal Guide for CoffeeMiner (Windows).

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Get rid of CoffeeMiner from Mac OS X.

Step 1: Uninstall CoffeeMiner 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 CoffeeMiner:

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 CoffeeMiner. 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 CoffeeMiner. 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 CoffeeMiner 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 CoffeeMiner. 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: Scan for and remove CoffeeMiner files from your Mac

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


SpyHunter for Mac

Video Removal Guide for CoffeeMiner (Mac)

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Remove CoffeeMiner from Google Chrome.

Step 1: Start Google Chrome and open the drop menu

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

Step 3: From the opened "Extensions" menu locate the unwanted extension and click on its "Remove" button.

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

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Erase CoffeeMiner from Mozilla Firefox.

Step 1: Start Mozilla Firefox. Open the menu window

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

Step 3: Select the unwanted extension and click "Remove"

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

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Uninstall CoffeeMiner from Microsoft Edge.

Step 1: Start Edge browser.

Step 2: Open the drop menu by clicking on the icon at the top right corner.

Step 3: From the drop menu select "Extensions".

Step 4: Choose the suspected malicious extension you want to remove and then click on the gear icon.

Step 5: Remove the malicious extension by scrolling down and then clicking on Uninstall.

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Remove CoffeeMiner from Safari.

Step 1: Start the Safari app.

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

Step 3: From the menu, click on "Preferences".

stf-safari preferences

Step 4: After that, select the 'Extensions' Tab.


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

Step 6: Click 'Uninstall'.

stf-safari uninstall

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

Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer Stop Push Pop-ups

Eliminate CoffeeMiner from Internet Explorer.

Step 1: Start Internet Explorer.

Step 2: Click on the gear icon labeled 'Tools' to open the drop menu and select 'Manage Add-ons'

Step 3: In the 'Manage Add-ons' window.

Step 4: Select the extension you want to remove and then click 'Disable'. A pop-up window will appear to inform you that you are about to disable the selected extension, and some more add-ons might be disabled as well. Leave all the boxes checked, and click 'Disable'.

Step 5: After the unwanted extension has been removed, restart Internet Explorer by closing it from the red 'X' button located at the top right corner and start it again.

Remove Push Notifications caused by CoffeeMiner from Your Browsers.

Turn Off Push Notifications from Google Chrome

To disable any Push Notices from Google Chrome browser, please follow the steps below:

Step 1: Go to Settings in Chrome.


Step 2: In Settings, select “Advanced Settings”:

advanced settings

Step 3: Click “Content Settings”:

Content Settings

Step 4: Open “Notifications”:


Step 5: Click the three dots and choose Block, Edit or Remove options:

Block, Edit or Remove

Remove Push Notifications on Firefox

Step 1: Go to Firefox Options.


Step 2: Go to “Settings”, type “notifications” in the search bar and click "Settings":


Step 3: Click “Remove” on any site you wish notifications gone and click “Save Changes”

remove push notifications firefox

Stop Push Notifications on Opera

Step 1: In Opera, press ALT+P to go to Settings.


Step 2: In Setting search, type “Content” to go to Content Settings.

content settings

Step 3: Open Notifications:


Step 4: Do the same as you did with Google Chrome (explained below):

three dots

Eliminate Push Notifications on Safari

Step 1: Open Safari Preferences.


Step 2: Choose the domain from where you like push pop-ups gone and change to "Deny" from "Allow".

CoffeeMiner FAQ

What is CoffeeMiner?

The CoffeeMiner threat is adware or browser redirect virus. It may slow your computer down siginficantly and display advertisements. The main idea is for your information to likely get stolen or more ads to appear on your device.

The creators of such unwanted apps work with pay-per-click schemes to get your computer to visit risky or different types of websites that may generate them funds. This is why they do not even care what types of websites show up on the ads. This makes their unwanted software indirectly risky for your OS.

What are the symptoms of CoffeeMiner?

There are several symptoms to look for when this particular threat and also unwanted apps in general are active:

Symptom #1: Your computer may become slow and has poor performance in general.

Symtpom #2: You have toolbars, add-ons or extensions on your web browsers that you don't remember adding.

Symptom #3: You see all types of ads, like ad-supported search results, pop-ups and redirects to randomly appear.

Symptom #4: You see installed apps on your Mac running automatically and you do not remember installing them.

Symptom #5: You see suspicious processes running in your Task Manager.

If you see one or more of those symptoms, then security experts reccomend that you check your computer for viruses.

What types of Unwanted Programs are there?

According to most malware researchers and cyber-security experts, the threats that can currently affect your Mac can be the following types:

  • Rogue Antivirus programs.
  • Adware.
  • Browser hijackers.
  • Clickers.
  • Fake optimizers.

What to do if I have a "virus" like CoffeeMiner?

Do not panic! You can easily get rid of most adware or unwanted program threats by firstly isolating them and then removing them from your browser and computer. One reccomended 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 anti-malware apps out there that you can choose from. SpyHunter is one of the reccomended anti-malware apps, that can scan your computer for free and detect any viruses, tracking cookies and unwanted adware apps and eliminate them quickly. This saves time when compared to doing the removal manually.

How to secure my passwords and other data from CoffeeMiner?

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 all devices will become significantly more secure against any threats or information invasive software and be virus free and protected in the future too.

More tips you can find on our website, where you can also ask any questions and comment underneath the articles about your computer problems. We will try to respond as fast as possible.

Leave a Comment

Your email address will not be published.

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