Skip to main content
Mallory
← Back to News
remote-access-implantinitial-access-methodpersistence-methodinternet-exposed-service

Weak SQL Server Passwords Enable Monero Mining and Gh0st RAT Deployment

Malware Intelligence · 9 sources · Updated 13h ago · First seen Nov 12, 2026

Weak SQL Server Passwords Enable Monero Mining and Gh0st RAT Deployment

Attackers are compromising internet-facing Microsoft SQL Server instances with weak credentials to deploy a Monero cryptominer and a Gh0st remote access trojan variant. FortiGuard Labs discovered the active campaign in early October and reported that it abuses legitimate database administration features rather than a newly identified software vulnerability. A Go-based payload incorporating Naabu scans TCP port 1433, while a separate .NET executable attempts authentication using predefined usernames and more than 2,700 passwords. After obtaining sufficiently privileged access, attackers enable SQL Server’s xp_cmdshell feature to execute Windows commands and install loaders that retrieve the malware from attacker-controlled infrastructure.

The campaign establishes persistence through scheduled tasks, a Windows service, registry Run keys and the Startup folder. The miner consumes server processing resources, while Gh0st RAT provides capabilities for host profiling, file access, keylogging, data theft and remote control. Researchers could not verify the RAT’s live communications because its command-and-control server was offline; neither the responsible threat actor nor the number of compromised servers was identified. Defenders should restrict external SQL Server access, strengthen credentials, limit database privileges and monitor operating-system command execution and persistence mechanisms. Incident response should investigate the full compromise rather than treating removal of the miner as sufficient remediation.

Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Oct 2026 – Nov 12, 2026
  1. Nov 12, 20265d ago

    Fortinet publishes campaign analysis and indicators of compromise

    FortiGuard Labs researcher Xiaopeng Zhang published technical findings and indicators detailing Naabu-based scanning, attempts using more than 2,700 passwords, malware delivery, and persistence mechanisms. Analysis identified more than 30 Gh0st RAT control commands, but its command-and-control server was unavailable; the report did not identify the attackers or quantify compromised servers.

    T-SQL Being Abused to Deliver Malware on Compromised MS SQL Servers | FortiGuard Labs
  2. Oct 2026

    FortiGuard Labs discovers SQL Server cryptomining and Gh0st RAT campaign

    FortiGuard Labs discovered an active campaign compromising internet-facing Microsoft SQL Server instances through weak-password brute forcing. Attackers abused T-SQL and xp_cmdshell to install persistent loaders delivering a Monero cryptominer and a Gh0st RAT variant.

    T-SQL Being Abused to Deliver Malware on Compromised MS SQL Servers | FortiGuard Labs
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

2 linked

Affected products

1 linked
Sql Server

Observables

58 linked

Indicator values are masked on this page. View all 58 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.