There is a category of intrusion that keeps experienced incident responders up at night: the one where the attacker never writes a single line of malicious code. No custom implants to reverse, no shellcode to carve out of memory, no EDR-evading loaders. Just legitimate, open-source software doing exactly what it was designed to do — inside a network it was never authorized to touch.
That is precisely the playbook of Webworm, a China-aligned advanced persistent threat group that has been documented deploying the open-source SoftEther VPN into compromised governmental organizations to establish quiet, durable access. SoftEther is a multi-protocol VPN platform — HTTPS-based, TLS-encrypted, capable of punching through NAT and firewalls, and engineered specifically to look like ordinary web traffic. From the attacker's perspective, it is nearly perfect: widely signed, openly distributed, and functionally indistinguishable from legitimate remote access tooling unless you know exactly what to look for.
Now, according to recent analysis from Rapid7, Webworm appears to have leveled up. After public reporting taught defenders to watch for stock SoftEther deployments, the actor apparently developed what researchers assess — with moderate confidence — to be a previously unknown custom SoftEther-based bridge tool, modified specifically to hide from security controls. The core insight for defenders is uncomfortable but essential: the tactic didn't go away when you published detections for it. It evolved.
This post breaks down what this means for your environment and gives you concrete detection logic, hunting queries, and remediation steps you can operationalize today.
Technical Analysis: Understanding the Threat Model
Why SoftEther, and Why It Matters
SoftEther VPN (open-source, originally developed at the University of Tsukuba) is not a vulnerability — there is no CVE here, no unpatched flaw, no exploit chain in the traditional sense. The "exploit" is architectural and procedural:
- Initial compromise (via a separate vector — phishing, exposed services, or supply chain) gives Webworm a foothold in a government network.
- SoftEther components are staged on internal systems. The relevant binaries include
vpnserver.exe,vpnclient.exe,vpnbridge.exe,vpncmd.exe, andvpncmgr.exe, plus thehamcore.se2resource file and the virtual network adapter driver (Neo0***/SE VPNadapter naming conventions). - A bridge or relay is established, tunneling attacker traffic out over TLS — typically over ports 443, 5555, 992, or 1194 — to attacker-controlled SoftEther infrastructure or chained relays.
- The result is an encrypted, firewall-friendly, long-term access channel that rides on signed binaries most application-control policies whitelist by default.
What the Custom Tooling Changes
The critical development in Rapid7's reporting is that Webworm's newer tooling is a custom SoftEther derivative with anti-analysis and anti-detection modifications. For defenders, this changes the detection equation in three ways:
- Filename-based detection becomes unreliable. Stock indicators like
vpnserver.exein a suspicious path will miss renamed or repacked variants. - Signature and metadata-based detection becomes unreliable. If the binary is recompiled, the legitimate SoftEther signature and version metadata may be stripped or altered.
- Behavioral and infrastructure-based detection becomes the primary line of defense. Regardless of how the binary is modified, the tool must still do SoftEther things: install services, create virtual network adapters, open persistent TLS tunnels, and run from unusual locations on servers that have no business hosting VPN infrastructure.
This is the broader lesson for detection engineering: when adversaries "live off trusted tools," you pivot from file-centric to behavior- and context-centric detection.
Exploitation Status
- Active, in-the-wild targeting of governmental organizations, attributed to the China-aligned Webworm cluster with moderate confidence (per Rapid7).
- No associated CVE — this is abuse of legitimate software and custom tooling, not a patchable vulnerability. No CISA KEV entry applies.
- MITRE ATT&CK mapping: T1572 (Protocol Tunneling), T1090 (Proxy), T1105 (Ingress Tool Transfer), T1543.003 (Create or Modify System Process: Windows Service), T1071.001 (Application Layer Protocol: Web Protocols), T1036 (Masquerading).
Detection & Response
The rules and queries below target the behaviors that survive customization: SoftEther binaries (identified by original filename metadata, which survives renaming unless explicitly stripped), unexpected VPN service installation, virtual adapter creation, and VPN-style processes initiating outbound TLS from servers with no legitimate VPN role. Tune the path exclusions to your environment — if you legitimately run SoftEther (most organizations don't), baseline those hosts first.
Sigma Rules
---
title: SoftEther VPN Component Execution From Non-Standard Path
id: 3f9a1c72-4d8e-4b21-9f5a-2c7e6d1a8b40
status: experimental
description: Detects execution of SoftEther VPN server, bridge, or client binaries by original filename metadata from non-standard install paths, a tactic associated with Webworm APT's use of stock and custom SoftEther tooling for covert persistence.
references:
- https://www.rapid7.com/blog/post/tr-spying-on-governments-no-malware-custom-webworms-toolkit-softether-bridge
- https://attack.mitre.org/techniques/T1572/
- https://attack.mitre.org/techniques/T1090/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.command_and_control
- attack.t1572
- attack.t1090
logsource:
category: process_creation
product: windows
detection:
selection_original_name:
OriginalFileName:
- 'vpnserver.exe'
- 'vpnbridge.exe'
- 'vpnclient.exe'
- 'vpncmd.exe'
filter_legit_paths:
Image|startswith:
- 'C:\Program Files\SoftEther VPN'
- 'C:\Program Files (x86)\SoftEther VPN'
condition: selection_original_name and not filter_legit_paths
falsepositives:
- Organizations legitimately deploying SoftEther to custom install directories (rare — baseline first)
level: high
---
title: SoftEther VPN Service or Virtual Adapter Installation
id: 8b2d5e90-1a47-4c63-b8d2-6e0f3a5c9174
status: experimental
description: Detects creation of Windows services or drivers associated with SoftEther VPN components (server service, VPN bridge, or virtual network adapter driver), indicating possible covert VPN infrastructure deployment consistent with Webworm APT tradecraft.
references:
- https://www.rapid7.com/blog/post/tr-spying-on-governments-no-malware-custom-webworms-toolkit-softether-bridge
- https://attack.mitre.org/techniques/T1543/003/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.persistence
- attack.t1543.003
- attack.t1036
logsource:
category: service_install
product: windows
detection:
selection:
ImagePath|contains:
- 'vpnserver.exe'
- 'vpnbridge.exe'
- 'vpnclient.exe'
- '\Neo0'
- 'vpn_x64.sys'
- 'vpn.sys'
filter_legit_paths:
ImagePath|startswith:
- 'C:\Program Files\SoftEther VPN'
- 'C:\Program Files (x86)\SoftEther VPN'
condition: selection and not filter_legit_paths
falsepositives:
- Legitimate SoftEther deployments in sanctioned environments (baseline and exclude known hosts)
level: high
---
title: SoftEther Component Presence On Server Via File Creation
id: c17e4a06-93b2-4d58-af61-7b3c8d2e5096
status: experimental
description: Detects creation of SoftEther VPN core files including the hamcore.se2 resource file and VPN executables outside standard install locations, a staging indicator for attacker-deployed SoftEther bridges.
references:
- https://www.rapid7.com/blog/post/tr-spying-on-governments-no-malware-custom-webworms-toolkit-softether-bridge
- https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.command_and_control
- attack.t1105
logsource:
category: file_event
product: windows
detection:
selection:
TargetFilename|contains:
- 'hamcore.se2'
- 'vpn_server.config'
- 'vpn_bridge.config'
- 'vpn_client.config'
- '\vpnserver.exe'
- '\vpnbridge.exe'
filter_legit_paths:
TargetFilename|startswith:
- 'C:\Program Files\SoftEther VPN'
- 'C:\Program Files (x86)\SoftEther VPN'
condition: selection and not filter_legit_paths
falsepositives:
- Legitimate VPN software packages staged for sanctioned deployment
level: medium
KQL (Microsoft Sentinel / Defender)
The following hunts for SoftEther activity by original filename metadata and known component names across process, network, and service telemetry — catching renamed binaries that a pure filename search would miss.
// Hunt: SoftEther VPN component activity outside sanctioned install paths
// Covers process execution, outbound network connections, and dropped components
let LegitPaths = dynamic([@"C:\Program Files\SoftEther VPN", @"C:\Program Files (x86)\SoftEther VPN"]);
let SoftEtherNames = dynamic(["vpnserver.exe","vpnbridge.exe","vpnclient.exe","vpncmd.exe","vpncmgr.exe","sevpnserver.exe","hamcore.se2"]);
let ProcEvents = DeviceProcessEvents
| where FileName has_any (SoftEtherNames) or ProcessVersionInfoOriginalFileName has_any (SoftEtherNames)
| where not (FolderPath has_any (LegitPaths))
| project HuntTime=TimeGenerated, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256;
let NetEvents = DeviceNetworkEvents
| where InitiatingProcessFileName has_any (SoftEtherNames) or InitiatingProcessVersionInfoOriginalFileName has_any (SoftEtherNames)
| where not (RemoteIP has_any ("10.","192.168.","172.16.","172.17.","172.18.","172.19.","172.2","172.30.","172.31.","127.","169.254."))
| project HuntTime=TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, RemoteIP, RemotePort, RemoteUrl;
let FileEvents = DeviceFileEvents
| where FileName has_any (SoftEtherNames)
| where not (FolderPath has_any (LegitPaths))
| project HuntTime=TimeGenerated, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName;
union ProcEvents, NetEvents, FileEvents
| sort by HuntTime desc
Velociraptor VQL
Use this artifact to sweep endpoints and servers for SoftEther processes and their network connections — particularly valuable for identifying listening VPN services and long-lived outbound tunnels on systems that should not be hosting them.
-- Hunt for SoftEther VPN processes and associated network activity
-- Targets vpnserver/vpnbridge/vpnclient execution and SoftEther listener/tunnel ports
LET softether_procs = SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE Name =~ '(?i)vpnserver|vpnbridge|vpnclient|vpncmd|sevpn'
OR CommandLine =~ '(?i)hamcore|softether|vpnserver|vpnbridge'
OR Exe =~ '(?i)hamcore.se2'
LET softether_net = SELECT Pid, Name, Family, Type, Laddr, Lport, Raddr, Rport, Status
FROM netstat()
WHERE (Name =~ '(?i)vpnserver|vpnbridge|vpnclient|sevpn')
OR (Lport IN (443, 5555, 992, 1194) AND Status =~ '(?i)LISTEN' AND Name !~ '(?i)iexplore|chrome|firefox|msedge|svchost')
SELECT * FROM softether_procs
UNION ALL
SELECT Pid, NULL AS Ppid, Name, NULL AS CommandLine, NULL AS Exe, NULL AS Username, NULL AS CreateTime,
format(format='%v:%v', args=[Laddr, Lport]) AS LocalEndpoint,
format(format='%v:%v', args=[Raddr, Rport]) AS RemoteEndpoint,
Status
FROM softether_net
Audit & Remediation Script (PowerShell)
Run the following across your Windows server estate (via GPO, your RMM, or EDR live response) to inventory SoftEther artifacts and optionally remove unauthorized installations. Start with -AuditOnly to build your baseline before enabling removal.
# Security Arsenal - SoftEther Unauthorized Deployment Audit/Remediation
# Run as SYSTEM or elevated admin. Start with -AuditOnly $true to baseline.
param(
[bool]$AuditOnly = $true,
[string]$ReportPath = "C:\ProgramData\SoftEtherAudit_$(Get-Date -Format 'yyyyMMdd_HHmmss').log"
)
function Write-Finding { param([string]$Msg) Add-Content -Path $ReportPath -Value $Msg; Write-Host $Msg }
$SoftEtherPatterns = @('vpnserver.exe','vpnbridge.exe','vpnclient.exe','vpncmd.exe','vpncmgr.exe','sevpnserver.exe')
$LegitPaths = @('C:\Program Files\SoftEther VPN','C:\Program Files (x86)\SoftEther VPN')
Write-Finding "=== SoftEther Audit Started: $(Get-Date) on $env:COMPUTERNAME ==="
# 1. Enumerate services referencing SoftEther components
$services = Get-CimInstance Win32_Service | Where-Object { $_.PathName -match 'vpnserver|vpnbridge|vpnclient|softether|SEVPN' }
foreach ($svc in $services) {
$isLegit = $false
foreach ($p in $LegitPaths) { if ($svc.PathName -like "$p*") { $isLegit = $true } }
Write-Finding "[SERVICE] $($svc.Name) | State: $($svc.State) | Path: $($svc.PathName) | LegitPath: $isLegit"
if (-not $AuditOnly -and -not $isLegit) {
Stop-Service -Name $svc.Name -Force -ErrorAction SilentlyContinue
& sc.exe delete $svc.Name | Out-Null
Write-Finding "[REMOVED] Service $($svc.Name) stopped and deleted."
}
}
# 2. Hunt running SoftEther processes outside sanctioned paths
$procs = Get-CimInstance Win32_Process | Where-Object { $n = $_.Name; $SoftEtherPatterns | ForEach-Object { if ($n -like "*$_*") { return $true } } }
foreach ($proc in $procs) {
Write-Finding "[PROCESS] PID $($proc.ProcessId) | $($proc.ExecutablePath) | Cmd: $($proc.CommandLine)"
$isLegit = $false
foreach ($p in $LegitPaths) { if ($proc.ExecutablePath -like "$p*") { $isLegit = $true } }
if (-not $AuditOnly -and -not $isLegit) {
Stop-Process -Id $proc.ProcessId -Force -ErrorAction SilentlyContinue
Write-Finding "[KILLED] PID $($proc.ProcessId)"
}
}
# 3. Check for SoftEther virtual network adapters
$adapters = Get-NetAdapter -ErrorAction SilentlyContinue | Where-Object { $_.InterfaceDescription -match 'SoftEther|VPN Client Adapter|VPN Bridge' -or $_.Name -match 'VPN - VPN Client|VPN Bridge' }
foreach ($a in $adapters) {
Write-Finding "[ADAPTER] $($a.Name) | $($a.InterfaceDescription) | Status: $($a.Status)"
}
# 4. Sweep common staging directories for SoftEther files
$searchDirs = @('C:\ProgramData','C:\Users\Public','C:\Windows\Temp','C:\Temp')
foreach ($dir in $searchDirs) {
if (Test-Path $dir) {
Get-ChildItem -Path $dir -Recurse -Include ($SoftEtherPatterns + 'hamcore.se2','vpn_server.config','vpn_bridge.config') -ErrorAction SilentlyContinue |
ForEach-Object { Write-Finding "[FILE] $($_.FullName) | Size: $($_.Length) | Modified: $($_.LastWriteTime) | SHA256: $((Get-FileHash $_.FullName -Algorithm SHA256 -ErrorAction SilentlyContinue).Hash)" }
}
}
# 5. Flag long-lived outbound TLS on SoftEther-typical ports from non-browser processes
$conns = Get-NetTCPConnection -State Established -ErrorAction SilentlyContinue | Where-Object { $_.RemotePort -in 443,5555,992,1194 -and $_.RemoteAddress -notmatch '^(10\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[01])\.|127\.)' }
foreach ($c in $conns) {
$p = Get-Process -Id $c.OwningProcess -ErrorAction SilentlyContinue
if ($p -and $p.Name -notmatch '^(iexplore|chrome|firefox|msedge|svchost)$') {
Write-Finding "[NET] $($p.Name) (PID $($p.Id)) -> $($c.RemoteAddress):$($c.RemotePort)"
}
}
Write-Finding "=== Audit Complete. Mode: $(if($AuditOnly){'AUDIT ONLY'}else{'REMEDIATION'}) ==="
Remediation & Hardening Guidance
Because this is abuse of legitimate software rather than a patchable vulnerability, remediation is about discovery, eviction, and durable prevention:
-
Sweep your estate now. Deploy the Sigma rules, KQL hunt, and audit script above across all servers — prioritizing domain controllers, file servers, jump boxes, and any system with dual-homed network access. Government and critical-infrastructure networks should treat any unauthorized VPN software as a suspected compromise, full stop.
-
Treat a SoftEther finding as an incident, not a nuisance. If you find unauthorized SoftEther components, you almost certainly have a broader intrusion — the VPN bridge is the persistence, not the entry point. Initiate your IR process: isolate the host, acquire memory and triage images before remediation, identify the initial access vector, and hunt laterally from the affected host. Eradicating the VPN tool without finding the door it walked through guarantees the actor returns.
-
Application control is your strongest preventive control. Use AppLocker, WDAC, or your EDR's application control to block execution of SoftEther binaries by original filename and publisher metadata (since hashes change across versions and custom builds) —
vpnserver.exe,vpnbridge.exe,vpnclient.exe,vpncmd.exe, and thehamcore.se2dependency. In most enterprises, SoftEther has zero legitimate business use; deny it outright. -
Egress filtering and TLS inspection. SoftEther is explicitly designed to blend into HTTPS. Enforce proxy-based egress where feasible, alert on long-lived outbound TLS sessions from servers (which rarely need sustained 443 sessions to rare destinations), and flag connections to known SoftEther relay infrastructure and the SoftEther VPN Gate public relay list.
-
Baseline your remote access stack. Publish an authoritative list of sanctioned remote access tools and VPN software. Any deviation — SoftEther, but also the same class of abuse seen with ngrok, Cloudflare Tunnel, AnyDesk, and MeshCentral — should alert. You cannot detect "living off trusted tools" abuse without knowing which tools are trusted.
-
Monitor service creation on servers. Alert on any new Windows service installation on servers outside of change windows. Webworm-style persistence depends on surviving reboot, and service installation (MITRE T1543.003) is a high-fidelity, low-noise telemetry source when scoped to server classes.
-
Review Rapid7's full analysis for actor-specific indicators and the custom tool's modifications at the original Rapid7 blog post, and subscribe to their IoC feeds for hashes and infrastructure as they are published.
Executive Takeaways for Leadership
The Webworm/SoftEther campaign illustrates a strategic shift in state-aligned tradecraft that compliance checklists don't capture: adversaries are deliberately choosing tooling that no signature, no CVE feed, and no patch cycle will ever catch. The defensive response is equally strategic — mature behavioral detection, strict egress control, rigorous application allowlisting, and an IR program that treats anomalous legitimate software with the same gravity as malware. If your detection program is still primarily file-signature driven, this campaign is your evidence that it needs to change.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.