Attackers are breaking into internet-facing Microsoft SQL Server instances that use weak passwords and installing a Monero cryptominer and a Gh0st remote access trojan (RAT), according to research from FortiGuard Labs, the research team of Fortinet.

FortiGuard Labs uncovered the campaign in early October 2026 and rated it high severity, according to research published on November 12. The report did not say how many servers were compromised or who was behind the campaign.

The initial Go payload contained the open-source Naabu port scanner. It scanned IP ranges for TCP port 1433, the default SQL Server port, and recorded the hosts that responded. A brute-force tool then tried usernames including "sa" and "admin" against more than 2,700 passwords on each host the scanner found.

After a successful login, the malware ran Transact-SQL (T-SQL) commands that enabled xp_cmdshell, which runs operating system commands. The commands then downloaded or unpacked a loader, scheduled it to run daily, and placed a copy in the Startup folder so it ran when the server booted.

The loader pulled additional malware from an FTP server and registered each compromised server with the attackers' backend. The data sent back included the public I