Organizations running sophisticated virtual networks with VMware’s vSphere service are actively being targeted by cryptojackers, who have figured out how to inject the XMRig commercial cryptominer into the environment, undetected.
Uptycs’ Siddharth Sharma has released research showing threat actors are using malicious shell scripts to make modifications and run the cryptominer on vSphere virtual networks.
“Cryptojacking campaigns mostly target the systems having high-end resources,” Sharma pointed out. “In this campaign as we saw the attackers tried to register the XMRig miner itself as a service (daemon), which runs whenever the system gets rebooted.”
To avoid detection, the script also downloads a user-mode rootkit from the command-and-control server (C2), the report added.
“The shell script also contains commands which download the miner, the config file and the user mode rootkit from the attacker’s web server,” the report explained. “The attackers used [the] wget utility to fetch the malicious components and chmod utility to make the components executable.”
The report said the rootkit gets saved as “libload.so” and the script modifies vSphere to run the XMRig cryptominer.
After the cryptominer is dropped, the script reloads the service to get the miner started, Sharma explained. The report also reported the attacker’s wallet has been paid 8.942 XMR, the report said, or about $1,790 as of press time.
VMware Services Under Attack
VMware services have been beleaguered by recent security issues.
The new year kicked off with a high-severity bug found in VMWare’s Cloud Foundation, ESXi, Fusion and Workstation platforms, which opened the door for a hypervisor takeover of an organization’s entire virtualized environment.
And just days ago VMWare’s Horizon servers with Log4Shell vulnerabilities were observed under active Cobalt Strike attack by researchers at Huntress after the U.K.’s National Health Service were targeted on Jan 5.
Sharma advises security teams running VMware services to look for unusual network activity to detect the cryptominer, as well as other attacks.
“In the past we have seen highly sophisticated groups targeting vulnerable VMware services,” Sharma said. “Hence it becomes really important to monitor the suspicious processes, events and network traffic spawned on the execution of any untrusted shell script.”
Password Reset: On-Demand Event: Fortify 2022 with a password-security strategy built for today’s threats. This Threatpost Security Roundtable, built for infosec professionals, centers on enterprise credential management, the new password basics and mitigating post-credential breaches. Join Darren James, with Specops Software and Roger Grimes, defense evangelist at KnowBe4 and Threatpost host Becky Bracken. Register & stream this FREE session today – sponsored by Specops Software.