A campaign that scans the internet for Microsoft SQL Server instances and guesses their way in should embarrass anyone who still runs a database with a password like the ones it tried. According to FortiGuard Labs, the attackers used a Go payload with the open-source Naabu port scanner to sweep address ranges for TCP port 1433, the default SQL Server port, and then ran a brute-force tool that tried usernames such as "sa" and "admin" against more than 2700 passwords on each host it found. The method is not clever. It is persistent, and it works on servers that never should have been reachable with guessable credentials.
The payload did not stop at login. Once inside, it ran Transact-SQL commands that enabled xp_cmdshell, a feature that lets the database execute operating system commands. From there, the malware downloaded a loader, scheduled it to run daily, and placed a copy in the Startup folder so it would survive a reboot. The loader then pulled further malware from an FTP server and reported each compromised machine back to the attackers, including its public IP address, country, Windows edition, hardware details and user and host names. That last step turns a single break-in into a catalogue of victims.
The two payloads show the stakes. One was a Monero cryptominer based on XMRig that used the server's processor and was disguised as a Microsoft Edge update. The other was a Gh0st RAT variant capable of keylogging, data theft, clearing event logs and checking for 78 security products. FortiGuard's researchers examined that RAT's code without running it, because its command-and-control server had already shut down. A cryptominer is a nuisance that quietly drains resources; a remote access trojan is a foothold for whatever comes next. Operators who treat the first as the whole problem are missing the second.
The report does not say how many servers were compromised or who ran the campaign, and those gaps matter for anyone trying to size their exposure. Administrators should not wait for those answers. Disable xp_cmdshell unless it is genuinely required, remove SQL Server from the open internet, enforce strong and unique passwords, and audit scheduled tasks and Startup folders for entries dressed up as Microsoft updates. Weak passwords are a failure of basic hygiene, and this campaign is a reminder that the attackers are counting on that failure to remain common.