Skip to main content
Mallory
Malware1 associated CVE

Coinhive

Tracked since Jan 13, 2026 · Updated 23 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors0Associated
ATT&CK8Techniques
IOCs12Tracked
Type
Cryptominer
Capabilities
Exfiltration
Delivery
MalvertisingDrive by
Platforms
AndroidLinux

Coinhive was a JavaScript-based Monero mining library and service that used website visitors’ CPU resources to generate cryptocurrency. Although usable for website monetization, it was widely abused for cryptojacking through scripts executed without users’ consent. Mining workloads could cause high CPU utilization, degraded performance, increased electricity consumption, and reduced battery life on mobile devices. Coinhive discontinued operations on March 8, 2019.

Malicious deployments included injected website scripts, advertisements distributed through legitimate advertising networks, browser extensions, and Android applications. Android malware detected as ANDROIDOS_JSMINER loaded Coinhive into an invisible WebView and mined using an attacker-controlled site key. FacexWorm injected obfuscated Coinhive scripts into visited webpages. A January 2018 malvertising campaign distributed Coinhive through Google DoubleClick advertisements and configured mining to consume approximately 80 percent of available CPU resources.

Coinhive was also distributed through compromised infrastructure. Attackers exploiting MikroTik RouterOS vulnerability CVE-2018-14847 configured routers to inject mining code into web proxy error pages served to users. Linux Rabbit and Rabbot campaigns injected Coinhive scripts into web content on compromised servers, extending mining activity to visitors’ browsers. These deployments reflect abuse by multiple campaigns rather than attribution to a single threat actor.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2018-14847via virusbulletinExploited in the wildDirectory Traversal in MikroTik RouterOS WinBoxMikroTik patched an arbitrary file read/write vulnerability present in MikroTik RouterOS versions 6.29 through to 6.42. Malware subsequently exploited it to compromise devices and distribute Coinhive cryptominers. | Coinhive, a cryptominer, exploited this vulnerability from July 2018 onwards to inject Monero mining code into the error page served up by the device.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

8 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583Acquire InfrastructureEvidence1

the number of Coinhive web miner detections tripled due to a malvertising campaign... Attackers abused Google’s DoubleClick... for traffic distribution.

Initial Access

1 technique
T1189Drive-by CompromiseEvidence1

"Drive-By Cryptojacking In-Browser... scripts have been observed on compromised websites, third-party advertising platforms"

Execution

1 technique
T1059.007JavaScriptEvidence3

The advertisement has a JavaScript code that generates a random number between variables 1 and 100... For the other 10%, a private web miner will be launched.

Privilege Escalation

1 technique
T1055Process InjectionEvidence1

XiaoBa также внедряет (инжектирует) скрипт Coinhive во все файлы HTML и HTM

Stealth

2 techniques
T1027Obfuscated Files or InformationEvidence1

After de-obfuscating the private web miner called mqoj_1.js , there will be a JavaScript code that is still based on Coinhive.

T1055Process InjectionEvidence1

XiaoBa также внедряет (инжектирует) скрипт Coinhive во все файлы HTML и HTM

Credential Access

1 technique
T1056.004Credential API HookingEvidence1

After enabling the Mikrotik RouterOS HTTP proxy, the attacker uses a trick in the configuration by redirecting all the HTTP proxy requests to a local HTTP 403 error page, and in this error page a link for web mining code from coinhive.com is inserted.

Collection

1 technique
T1056.004Credential API HookingEvidence1

After enabling the Mikrotik RouterOS HTTP proxy, the attacker uses a trick in the configuration by redirecting all the HTTP proxy requests to a local HTTP 403 error page, and in this error page a link for web mining code from coinhive.com is inserted.

Command and Control

1 technique
T1090.003Multi-hop ProxyEvidence1

The modified web miner will use a different mining pool at wss[:]//ws[.]l33tsite[.]info[:]8443. This is done to avoid Coinhive’s 30% commission fee.

Impact

1 technique
T1496Resource HijackingEvidence5

The attacker hopes to perform web mining for all the proxy traffic on the users’ devices.

Indicators of compromise

Observables

12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+2 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching12Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping8Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.