Latest

Cybersecurity

Hackers exploit a critical macOS flaw to take control of Macs and mine Monero

Hackers exploit a critical macOS vulnerability to mine Monero (XMR) on Mac machines exposed to the internet and not updated

Hackers are using a critical macOS vulnerability to install Monero (XMR) miners on Mac computers. The flaw allows access without valid credentials to machines with the Screen Sharing feature exposed to the internet and, in the attacks detected, cybercriminals managed to gain root access to the system. In all the attacks reported to the National Cyber Security Centre of the Netherlands (NCSC-NL), the cybercriminals gained root access to the system and used it to install software designed to mine Monero.
Hackers are using a critical macOS vulnerability to install Monero (XMR) miners on Mac computers.

Hackers are using a critical macOS vulnerability to install Monero (XMR) miners on Mac computers. The flaw allows access without valid credentials to machines with the Screen Sharing feature exposed to the internet and, in the attacks detected, cybercriminals managed to gain root access to the system. In all the attacks reported to the National Cyber Security Centre of the Netherlands (NCSC-NL), the cybercriminals gained root access to the system and used it to install software designed to mine Monero.

The flaw, identified as CVE-2026-65400, affects Screen Sharing, the tool built into macOS for remotely controlling another computer. Its severity has been raised to 9.8 out of 10, critical level, after its exploitation was confirmed and its characteristics were reassessed.

Apple has already fixed the vulnerability in macOS Tahoe 26.6.1, Sequoia 15.7.9 and Sonoma 14.8.9. The updates were published on August 6. The company explains that the problem was related to state management during authentication and could allow an attacker to authenticate to Screen Sharing without valid credentials.

Macs exposed directly to the internet

The known attacks have one element in common: the compromised computers kept port 5900 accessible from the internet, used by screen sharing and VNC services. The NCSC updated its alert on August 12 after receiving information about attacks against several systems. It also confirmed the public availability of proof of concept (PoC) code, which makes it easier for other attackers to try to exploit machines that remain unpatched.

Any vulnerable system whose service can be reached from the internet may be potentially exposed, regardless of the country in which it is located. That does not mean, however, that attacks have been confirmed worldwide. The NCSC has not published the number of victims or the location of the compromised Macs.

Security researchers have warned that the potential surface is considerable. An analysis cited by Huntress based on Censys searches identified tens of thousands of hosts potentially exposed to the internet. These are potentially vulnerable machines, not tens of thousands of confirmed infections.

Root access to install Monero

In the incidents reported to the NCSC, the attackers obtained root privileges, the highest level of system access, and subsequently installed software to mine Monero. The attack is a case of cryptojacking: criminals use the victim's computer processor and electricity without authorization to generate cryptocurrencies.

Monero frequently appears in this type of attack because of its privacy characteristics and because it can be mined using conventional processors. The vulnerability, however, does not affect Monero or its blockchain. XMR is simply the asset chosen by the attackers to monetize the compromised machines.

The risk does not end with the installation of a miner either. Gaining root access means obtaining a high degree of control over the computer, so Monero mining is the activity observed in these incidents, but it does not necessarily represent everything a compromised Mac would allow.

Update macOS

The solution is to install the fixed versions published by Apple: Tahoe 26.6.1, Sequoia 15.7.9 or Sonoma 14.8.9, depending on the system used. Apple credits the discovery of CVE-2026-65400 to Alfredo Pesoli, of Bynario Atlas. Administrators should also avoid keeping Screen Sharing unnecessarily accessible directly from the internet, especially through port 5900.

Apple has already fixed the vulnerability in the updated versions of macOS. The risk is now concentrated on machines that remain unpatched and keep the service exposed to the internet.

Covadonga Fernandez

Author

Covadonga Fernandez

Covadonga Fernández is founder and director of the newspaper Observatorio Blockchain. She has worked with various companies developing crypto/blockchain projects, such as Singular DTV, a Switzerland-based platform and a pioneer in decentralizing the film industry, which led her to take part in the 2019 San Sebastián Film Festival. That same year she also took part in the Bern International Film Innovation Festival (Switzerland), with a presentation on linguistic plurality in blockchain. In 2022 she took part in the Acción Cultural Española edition with an article on Metaverse and Culture. In 2017 she wrote the chapter on Blockchain and Journalism in the book: «Blockchain: The Industrial Revolution of the Internet», published by Grupo Planeta. A year earlier, in 2016, she created the first Meetup on Blockchain and Journalism. That same year she also created the Blockchain Media site, to track the decentralization process of the cultural and creative industries. In 2020 she co-organized an event on how blockchain could help the cultural and creative industries, where the money received from sponsors was tokenized and speakers received payment in NFT format. Before founding Blockchain Media and Observatorio Blockchain, Covadonga worked at Grupo Z and the newspaper ABC; she was communications director of the Madrid Chamber of Commerce, a journalism professor at Universidad Carlos III de Madrid and chair of Telemadrid. Winner in the Outreach category at the 2024 Financial Innovation Awards and honored by Alastria at the 2025 Blockchain Awards

The latest
From Huang to Botín, from Zara to Byron: corporate responsibility in global capitalism

Keep reading