Coinhive is a type of malware that harnesses the computational power of website visitors to mine cryptocurrencies, specifically Monero (XMR). This malware employs JavaScript-based mining scripts that are injected into websites without the knowledge or consent of visitors. The illicitly obtained computational resources are used to mine cryptocurrencies, benefiting the attackers.