Larva-26009 Uses Remote-Access Tools and SoftEther VPN in MS-SQL Server Attacks

· Original article ↗

Summary

AhnLab details attacks on MS-SQL servers attributed to Larva-26009, involving web shells, credential-theft tools, remote access and backdoors, XMRig mining, and SoftEther VPN infrastructure.

Key points

  • The initial intrusion method is unknown; attackers used MS-SQL command execution to download and install additional payloads.
  • On systems with IIS, attackers installed an ASPX web shell, and they also used a PowerShell web shell for remote control.
  • Tools and techniques included registry dumping for credential theft, browser-data theft, privilege-escalation utilities, internal network scanning, and in-memory shellcode execution.
  • Attackers used GotoHTTP, VShell, Chrome Remote Desktop, Cloudflared, and backdoor accounts to maintain control or expose systems.
  • An observed attack installed XMRig, delivered through a shellcode loader.
  • Attackers installed SoftEther VPN using a cascade connection to another VPN server, which AhnLab says may help obscure the actual command-and-control server.
  • AhnLab recommends strong, periodically changed MS-SQL passwords, updated security software, and firewall access controls for publicly accessible database servers.

Article Details

Attack Vectors
  • The actor exploited an MS-SQL server to execute commands and download additional payloads; the initial intrusion method is unknown.
  • A web shell was installed on systems with an IIS web server to maintain persistence and control.
  • The actor used PowerShell and other command execution to download and execute payloads, including shellcode loaders and encrypted files.
  • The actor added backdoor accounts for potential remote control over RDP.
  • Cloudflared was used in some cases to expose local ports externally, with the generated access URL sent to a C2 server.
  • The actor used remote-control tools, VShell, and SoftEther VPN configured to cascade to another VPN server.
  • XMRig was installed to mine cryptocurrency.
Defensive Notes
  • Use difficult-to-guess passwords for database servers and change them periodically to reduce brute-force and dictionary-attack risk.
  • Keep V3 updated to the latest version to help block malware infections.
  • Use firewalls or other security products to control access to database servers exposed to the internet.

Indicators of compromise

TypeIndicatorContext
DOMAINmicrosftapiedge[.]comDomain listed in the article's threat-indicator section.
DOMAINupdate[.]microsftapiedge[.]comFQDN listed in the article's threat-indicator section.
IPV4159[.]223[.]46[.]140IP address listed in the article's threat-indicator section.
IPV438[.]60[.]253[.]35IP address listed in the article's threat-indicator section.
MD503bbee2c93c8b78bba321396a92bf026MD5 indicator listed in the article's threat-indicator section.
MD50429b9f291f570db0945282aa77c2d98MD5 indicator listed in the article's threat-indicator section.
MD5056ffa80af31d17e0cee037b44e0c7efMD5 indicator listed in the article's threat-indicator section.
MD50eb0f57afd54c9733c720fbac82b754bMD5 indicator listed in the article's threat-indicator section.
MD50ebab847d4e21bb7a3c22c291be0ac3aMD5 indicator listed in the article's threat-indicator section.
URLhxxp[:]//pub-c4c8e8c336c3429d97195076bf3bb6eb[.]r2[.]dev/009/qd_c_joke1[.]2[.]Ps1Threat-actor download URL for a script associated with the SoftEther VPN configuration.
URLhxxp[:]//pub-c4c8e8c336c3429d97195076bf3bb6eb[.]r2[.]dev/goto/gojoke[.]PngPayload URL used to download an encrypted file that the loader decrypts and executes.
URLhxxp[:]//pub-c4c8e8c336c3429d97195076bf3bb6eb[.]r2[.]dev/wk/009/xmr-1[.]ZipPayload URL used to download the archive containing the XMRig loader and payload.
URLhxxps[:]//ams-pub-dev[.]s3[.]dualstack[.]eu-west-1[.]amazonaws[.]com/test/hub/update[.]zipSpecific cloud-hosted URL listed as a threat indicator.
URLhxxps[:]//imagefiles-backup[.]oss-ap-southeast-7[.]aliyuncs[.]com/apaches[.]aspxSpecific cloud-hosted web shell URL listed as a threat indicator.
URLhxxps[:]//imagefiles-backup[.]oss-ap-southeast-7[.]aliyuncs[.]com/batt[.]exeSpecific cloud-hosted executable URL listed as a threat indicator.
URLhxxps[:]//imagefiles-backup[.]oss-ap-southeast-7[.]aliyuncs[.]com/browser[.]exeSpecific cloud-hosted executable URL listed as a threat indicator.
URLhxxps[:]//imagefiles-backup[.]oss-ap-southeast-7[.]aliyuncs[.]com/GotoHTTP_x64[.]exeSpecific cloud-hosted GotoHTTP executable URL listed as a threat indicator.

MITRE ATT&CK

Threat Actors

Malware

Products

Tools

Related Articles