Microsoft SQL Server brute-force campaign drops Gh0st RAT and Monero miner
FortiGuard reports a campaign brute-forcing internet-facing SQL Server to deploy Gh0st RAT and a Monero miner; close port 1433 to the internet.
- Published
- Updated
- Ecosystem
- Enterprise software
- Exploitation
- Yes, FortiGuard Labs observed an active campaign in early October 2026 that logs in to exposed servers and runs T-SQL commands on them
What happened
FortiGuard Labs reported an active campaign against internet-facing Microsoft SQL Server instances, found in early October 2026 and rated high severity. FortiGuard Labs The campaign does not rely on a newly discovered software vulnerability, according to Hackread. No CVE is named in the sources.
FortiGuard describes the chain as follows:
- A Go payload named dllhost.exe embeds the open-source Naabu scanner. It fetches an IP range from the attackers’ server, converts it to a /16 range, and checks random addresses for open TCP port 1433, the default SQL Server port. Responsive hosts are logged and a new range is requested. FortiGuard Labs
- A .NET tool, dwm.exe, tries usernames such as “sa” and “admin” against a list of more than 2,700 passwords, using up to 500 threads. FortiGuard Labs CSO Online names this tool “dwn.exe”, while FortiGuard and the other outlets use “dwm.exe”.
- After a successful login, the T-SQL file 2018.sql runs. It enables xp_cmdshell, downloads an executable into C:\Users\Public (renamed Google.exe or payload.exe), schedules a daily task named Microsoft_UPDATES, and extracts another executable, Secs.exe, to the Startup folder. FortiGuard Labs
- Secs.exe is a downloader. It pulls more files from an FTP server, creates a scheduled task named like a Microsoft Edge update, and registers the host with the attackers’ backend. The data sent includes public IP, country, Windows edition, processor and memory details, installation time, user name and host name. Infosecurity Magazine
Two payloads were delivered:
- MicrosoftEdgeUpdate.exe is an XMRig-based Monero miner that uses the server’s CPU. CSO Online
- winlogon.exe is a Gh0st RAT variant with keylogging, data theft and more than 30 control commands. Screen capture and remote desktop come from plugins. FortiGuard Labs It persists through a Run registry key, a Windows service and a 30-minute scheduled task. Per Infosecurity Magazine, it can also clear event logs, check for 78 security products by process name and steal data from the QQ messaging app.
The RAT’s command-and-control server was already offline when FortiGuard analysed it, so only static analysis was possible. FortiGuard Labs
The report did not say how many servers were compromised or who is behind the campaign. Infosecurity Magazine Microsoft had not responded to a request for comment from CSO Online at publication.
Am I affected?
You may be if a Microsoft SQL Server instance on Windows is reachable from the internet on TCP port 1433 and accepts logins with weak or guessable passwords, such as for the “sa” or “admin” accounts. FortiGuard lists the impacted platform as Microsoft SQL Server on Windows. FortiGuard Labs Affected SQL Server versions are not confirmed, and no patch is mentioned because the entry point is exposure plus weak credentials.
Signs of compromise named in the sources:
- xp_cmdshell enabled unexpectedly. GBHackers says to treat such a server as compromised.
- Files named Secs.exe, Google.exe or payload.exe, and unknown files in C:\Users\Public. GBHackers, Cyber Security News
- Scheduled tasks imitating Edge updates that point to C:\Users\Public or E:. GBHackers
- Traffic to the domain vietnam852[.]com, and sudden CPU spikes. GBHackers, Cyber Security News
What to do now
- Remove direct internet access to SQL Server: block port 1433 from outside networks and restrict connections to approved systems. Hackread, Cyber Security News
- Enforce long, unique passwords, rename or disable the sa account, and lock accounts after repeated failures. GBHackers
- Keep xp_cmdshell disabled unless required, and monitor attempts to enable it. Hackread
- Hunt for the files, scheduled tasks and network indicators above. Also look at SQL Server spawning command shells, new scheduled tasks, and failed logins followed by a success. Hackread Full indicator lists with hashes and URLs are in Cyber Security News and the FortiGuard Labs report.
- If a server looks compromised, do not stop at removing the miner. A commentator quoted by Hackread advises containment, a search for persistence and a review of exposed credentials before the server returns to service.
- FortiGuard says it provides detection through its IPS, Web Filtering and Antivirus services, and has shared indicators of compromise for others. CSO Online
Update, 14 November 2026
- Hackread says FortiGuard Labs published its research on 12 November, and that the Monero miner mines for a wallet address embedded in the malware. (hackread.com)
Update, 18 November 2026
- CSO Online says the initial payload creates a scheduled task running every 30 minutes, while the downloader creates another task that runs daily at 1 AM. (csoonline.com)
- Infosecurity Magazine says the Monero miner reports to the attackers when mining begins, and that two of the scheduled tasks the malware created were also named to look like a Microsoft Edge update. (infosecurity-magazine.com)
Sources
- FortiGuard Labs: T-SQL Being Abused to Deliver Malware on Compromised MS SQL Servers
- CSO Online: Hackers abuse SQL Server’s weak passwords to drop cryptominers and Gh0st RAT
- Infosecurity Magazine: Weak Passwords Expose SQL Servers to Cryptominer and Gh0st RAT
- Hackread: Hackers Abuse Microsoft SQL Servers to Deploy Monero Miner and Gh0st RAT
- GBHackers: Hackers Hijack Microsoft SQL Servers Using T-SQL Commands to Install Gh0st RAT and Crypto Miners
- Cyber Security News: Hackers Use 2,700 Passwords to Break Into Microsoft SQL Servers and Deploy Remote Access Malware