Attack Cases for Domestic Web Servers Running SoftEther VPN in Korea

Attack Cases for Domestic Web Servers Running SoftEther VPN in Korea

Keypoints

  • ASEC attributed recent attacks to Larva-26010 based on similarities with earlier SoftEther VPN intrusion cases.
  • The group targeted Korean web servers and MS-SQL servers to deploy SoftEther VPN on compromised systems.
  • Recent intrusions showed a reversed sequence: web servers were abused first for discovery and VPN installation, followed later by MS-SQL server compromise.
  • Attackers used PowerShell, certutil, curl, and batch files to download and install SoftEther VPN components such as hamcore.Se2 and vpn_server.Config.
  • Configuration evidence suggests the infected hosts were used in a cascade connection to hide or route traffic to the real C&C infrastructure.
  • The attackers set the UseLogonCredential registry key, likely to enable WDigest plaintext credential storage for later theft.
  • On MS-SQL servers, the threat actor installed CLR SqlShell with capabilities including command execution, payload download, privilege escalation, memory dumping, user creation, and shellcode execution.

MITRE Techniques

  • [T1190 ] Exploit Public-Facing Application – The attackers initially breached web servers and executed commands through the web service (‘the web server was attacked during the Initial Intrusion phase’).
  • [T1018 ] Remote System Discovery – They enumerated nearby systems and network state using commands like whoami, netstat, tasklist, and systeminfo (‘Whoami’, ‘Netstat -ano’, ‘Tasklist’, ‘Systeminfo’).
  • [T1135 ] Network Share Discovery – They checked network-related connectivity and environment details during discovery (‘Netstat -ano -p tcp’, ‘Ping 8.8.8.8’).
  • [T1082 ] System Information Discovery – They collected host details with systeminfo, ipconfig, and related commands (‘Systeminfo’, ‘Ipconfig /all’).
  • [T1046 ] Network Service Discovery – They inspected listening services and ports with netstat to understand exposed services (‘Netstat -ano -p tcp’).
  • [T1105 ] Ingress Tool Transfer – They downloaded malware and configuration files using PowerShell, certutil, and curl (‘PowerShell iwr -uri…’, ‘Certutil -urlcache -split -f…’, ‘Curl … -o …’).
  • [T1059.001 ] PowerShell – PowerShell was used to download files and execute commands for installation (‘PowerShell iwr -uri … -OutFile …’).
  • [T1106 ] Native API – The attackers used built-in Windows utilities such as certutil and bitsadmin to stage files (‘using utilities such as PowerShell, bitsadmin, and Certui’).
  • [T1112 ] Modify Registry – They set the UseLogonCredential registry key to enable WDigest plaintext password storage (‘the setting of the UseLogonCredential registry key’).
  • [T1003.001 ] OS Credential Dumping: LSASS Memory – The registry change indicates preparation for plaintext credential theft (‘intended for the subsequent credential theft’).
  • [T1087.001 ] Local Account Discovery – They queried authentication providers and local policy to understand account and login configuration (‘Reg query … AuthenticationCredential Providers’).
  • [T1012 ] Query Registry – The attackers queried registry values related to credential providers (‘Reg query “HKLMSOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential Providers”’).
  • [T1518 ] Software Discovery – They checked installed authentication methods and system state (‘determine which authentication methods are installed’).
  • [T1482 ] Domain Trust Discovery – They verified whether the system was joined to a domain (‘verify whether the system is joined to a domain’).
  • [T1510 ] Application Layer Protocol – The infection relied on HTTP-based downloads from multiple servers (‘hxxp://…/Download/…’).
  • [T1071.001 ] Web Protocols – The attackers used HTTP and likely web service traffic for command and file delivery (‘executed via the web service’).
  • [T1005 ] Data from Local System – The SqlShell supported collecting data such as memory dumps from the victim host (‘memory dumps’).
  • [T1068 ] Exploitation for Privilege Escalation – SqlShell included privilege escalation using BadPotato and EfsPotato (‘privilege escalation using BadPotato and EfsPotato’).
  • [T1136.001 ] Create Account: Local Account – The attackers attempted to add a local user account named administrator (‘add an account named “administrator”’).
  • [T1055 ] Process Injection – The article states the shell can execute shellcode, which is commonly associated with code injection or execution of arbitrary code (‘executing shellcode’).

Indicators of Compromise

  • [MD5] malware/file hashes associated with the campaign – 2ce810acee9eb604010bd4cd28b36ac2, 329f6d74299141fe06a5e222efcb06f8, and 2 more hashes
  • [IP Address] command-and-download infrastructure used for SoftEther VPN deployment – 139.180.210.71, 45.76.144.150, and 3 more IPs
  • [URL] download locations for batch files, CAB files, and configuration data – http://139.180.210.71/download/m2.bat, http://45.76.144.150/download/us3202508234.cab, and 3 more URLs
  • [File Name] files used to stage or disguise SoftEther VPN components – menu.Bat, m2.Bat, hamcore.Se2, vpn_server.Config, vmtoolsd.Exe, 403.Aspx
  • [Windows Registry Key] persistence/credential-theft-related registry modification – HKLMSOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential Providers


Read more: https://asec.ahnlab.com/en/94995/