This article has been created in order to help you by demonstrating how to remove the JS:Cryptonight miner for the cryptocurrency Monero and how to protect your MacBook against future miners as well.
SIDENOTE: This post was originally published in August 2018. But we gave it an update in August 2019.
A new cryptocurrency miner, this time exclusively for MacBooks, which mines for the crytpocurrency Monero. The miner runs on JavaScript and is known as the algorithm Cryptonight it uses to mine for the Monero cryptocurrency. Once this malware infects your computer it may begin to slow it down by heavily using it’s CPU as well as GPU resources in order to generate Monero at your Mac’s expense. If you believe that your computer has been infected by the JS:Cryptonight crypto mining malware, we advise you to read this article and learn how to remove it from your computer.
Threat Summary
Name | JS:Cryptonight |
Type | Cryptocurrency mining malware. |
Short Description | Runs on JavaScript code and mines for the cryptocurrency Monero. |
Symptoms | May overheat your CPU and GPU by using them to mine for the cryptocurrency Monero. |
Distribution Method | Via malicous web links, e-mails and other third-party content. |
Detection Tool |
See If Your System Has Been Affected by malware
Download
Malware Removal Tool
|
User Experience | Join Our Forum to Discuss JS:Cryptonight. |
JS:Cryptonight Malware – Spread
In order to infect the maximum amount of victims, the virus files of this malware may be spread in a multitude of methods. These include spreading the malicious files by sending malicious spam e-mails as well as other content to you online. These e-mails often contain false statements to get you to click on a web link or download a malicious attachmnent, for example:
Once the victim clicks on the web link, a JavaScript is activated and the virus may begin to perform it’s malicious activity by downloading and executing a process in your MacBook or running filelessly.
JS:Cryptonight – More Information
Once this malware is activated on your computer, it may drop it’s malicious processes and they may have different names on your computer. The file are usually located in various commonly targeted directories or ran filelessly.
After the malicious files, belonging to JS:Cryptonight are ran, the virus may obtain administrative permissions, touch system files as well as create mutexes. Then, the JS:Cryptonight runs a malicious process in the background of your computer, which may result in your CPU usage spiking severely.
Image Source: MakeUseOf.com
In addition to this, since it is malware after all, the JS:Cryptonight may also perform other activities on your computer system, such as:
- Update itself.
- Download other malware.
- Collect important information from your computer system.
Be advised that the miner primarily targets the GPU of your MacBook since it uses the Cryptonight algorithm which is a proof of work and utilized to mine exclusively for Monero. The way the mining process occurs is by getting the MacBook to be enlisted in a so-called mining pool. This makes it possible to turn the infected device into a miner and generate crypto money for the cyber-criminals at your PC’s expense. Since the process is particularly dangerous and can even damage your computer in the long-term, security experts strongly advise to remove it from your computer.
Remove JS:Cryptonight from Your Computer
In order to remove the JS:Cryptonight from your computer, we recommend that you do this automatically, since manual removal requires an extensive experience in this field. To do this, you can use Kaspersky’s latest security software against miner malware, like JS:Cryptonight, which besides removing the virus at a click of a button will also make sure that your Mac stays protected against future infections as well.
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 JS:Cryptonight and remove related files and objects
1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:
- 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 JS:Cryptonight 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:
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 2: Remove JS:Cryptonight – related extensions from Safari / Chrome / Firefox
Step 3: Scan for and remove JS:Cryptonight files from your Mac
When you are facing problems on your Mac as a result of unwanted scripts and programs such as JS:Cryptonight, 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.
JS:Cryptonight FAQ
What is JS:Cryptonight on your Mac?
The JS:Cryptonight threat is a potentially unwanted app or likely a Mac virus. It may slow your Mac down siginficantly and display advertisements. The main idea is for your information to likely get stolen or more ads to appear on your Mac.
The creators of such unwanted apps work with pay-per-click schemes to get your Mac 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 MacOS.
Can my Mac get a virus?
Yes. As much as any other device, Apple computers do get viruses. Apple devices may not be a frequent target by malware authors, but rest assured that the following Apple devices can become infected with a virus:
- iMac
- Mac Mini
- Macbook Air
- Macbook Pro
- iPhone
- iPad
What are the symptoms of JS:Cryptonight on your Mac?
There are several symptoms to look for when this particular threat and also most Mac threats in general are active:
Symptom #1: Your Mac 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 Mac's Activity Monitor.
If you see one or more of those symptoms, then security experts reccomend that you check your Mac for viruses.
What types of Mac threats are there?
According to most malware researchers and cyber-security experts, the threats that can currently infect your Mac can be the following types:
- Rogue Antivirus programs.
- Adware and hijackers.
- Trojan horses and other spyware.
- Ransomware and screen-lockers.
- Cryptocurrency miner malware.
What to do if I have a Mac virus, like JS:Cryptonight?
Do not panic! You can easily get rid of most Mac threats by firstly isolating them and then removing them. 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 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, tracking cookies and unwanted adware apps plus take care of them quickly. This saves time for manual removal that you would otherwise have to do.
How to secure my passwords and other data from JS:Cryptonight?
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 website, where you can also ask any questions and comment about your Mac problems.