Summary
An attacker scanned for and exploited unpatched Mobile Access portals on Check Point Security Gateways, using PHP2Shell exploitation for initial access and a local privilege-escalation flaw in the DynamicCLI interface to reach root. PHP webshells were planted in the portal's templates directory, followed by the TSGA backdoor and its embedded TSProxy networking component for persistent, encrypted access. The attacker then scanned the internal network, pivoted to a VMware ESXi host over SSH, and ran the destroy_v6 wiper, leaving a politically themed DREAM_ANNEXATION.txt note. A second, broader wave on November 2 showed no destructive activity.
| CVE | Name | Affected product |
|---|---|---|
| CVE-2026-123039 | Check Point Multiple Products Incorrect Permission Assignment for Critical Resource Vulnerability | Check Point Security Gateway, Security Management Server, Multi-Domain Security Management Server, Maestro Orchestrator |
| CVE-2026-109618 | PHP2Shell (PHP Memory Corruption Vulnerability ) | PHP |
| CVE-2026-109619 | PHP2Shell (PHP Stale Internal Request-State Vulnerability ) | PHP |
Attack Details
The campaign began on October 30, 2026. An attacker scanned for Check Point Security Gateways that had not been patched and went after their internet-facing Mobile Access portals. The traffic came from 130[.]94[.]19[.]204 and hit Israeli organizations first, about a week after a fix was already available. The exploitation matched PHP2Shell and was tied to CVE-2026-109618 and CVE-2026-109619. The first signs on affected gateways were PHP session files carrying the upload_progress_pwn marker, along with hundreds of crashes in the portal's Apache and PHP workers. A second wave on November 2 went wider, hitting organizations in several countries with no clear industry focus.
Once inside the portal, the attacker became root using CVE-2026-123039 in the DynamicCLI interface. A root process listens on the socket /tmp/dynamic_socket, which was left world-writable with no check on who was connecting, so any local user could send a command and have it run as root. With root access, the attacker dropped base64-decoded PHP webshells into the portal's templates folder as zz*.tpl files. The fuller webshell needed the key zz2026 and allowed system commands, PHP code, and file uploads to /tmp/.up.tpl, later copied in as challenge_render.tpl. The attacker then started the TSGA backdoor, which relaunched itself as slot_CPconfigdaemon in the boot folder and dropped its TSProxy library to /lib/libcpfwcommon.so, injecting it into appliance processes so it could answer marked attacker connections while normal traffic kept flowing.
Next, the attacker ran the gogo scanner on the gateway to find internal systems and services, then moved over SSH to a VMware ESXi host using the vpxuser service account. TSGA provides encrypted remote access, configuration theft, persistence through backups and snapshots, process injection, and the ability to tamper with firewall logs. Both TSGA and TSProxy come from PhiliKit, a backdoor family seen earlier on Ivanti appliances. They share Tiny SHell roots, the same TCP port 11072 and socket, and TSProxy carries the same operator credentials, transport secrets, and TLS certificate as PhiliKit's own libdssafe.so.
Through that encrypted channel, the operators could open shells, run commands and Python or Perl scripts, move files in and out, and pull part or all of the appliance configuration, while TSProxy added encrypted SOCKS-style proxying to reach deeper into the network. The destructive step came last. On the ESXi host, the attacker staged the destroy_v6 wiper to /tmp/des and ran it, deleting files recursively and overwriting them with zeros, then leaving a DREAM_ANNEXATION.txt note in every folder it touched. Attribution stays open: PhiliKit has previously been attributed to the China-nexus group UNC5221, and the gogo scanner, the LightNode hosting, and the scanning hours all point the same way, while the destruction, the focus on Israel, and the Hebrew note do not fit that picture, so the actor may have run the campaign, only sold the access, or taken part in a false-flag operation.
Recommendations
- 01
Patch the DynamicCLI Privilege Escalation Flaw
Apply the Jumbo Hotfix Accumulator that contains the fix for
CVE-2026-123039, Take 14 or later for R82.20, Take 52 or later for R82.10, Take 132 or later for R82, and Take 174 or later for R81.20. The fix blocks and logs unauthenticated calls to the Dynamic CLI command instead of executing them as root. - 02
Verify the Fix Actually Landed
After patching, run
ls -l /tmp/dynamic_socketand confirm the output showssrw-rw---- root config (0660)rather than the vulnerablesrwxrwxrwx (0777). A patched appliance that still shows world-writable permissions has not taken the fix. - 03
Apply the Mobile Access Portal Fix
Make sure every internet-facing Security Gateway is running the security fix that addresses the PHP2Shell exploitation path tied to
CVE-2026-109618andCVE-2026-109619. The first wave of this campaign hit organizations that were still unpatched about a week after that fix was published, so delay alone was the deciding factor. - 04
Use the Interim Mitigation Where Patching Must Wait
If a gateway cannot be patched immediately, stop the
dynamic_serverprocess and keep it from restarting withdbset process:dynamic_serverfollowed bydbset :save. Be aware this will cause the Dynamic CLI commands documented in sk144112 to fail, so plan for the operational impact. - 05
Hunt Through the DynamicCLI Log
Search /var/log/dynamicCli.log for received commands that do not use the expected Clish wrapper, for the
#return_value#system() sink that is rare or absent in legitimate traffic, and for exploitation-flavoured strings such asid;,whoami,/etc/shadow,ncat,nc -,/dev/tcp,curl,wget,base64,useradd, andauthorized_keys. On patched appliances, also check for "Rejected connection from unauthorized uid" entries, since a non-zero or unexpected UID points to a blocked escalation attempt. - 06
Look for the TSGA and TSProxy Artifacts
Check for /tmp/CPconfigdaemon, slot_CPconfigdaemon in the boot persistence directory, the hidden log /tmp/.bd.log, the dropped library /lib/libcpfwcommon.so, the staged upload path /tmp/.up.tpl, and the Unix socket /tmp/.p_sock. Also review PHP session files under /opt/CPcvpn-R81.20/tmp/ for the upload_progress_pwn marker and correlate any burst of Apache or PHP segmentation faults with portal access logs.
- 07
Block the Known Infrastructure and Watch Port 11072
Block and alert on traffic to and from 130[.]94[.]19[.]204 and 130[.]94[.]19[.]168, and monitor for TCP 11072 listening on or reachable from gateway interfaces, since that port carries the implant's authenticated, encrypted channel.
- 08
Rotate Credentials and Treat Configurations as Stolen
Assume any configuration held on a compromised gateway was collected over the encrypted channel. Rotate administrator passwords, API keys, certificates, pre-shared keys, and VPN credentials, and reissue anything the appliance configuration could have exposed.
Indicators of Compromise (IoCs)
| Type | Value |
|---|---|
| SHA256 | edb3e92eb7bda7413a09edcc4b1ba3cbed4bcdf42808a8abce63b6e4c3fda2b34171b521fa6441382aa2fa014a08e18ff9a6e0ab6096c9144072bf46b37a2ec8d7549671c7189979f0624ec52dad9ea6a707d23146e3585ab8f8c4720eca0c633b51080a909023f7d484e2443740b572307ce0054eb9e32d98f0a06bfcd2db90c7d9477309fac6c638a1128442056a242de086996add8cb49cd6496c360032370522937c0c0337be54fe25493539e5f5f8ceb9742c980aaff1cfc9515f3a96f7ee16e1695711b9d60c62925fcfb2fe1a29c18ae26565bc05410a14e16d2a39d7fb1a6235eb6bce8c9ec8cd8bb85f17c9c2bde8ecb45b7a243a30ceadf26654da |
| IPv4 | 130[.]94[.]19[.]204130[.]94[.]19[.]168 |
| Filename | slot_CPconfigdaemonCPconfigdaemondestory_v6gogophilistinelibdssafe.solibcpfwcommon.soDREAM_ANNEXATION.txtchallenge_render.tplzz*.tpl |
| File Path | /tmp/CPconfigdaemon/tmp/.bd.log/lib/libcpfwcommon.so/tmp/.up.tpl/tmp/.p_sock/tmp/des/opt/CPcvpn-R81.20/tmp/ |
Potential MITRE ATT&CK TTPs
T1595Active ScanningT1595.002Vulnerability ScanningT1583Acquire InfrastructureT1583.003Virtual Private ServerT1190Exploit Public-Facing ApplicationT1059Command and Scripting InterpreterT1059.004Unix ShellT1505Server Software ComponentT1505.003Web ShellT1078Valid AccountsT1068Exploitation for Privilege EscalationT1036MasqueradingT1036.005Match Legitimate Name or LocationT1027Obfuscated Files or InformationT1055Process InjectionT1564Hide ArtifactsT1070Indicator RemovalT1046Network Service DiscoveryT1021Remote ServicesT1021.004SSHT1602Data from Configuration RepositoryT1602.002Network Device Configuration DumpT1573Encrypted ChannelT1571Non-Standard PortT1090ProxyT1090.001Internal ProxyT1105Ingress Tool TransferT1041Exfiltration Over C2 ChannelT1485Data DestructionReferences & Patch Links
Patch links
- CVE-2026-109618 and CVE-2026-109619https://www.php.net/archive/2026.php#2026-10-21-5
- CVE-2026-123039https://support.checkpoint.com/results/sk/sk1000362
References
- https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
- https://support.checkpoint.com/results/sk/sk1000362
- http://www.hivepro.com/threat-advisory/php2shell-your-application-code-is-clean-but-the-engine-underneath-it-isnt
What Next?
At Hive Pro, it is our mission to detect the most likely threats to your organization and to help you prevent them from happening.
