What We Do
How we do it
Resources
SECURITY ADVISORIES
Jul 29, 2021
UPDATE: PetitPotam NTLM Relay Attack
THE THREAT PetitPotam is a variant of the NTLM Relay attack discovered by security researcher Gilles Lionel. It is tracked as an authentication bypass vulnerability in Active Directory (Certificate Services); currently no CVE identifier has been assigned to this vulnerability. Proof of Concept (PoC) code released last week [1] relies on the Encrypting File System Remote (EFSRPC) protocol to…
Read More
View all Advisories →
Company
ABOUT eSENTIRE
About Us
eSentire is The Authority in Managed Detection and Response Services, protecting the critical data and applications of 1000+ organizations in 70+ countries from known and unknown cyber threats. Founded in 2001, the company’s mission is to hunt, investigate and stop cyber threats before they become business disrupting events.
Read about how we got here
Leadership Work at eSentire
LATEST PRESS RELEASE
Jul 12, 2021
Tecala and eSentire Partner to Protect Enterprises across APAC from Business-Disrupting Cyber Attacks
Sydney, 12 July, 2021 - Tecala, Australia’s award-winning technology services and IT consulting provider, today announced it has chosen eSentire, the global Authority in Managed Detection and Response (MDR) cybersecurity services, as their exclusive MDR solution provider in Australia and New Zealand. This partnership will enable Tecala to augment its cybersecurity practice and offer enterprises…
Read More
Partners
PARTNER PROGRAM
Partners
Our award-winning partner program offers financial rewards, sales and marketing tools and personalized training. Accelerate your business and grow your revenue by offering our world-class Managed Detection and Response (MDR) services.
Learn about our Partner Program
Resources
Blog — Nov 23, 2017

Don't get run over by drive-by mining

4 min read

Drive-by Mining is exploding in popularity, as it’s being adopted by both legitimate websites and criminal organizations. Drive-by Mining or Cryptojacking is when a website uses the CPU power of a site visitor to perform the complex mathematical equations involved in ‘mining’ cryptocurrencies, such as Monero or Bitcoin. When the unsuspecting user opens a website running the JavaScript miner, their browser will continuously ‘mine’ until they leave the site. At its best, this practice is a non-intrusive way for websites to produce revenue without relying on ads; at its worst, drive-by mining is a way for criminal organizations to raise funds while your devices are exploited.

Danger Ahead

At first glance drive by mining may not seem that bad, but taking advantage of the visitor’s CPU resources to mine cryptocurrencies can have serious implications. Criminals have quickly adapted this technology, demonstrating that drive-by mining can be used as an easy source of income. High traffic websites with security misconfigurations are targeted for code injection. Then, without the consent of the website owner or the individuals visiting the website, their resources are used to help fund criminal organizations.

Cryptocurrency mining can also be an extremely labor intensive task for devices. The code has been known to make systems freeze or crash, causing data and time loss. If the actor implementing the miner is especially thoughtless or malicious, the code can be set to use all available CPU power. This is known as Code Full Throttle and will not only cause your device to fail but has the potential to damage your hardware.

Am I a Victim?

Figure 1 - Coinhive asking for user permssion to run the mining script.

Unless the hosting websites asks for user permission to run the mining script (which services such as Coinhive have began to do – Figure 1), it may not be immediately clear that you are mining a cryptocurrency. The are several tell-tale signs that the web-page you are on is using a drive-by mining script: the device will be warmer than normal, the fan noise will increase, the mouse and keyboard may be slow or unresponsive and the device’s general performance could decrease.

Resource monitoring applications are a simple way to tell if a website is running a mining script. If no other applications or tabs are open and the device’s resource use spikes on a web-page, then it is likely that the device is mining for cryptocurrency.

If you still aren’t sure, the website Whorunscoinhive allows users to check URLs for JavaScript miners and has an extensive list of websites that, either knowingly or unwittingly, are exploiting their visitors.

Drive-by Mining is Here to Stay

Since September, the eSentire Threat Intelligence Team has seen a large number of drive-by mining alerts originating from IPs across the world. According to Google Trends, Google searches for the term “Javascript Miner” saw a steep spike on September 16th (Figure 2) and four days later eSentire noticed a drastic increase in cryptocurrency events (Figure 3).

Figure 2 - Google searches for the term “Javascript Miner” saw a steep spike on September 16th


Figure 3 - A drastic increase in cryptocurrency events.

The popularity of drive-by cryptocurrency miners is the result of multiple factors. First off, it is simple to use; the JavaScript can be purchased or rented legally from various vendors, then inserted by an administrator into their website or maliciously inserted into misconfigured websites. This allows even relatively inexperienced cyber-criminals to quickly profit. Secondly, drive-by mining is still a legal grey-area because it is exploiting users for their CPU power but not directly stealing from them. Lastly, drive-by mining is profitable. As long as this activity remains simple, quasi-legal, and profitable, it will continue to be popular.

What can you do?

The eSentire SOC and Threat Intelligence team are continually adding malicious IPs to the eSentire global blacklist (Asset Manager Protect, via esNETWORK) as they’re detected. But there are steps every user can take to minimize the risks associated with unknowingly mining from their browser. There are various chrome applications specifically for blocking websites from using visitors’ CPU power to mine cryptocurrencies. The very popular application AdBlock has implemented a block for drive-by mining in its premium version and various anti-virus programs have already began treating websites using the JavaScript as malicious. Even big name browsers, such as Chrome, are considering blocking the mining JavaScript in future updates.

There is no perfect answers to security questions, but staying aware of the latest threats is half the battle.

eSentire Threat Intel
eSentire Threat Intel Threat Intelligence Research Group