Hackers Use 2,700 Passwords to Break Into Microsoft SQL Servers and Deploy Remote Access Malware

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A new campaign is guessing its way into internet-facing Microsoft SQL Server systems. The attackers use a list of more than 2,700 passwords and then install a cryptocurrency miner and a remote access trojan (RAT) on the hacked machines.

The campaign has been running since at least early October 2026. Database servers hold valuable data, so they are a favorite target. This campaign scans for exposed servers, tries many logins, and runs commands that pull in more malware.

Attackers have used the same basic approach for years, as seen when hackers were continuously attacking MS-SQL servers with scanner malware earlier this year.

Researchers at Fortinet’s FortiGuard Labs identified the malware and described the full infection chain in a report published on November 12, 2026.

Analyst Xiaopeng Zhang noted that the campaign abuses T-SQL, Microsoft’s extension of the SQL language, to run commands on hacked servers. FortiGuard rates the severity as high.

Hackers Use 2,700 Passwords to Break Into Microsoft SQL Servers

The chain starts with a file named dllhost.exe. It is written in the Go language and packed with UPX to hide its contents. The name copies a real Windows process, which helps it blend in.

The file contains the open-source Naabu port scanner. It contacts the attackers’ server, receives an IP range to scan, and checks each random address in that range for open TCP port 1433, the default port for SQL Server.

Any open host is written to a file called Result.txt, and the malware then asks for the next range. The malware also downloads eight support files, including scripts named go.vbs and go.bat and a tool named dwm.exe.

The infection chain of this malware campaign (Source - Fortinet)
The infection chain of this malware campaign (Source – Fortinet)

Despite its name, dwm.exe is a .NET program that guesses logins. It reads user names such as “sa” and “admin” from one file and tries more than 2,700 passwords from another, using up to 500 threads at once.

Weak or reused passwords on exposed servers are what make this work. This is the same weakness behind older cases where criminals brute force MSSQL logins to drop ransomware.

When a login works, the tool runs a file called 2018.sql on the server. Its commands turn on xp_cmdshell, a feature that lets SQL Server run Windows commands.

They then download a program into the C:UsersPublic folder and name it Google.exe or payload.exe. They also create a daily scheduled task called Microsoft_UPDATES and drop another file, Secs.exe, into the Startup folder.

The malware itself sets up a scheduled task that runs every 30 minutes and is named to look like a Microsoft Edge update.

What the Miner and Gh0st RAT Do After the Break-In

The downloader, Secs.exe, connects to an FTP server and pulls down more files, which it saves in the Temp folder and runs. It then creates another disguised Edge update task.

Next it sends the victim’s public IP address, country, Windows version, processor, memory, user name and host name to the attackers. This registers the server in their system.

One payload is MicrosoftEdgeUpdate.exe, which is not an update at all. It is a Monero miner protected by two packers, Themida and a custom LZSS packer.

It uses the server’s CPU to mine coins and connects to pools such as nanopool and kryptex. It also tells the attackers’ server when mining starts. The result is slow performance, higher power costs and wasted computing power for the victim.

The second payload, winlogon.exe, is a variant of Gh0st RAT, which gives attackers remote control. It sets itself up three ways: a Run registry key, a Windows service and a scheduled task.

Eight additional files to be downloaded (Source - Fortinet)
Eight additional files to be downloaded (Source – Fortinet)

It can log keystrokes, manage files, run a remote shell, wipe event logs and steal data from QQ, a Chinese messaging app. It also supports more than 30 control commands, and plugins add screen capture and remote desktop.

The malware checks for 78 security product process names. Its command servers were offline when Fortinet tested it, so the team could only study the unpacked file. The same family has been seen before, when HiddenGh0st malware targeting MS-SQL servers was reported.

Do not leave SQL Server open to the internet. Put it behind a firewall or VPN, and block port 1433 from outside networks. Use long, unique passwords, rename or disable the sa account, and lock accounts after repeated failures.

Turn off xp_cmdshell unless you need it. Watch for new scheduled tasks that imitate Edge updates, unknown files in C:UsersPublic, and sudden spikes in CPU use.

Recent reports of hijacking MS-SQL servers recently with C2 frameworks show that these servers remain a steady target.

Indicators of compromise (IoCs):-

Type Indicator Description
Domain site.vietnam852[.]com:88 Campaign file server
Domain ftp.vietnam852[.]com:88 FTP and registration server
Domain server.vietnam852[.]com:8000 Gh0st RAT C2
Domain www.swordaa[.]com:8000 Gh0st RAT C2
Domain site.hfgjjkrewjk[.]com Mining status reporting
Domain site.jiancai008[.]com Payload hosting
URL hxxp://site.vietnam852[.]com:88/ip.php Target IP range
URL hxxp://site.vietnam852[.]com:88/2026/2018.sql Malicious T-SQL
URL hxxp://site.vietnam852[.]com:88/2026/dwm.exe Brute-force tool
URL hxxp://site.vietnam852[.]com:88/down.exe Downloader
URL hxxp://ftp.vietnam852[.]com:88/post.php Host registration
URL hxxp://site.jiancai008[.]com:88/test/winlogon.exe Gh0st RAT
URL hxxp://ftp.vietnam852[.]com:88/test/MicrosoftEdgeUpdate.exe XMR miner
URL hxxp://site.vietnam852[.]com/tj/xmr.php?data= Miner reporting
SHA-256 8CE2CD98EF6CEEECE8239936E4AEA042C41807F632CD691D5091705BF6C0076D dllhost.exe
SHA-256 F5444E8E9E9E019693AACB363B7441AC0B8ECFE96A77FD94B9C312A017588EB4 2018.sql
SHA-256 2A0D2889241885D5EA6FE7DD1B1ADC83653A0C07B8AAA1B0832E5F9C0225B379 go.bat
SHA-256 79596CF6E267EF5CB658BD97D04E42A41001D36595E370441ADB3C2B5DD5666C go.vbs
SHA-256 D6E3FD28F479138B336E2C2088AD2E86B7646A163AA453B1703905A4B359070F sqlcmd.exe
SHA-256 124774698FD3EDE0800015D19C2BD6C1869D03BBC2E6E8DBE2F69D2978F7F4D0 dwm.exe
SHA-256 125D3A0EFE7699BB20397C13F0F4993AD893952727487B4D190E386A5B14C427 down.exe / Google.exe / payload.exe
SHA-256 20983573B840447E1AACD6D3F6DD240732B15037D268D6456F0D3C4EC5051CB0 down.exe / Google.exe / payload.exe
SHA-256 58DB0CA2054ABE2989412D7A1C8ED16718577F893C196825C848FCD56C7E8F05 Embedded downloader in 2018.sql
SHA-256 2A23E10BFC097E98295CBFF8124BD403C4CB677E709B48CCC53D6ACA216C3061 MicrosoftEdgeUpdate.exe (XMR miner)
SHA-256 DA4128AA5D006E05C58F0D240C2D8E5FB02774B6ACF314F1230059C7A3498724 MicrosoftEdgeUpdate.exe (XMR miner)
SHA-256 3F64B0146B323C5716043360E84384A5A197A897F46088DF93A910470A29E1A0 winlogon.exe (Gh0st RAT)

Note: IP addresses and domains are intentionally Qdefanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Hackers Use 2,700 Passwords to Break Into Microsoft SQL Servers and Deploy Remote Access Malware appeared first on Cyber Security News.