Once inside, the attackers looked around the network, planted web shells and installed XMRig, a popular cryptocurrency mining program, under the name edge.exe. A miner quietly uses the victim’s processing power and electricity to generate coins for the attacker.
To keep it running, they created a Windows service named MicrosoftEdgeUpdateSvc that launches msedge.exe, which is actually a modified copy of NSSM, a legitimate tool for keeping programs running after crashes or reboots. Everything is named to look like normal browser updates.
The cleverest piece is a PowerShell script called Taskgmr.ps1, launched with curl, which Huntress believes was written with help from an AI tool. It pauses mining the moment someone opens Windows Task Manager and restarts it when Task Manager closes. It also kills Task Manager at 6 p.m. local time, or if it has been open for more than an hour overnight.
In at least one case, the attackers used the built-in Windows tool certutil.exe to download WinRing0x64.sys, a legitimate but vulnerable driver, into the TEMP folder. That likely gave the miner kernel-level access to squeeze more out of the hardware.