Brute-force attacks on exposed Microsoft SQL Servers deploy XMRig Monero miner and Gh0st RAT via xp_cmdshell
Matéria consolidada. Reúne 7 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 5 fontes trouxeram em 16/11/2026 12:06; os links antigos trazem para cá.
Fontes: securityonline.info ↗ gbhackers.com ↗ hackread.com ↗ infosecurity-magazine.com ↗ feeds.fortinet.com ↗
FortiGuard Labs (Fortinet) analyzed a campaign that brute-forces internet-exposed Microsoft SQL Server instances and uses them to deliver a XMRig Monero miner and a Gh0st RAT variant. The first step is a UPX-packed Go binary that embeds the open-source Naabu scanner to find servers listening on TCP port 1433 (feeds.fortinet.com, infosecurity-magazine.com). GBHackers adds that the binary masquerades as dllhost.exe and scans /16 CIDR blocks (gbhackers.com). A .NET brute-forcer, dwm.exe (assembly CSQL.exe), then tries credentials (securityonline.info). Once a login succeeds, the attackers enable xp_cmdshell and run T-SQL commands to download loaders. The campaign began in early October 2026 (hackread.com, gbhackers.com). No named group is confirmed; the Tencent QQ data theft and checks for Chinese security processes suggest a financially motivated, Chinese-speaking operator (securityonline.info, an inference by that outlet). At least one compromised server in the United States was observed, and no total victim count was published (securityonline.info). Fortinet says its IPS, Web Filtering and AntiVirus services detect and block the activity and payloads (feeds.fortinet.com). Sources stress that the campaign abuses weak or default credentials and legacy misconfigurations, not a new vulnerability (hackread.com). No CVE is cited.
Detalhes técnicos
- Discovery: the Go-based initial payload, UPX-packed and masquerading as dllhost.exe, embeds Naabu (v2, per gbhackers.com) and scans IP ranges, including /16 CIDR blocks, for TCP 1433 (gbhackers.com). Scanning continues as long as the attacker's infrastructure responds (infosecurity-magazine.com). It gets a target IP from the C2 server, expands it to a /16 subnet and sends SYN probes to port 1433; open hosts are logged to Result.txt (securityonline.info).
- Dropper downloads and persistence of the Go binary: it downloads 2018.sql, dwm.exe, go.bat, go.vbs, out.bat, user.txt, pass.txt and sqlcmd.exe, and creates a scheduled task disguised as a Microsoft Edge update that runs every 30 minutes (securityonline.info).
- Brute force: the payload uses a predefined credential list (feeds.fortinet.com) of over 2,700 passwords, aimed at usernames such as 'sa' and 'admin' (infosecurity-magazine.com, hackread.com, gbhackers.com, securityonline.info). dwm.exe brute-forces logins with up to 500 threads (securityonline.info).
- Execution: after a successful login, the attackers enable xp_cmdshell and run native Transact-SQL commands to execute Windows commands. These commands download a loader, which pulls further payloads from FTP servers (feeds.fortinet.com, infosecurity-magazine.com, gbhackers.com). The 2018.sql script also enables Ole Automation Procedures, drops down.exe (renamed Google.exe or payload.exe) in C:\Users\Public and registers a scheduled task named Microsoft_UPDATES. It writes a hex-encoded Secs.exe with ADODB.Stream and runs it via WScript.Shell (securityonline.info).
- Secs.exe: sends the victim's IP, country, OS build, CPU, RAM, username and hostname to the C2 server by HTTP POST and pulls payloads from an FTP server with FtpGetFileW (securityonline.info).
- Payloads: a XMRig Monero miner disguised as MicrosoftEdgeUpdate.exe, and a Gh0st RAT variant named winlogon.exe (feeds.fortinet.com, hackread.com). Both are packed with Themida; the miner mines Monero (rx/0) via Kryptex and Nanopool (securityonline.info).
- Gh0st RAT capabilities: remote control, keylogging, data theft, screen capture and evasion techniques (infosecurity-magazine.com, hackread.com). Per securityonline.info it also offers file management, a remote shell and more than 30 commands, wipes event logs, checks 78 security processes and steals Tencent QQ data. It communicates with hardcoded C2 servers (gbhackers.com).
- Persistence: scheduled tasks (including entries mimicking Microsoft Edge Update), registry run keys, services and executables in the startup folder (infosecurity-magazine.com, gbhackers.com). For the RAT: the HKLM Run key, a service and a scheduled task (securityonline.info).
- Indicator: connections to the domain vietnam852[.]com (gbhackers.com).
Remediação
- Remove direct internet exposure of SQL Server, especially TCP 1433 (hackread.com, gbhackers.com); restrict TCP 1433 at the perimeter (securityonline.info).
- Enforce strong, unique credentials and restrict administrative access (hackread.com). Disable or rename the sa account and enforce strong password policies (gbhackers.com); enforce strong sa passwords (securityonline.info).
- Disable xp_cmdshell where possible (hackread.com, gbhackers.com), and keep Ole Automation Procedures disabled (securityonline.info).
- Monitor for suspicious activity and adopt modern privileged access management practices (hackread.com).
- Hunt for malicious scheduled tasks, including Microsoft_UPDATES and fake Edge update tasks, and for connections to vietnam852[.]com (gbhackers.com, securityonline.info).
- Monitor C:\Users\Public for Secs.exe and Google.exe (securityonline.info).
- Fortinet customers are covered by IPS, Web Filtering and AntiVirus signatures (feeds.fortinet.com).
- Hunt for the masquerading file names MicrosoftEdgeUpdate.exe, winlogon.exe, dllhost.exe and dwm.exe outside their legitimate contexts, and for unexpected scheduled tasks, registry run keys, startup folder items and services. This extension of the hunting advice is the desk's inference from the reported persistence methods, not a source recommendation.
Linha do tempo
-
T-SQL campaign brute-forces exposed MS SQL Servers on TCP 1433 to deploy Gh0st RAT and XMRig miner
ler a análise desta fonte ocultar
FortiGuard Labs reported an active campaign against internet-facing Microsoft SQL Server instances on TCP port 1433. A Go scanner (dllhost.exe) embeds the Naabu port scanner. A .NET brute-forcer (dwm.exe, assembly CSQL.exe) then tries the sa and admin accounts against a dictionary of more than 2,700 passwords. After a successful login, T-SQL batches run remotely and install an XMRig Monero miner and a Gh0st RAT variant. No named group is confirmed. The Tencent QQ data theft and the checks for Chinese security processes suggest a financially motivated, Chinese-speaking operator. This summary is based on the article alone, and no vendor advisory was consulted.
Technical Details
- The Go binary is packed with UPX. It downloads 2018.sql, dwm.exe, go.bat, go.vbs, out.bat, user.txt, pass.txt and sqlcmd.exe, and it creates a scheduled task disguised as a Microsoft Edge update that runs every 30 minutes.
- It gets a target IP from the C2 server, expands it to a /16 subnet, and sends SYN probes to port 1433. Open hosts are logged to Result.txt.
- dwm.exe brute-forces logins with up to 500 threads. 2018.sql then enables xp_cmdshell and Ole Automation Procedures.
- The script drops down.exe, renamed Google.exe or payload.exe, in C:\Users\Public. It also registers a scheduled task named Microsoft_UPDATES.
- It writes a hex-encoded Secs.exe with ADODB.Stream and runs it via WScript.Shell.
- Secs.exe sends the victim's IP, country, OS build, CPU, RAM, username and hostname to the C2 server by HTTP POST. It pulls payloads from an FTP server with FtpGetFileW.
- MicrosoftEdgeUpdate.exe is an XMRig miner packed with Themida. It mines Monero (rx/0) via Kryptex and Nanopool.
- winlogon.exe is a Gh0st RAT variant packed with Themida. It provides keylogging, screen capture, file management, a remote shell and more than 30 commands. It persists through the HKLM Run key, a service and a scheduled task. It wipes event logs, checks 78 security processes and steals Tencent QQ data.
- At least one compromised server in the United States was observed. No total victim count was published.
Remediation
- Restrict TCP 1433 at the perimeter.
- Enforce strong sa passwords.
- Keep xp_cmdshell and Ole Automation Procedures disabled.
- Audit scheduled tasks for Microsoft_UPDATES and fake Edge update tasks.
- Monitor C:\Users\Public for Secs.exe and Google.exe.
-
Active Campaign Hijacks Internet-Facing Microsoft SQL Servers via T-SQL to Deploy Gh0st RAT and Monero Miners
ler a análise desta fonte ocultar
In early October 2026, an active threat campaign targeted Internet-facing Microsoft SQL Server instances by exploiting exposed port 1433. The attackers used a UPX-packed Go binary masquerading as dllhost.exe to scan /16 CIDR blocks for SQL servers using embedded Naabu v2. They performed brute-force credential attacks using a large password list against accounts like sa and admin. Upon successful authentication, native T-SQL commands enabled xp_cmdshell to execute OS commands and deploy payloads including a Monero miner and a Gh0st RAT variant. Persistence was maintained via scheduled tasks mimicking Microsoft Edge Update entries, registry run keys, and startup folder executables. The Gh0st RAT supports extensive espionage and control features and communicates with hardcoded C2 servers. Defenders are urged to block port 1433 externally, disable or rename the sa account, enforce strong password policies, disable xp_cmdshell, and hunt for indicators such as malicious scheduled tasks and connections to vietnam852[.]com.
-
Hackers abuse exposed Microsoft SQL Servers via brute force to deploy Monero miner and Gh0st RAT
ler a análise desta fonte ocultar
Fortinet's FortiGuard Labs uncovered a campaign beginning October 2026 targeting internet-exposed Microsoft SQL Server instances with weak or default credentials via brute-force attacks. Attackers exploit administrative features of SQL Server, specifically enabling xp_cmdshell, to execute Windows commands and deploy malicious payloads including a Monero cryptocurrency miner disguised as MicrosoftEdgeUpdate.exe and a Gh0st RAT variant named winlogon.exe. The Gh0st RAT supports remote access, keylogging, screen capture, and persistence mechanisms. The attackers use open-source tools like Naabu for scanning and attempt over 2,700 password guesses against common admin accounts. This campaign highlights risks from exposed privileged credentials and legacy misconfigurations rather than new vulnerabilities. Mitigations emphasize removing internet exposure of SQL Server, enforcing strong unique credentials, restricting admin access, disabling xp_cmdshell when possible, monitoring for suspicious activity, and adopting modern privileged access management practices.
-
Cryptominer and Gh0st RAT Deployed via Brute Force on Internet-Facing Microsoft SQL Servers
ler a análise desta fonte ocultar
FortiGuard Labs uncovered a high-severity campaign exploiting weak passwords on internet-facing Microsoft SQL Server instances. Attackers use an initial Go-based payload embedding the open-source Naabu port scanner to discover vulnerable SQL Servers listening on TCP port 1433. They then brute force logins with over 2700 passwords targeting usernames like 'sa' and 'admin'. Upon access, the attackers enable xp_cmdshell and execute Transact-SQL commands to download and persist a loader that installs a Monero cryptominer disguised as a Microsoft Edge update and a sophisticated Gh0st RAT variant. The RAT supports extensive remote control capabilities including keylogging, data theft, screen capture, and evasion techniques. Persistence mechanisms leverage scheduled tasks, registry keys, and services. The campaign scans IP ranges continuously as long as the attacker's infrastructure responds.
-
Microsoft SQL Server Instances Targeted with T-SQL Based Malware Delivery Leveraging Brute-Force Attacks and Remote Loaders
ler a análise desta fonte ocultar
A campaign abusing exposed Microsoft SQL Server instances for malware delivery has been analyzed. Attackers use a UPX-packed Go binary with Naabu scanner to identify reachable servers over TCP port 1433, then brute-force MSSQL logins with a predefined credential list. Successful logins execute T-SQL commands enabling xp_cmdshell to download malicious loaders that pull additional payloads from FTP servers. Notably, payloads include a XMRig Monero miner disguised as MicrosoftEdgeUpdate.exe and a Gh0st RAT (winlogon.exe) providing remote control capabilities. Fortinet's IPS, Web Filtering, and AntiVirus services currently detect and block this campaign's activities and payloads, mitigating its impact on protected networks. This campaign underscores the risk of exposed MSSQL servers and the abuse of legitimate SQL functionality for persistence and malware deployment.