Tag: T1021.004

Detecting the vCenter vmdir bypass: 5 Sigma rules for network, VAMI, appliances and ESXi

Detecting the vCenter vmdir bypass: 5 Sigma rules for network, VAMI, appliances and ESXi

One of the vCenter servers ARMORY CASTLE broke into had already been patched for July’s vmdir bug. Patch status told that victim nothing about whether they’d been compromised, and the same goes for anyone patching CVE-2026-123890 this week. The patch closes the bug. It doesn’t tell you whether someone already walked off with your SSO signing key, so you have to go and look.

The story of the bug, the BeyondTrust foothold and the golden SAML endgame is in my analysis of the vCenter vmdir bypass. This post is the detection side: five Sigma rules built on what Google Threat Intelligence Group (GTIG) and Mandiant published on November 20, 2026, the telemetry each one needs, the false positives I expect, a safe lab test for each, and the parts of the attack that none of them can see.

At a glance

  • Rules: 5 (four high, one medium)
  • Domains: Network (firewall), Web/App (VAMI access log), Linux (appliance process creation, ESXi shell logs)
  • Log sources: east-west firewall or flow logs, /var/log/vmware/vami/vami-httpd.log, process creation with command line on Linux appliances, ESXi shell logging forwarded over syslog
  • ATT&CK: T1210 Exploitation of Remote Services, T1021.004 SSH, T1548.001 Setuid and Setgid, T1606.002 SAML Tokens, T1003.003 NTDS, T1006 Direct Volume Access
  • Status: all test. Each condition rests on a behaviour, path or command GTIG reported from real intrusions. Where I widened a match beyond what GTIG showed, I say so in that rule’s section.
  • YAML: Detection Rules repo on GitHub

The case in brief

According to GTIG, the attackers came in through the BeyondTrust Remote Support zero-day (CVE-2026-102764) and scanned internally for ports including 443, 2012, 389, 5480 and 9080. They planted webshells on an internal Linux appliance and got root by having gdb make a privileged process run chmod u+s /bin/env, a trick GTIG also saw on the Remote Support appliance. BONESAW (/tmp/123) then exploited CVE-2026-123890 over vmdir’s DCE/RPC interface on TCP 2012 and got an administrator@vsphere.local session. It then streamed a copy of the vmdir database back over the same channel and pulled the STS signing key out of it. SAWSNAKE (/tmp/sss) used the key to forge SAML logins. The attackers then turned SSH on through the VAMI API, took the master crypto key and PostgreSQL credentials, and turned SSH off again. On ESXi they used vmfs_browser.py to copy NTDS, SYSTEM and SECURITY out of domain controller disks. BEARBONES (/tmp/dbr) and LAZYBONES (/usr/bin/vmtoolscs) kept them in.

The traces end up in four places: the network path to vCenter, the VAMI access log, process telemetry on the Linux appliances, and ESXi shell logs. The one thing that leaves almost no trace is the step that matters most. The vmdir database never gets read from disk on vCenter, because BONESAW gets it through the exploit itself. A forged SAML login looks like a normal one. The analysis covers why that makes key rotation part of the fix.

Detection map

Detection map: firewall logs, the VAMI access log, appliance process creation and ESXi shell logs feed five Sigma rules (TCP 2012 from non-allowlisted hosts, VAMI SSH API call, gdb with a /tmp command file, reported tool paths, vmfs_browser.py and NTDS extraction) mapped to T1210, T1606.002, T1021.004, T1548.001, T1003.003 and T1006, with forged SAML logins marked as a gap.
Which telemetry feeds which rule, and the one step none of them can see: logins with a stolen STS key.

Read the map left to right. Firewall logs feed the rule I trust most, the connection to 2012. The VAMI log feeds the SSH switch rule. Process creation on the Linux appliances feeds two rules: the gdb privilege escalation and the reported tool paths. ESXi shell logs feed the NTDS extraction rule. The dashed box is the gap: once the key is gone, the forged logins don’t trip any of these.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
vmdir port 2012 reached from a non-allowlisted hostNetworkfirewallLateral Movement / T1210HighTest
VAMI API call to enable or disable appliance SSHWeb/AppwebserverLateral Movement / T1021.004MediumTest
gdb attached to a process with a command file from /tmpLinuxlinux / process_creationPrivilege Escalation / T1548.001HighTest
ARMORY CASTLE tooling run from reported pathsLinuxlinux / process_creationLateral Movement / T1210, Credential Access / T1606.002HighTest
ESXi vmfs_browser.py or NTDS pulled from a guest VMDKLinux (ESXi)syslogCredential Access / T1003.003, Defense Evasion / T1006HighTest

The rules

vmdir DCE/RPC port 2012 reached from a non-allowlisted host

Context: CVE-2026-123890 lives in vmdir’s DCE/RPC interface on TCP 2012, in the rpc_srp_verifier service. In the intrusion GTIG describes, the exploit came from a compromised Linux appliance. A server like that has no reason to talk to vmdir. GTIG’s hardening advice is an iptables DROP on 2012 for non-allowlisted IPs. Their table labels that row “TCP 2010”, but the text describes 2012, so I treat it as a typo. This rule alerts on what that firewall rule would block.

Condition: alert when the destination is one of your vCenter appliances on TCP 2012 and the source isn’t on the allowlist of other vCenters and admin hosts. Both lists are Sigma placeholders (%vcenter_appliance_ips%, %vcenter_tcp2012_allowlist%) that you fill in at conversion time.

ATT&CK: Lateral Movement (TA0008) – T1210 Exploitation of Remote Services. I don’t map this to T1190: the vCenter in this case wasn’t reached from the internet but from inside, after the BeyondTrust foothold.

title: vCenter vmdir DCE/RPC Port 2012 Reached From Non-Allowlisted Host - Potential CVE-2026-123890
id: 1720f90c-85e3-4124-9f7d-8cec3b59a6c2
status: test
description: |
    Detects connections to the vCenter VMware Directory Service DCE/RPC port (TCP 2012) from hosts
    that are not other vCenters or approved admin hosts. ARMORY CASTLE exploited CVE-2026-123890 over
    this port from a compromised Linux appliance to get an administrator@vsphere.local session.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
    - https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/39495
    - https://github.com/mandiant/vcsa-hardening-tool
    - https://netsec101.com/?p=356
author: netsec101.com
date: 2026-11-20
tags:
    - attack.lateral-movement
    - attack.t1210
    - cve.2026-123890
    - detection.emerging-threats
logsource:
    category: firewall
detection:
    selection_vcenter:
        dst_ip|expand: '%vcenter_appliance_ips%'
        dst_port: 2012
    filter_main_allowlist:
        src_ip|expand: '%vcenter_tcp2012_allowlist%'
    condition: selection_vcenter and not 1 of filter_main_*
falsepositives:
    - Legitimate vCenter or PSC peers in your environment that are missing from the allowlist (verify before adding)
    - Backup, monitoring or vulnerability scanners that probe all ports on the appliance
level: high

View on GitHub

False positives and tuning: legitimate vCenter or PSC peers in your environment may need 2012. Check which ones actually do in your flow data and put only those on the allowlist. Vulnerability scanners that sweep all ports will fire it; I’d rather list them by IP than drop the rule. Your logs also have to cover east-west traffic. A perimeter firewall won’t see an appliance and a vCenter talking on the same VLAN, so you’ll need host firewall logging on the vCenter, a distributed firewall or flow export from the switch. (Mandiant’s hardening tool applies default-deny rules and shell command syslog. It isn’t a source of 2012 connection logs.)

How to test: from a lab host that isn’t on the allowlist, run nc -vz <vcenter> 2012. A plain TCP connect, no payload, is enough to produce the log line.

VAMI API call to enable or disable appliance SSH

Context: with admin access in hand, the attackers turned SSH on through the appliance management API on TCP 5480 (PUT /rest/appliance/access/ssh), took the vCenter master crypto key and the PostgreSQL credentials, and turned SSH off again with the same call. GTIG lists a Google SecOps rule for this called “VMware vCenter VAMI API SSH Enablement”. Google’s vSphere defender guide points to vami-httpd.log as the place it shows up. I wrote this version independently, since the SecOps rule’s logic isn’t public.

Condition: alert on any PUT whose URI ends in /rest/appliance/access/ssh. As far as I know, the request body (true or false) isn’t written to the access log (that’s general knowledge, not from the case sources), so the rule fires for both enable and disable. In this case that’s useful: GTIG describes SSH being switched on and later off again, so two hits from the same source is the pattern to look for.

ATT&CK: Lateral Movement (TA0008) – T1021.004 Remote Services: SSH. The API call opens the SSH path the attackers use next.

title: vCenter VAMI API Call to Enable or Disable Appliance SSH
id: d31199fa-ba57-40a1-a399-160d74fd4373
status: test
description: |
    Detects a PUT to the vCenter appliance management (VAMI) SSH access endpoint on TCP 5480.
    ARMORY CASTLE used this call to turn SSH on, took the master crypto key and PostgreSQL credentials,
    then used the same call to turn SSH off again.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
    - https://cloud.google.com/blog/topics/threat-intelligence/vsphere-brickstorm-defender-guide/
    - https://netsec101.com/?p=356
author: netsec101.com
date: 2026-11-20
tags:
    - attack.lateral-movement
    - attack.t1021.004
    - cve.2026-123890
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'PUT'
        cs-uri-stem|endswith: '/rest/appliance/access/ssh'
    condition: selection
falsepositives:
    - Administrators enabling SSH for a support case or an upgrade, through the VAMI page or the API
    - Automation tools such as the Ansible vmware_rest appliance_access_ssh module that set the SSH state
level: medium

View on GitHub

False positives and tuning: admins do turn SSH on for support cases and upgrades, and automation tools such as the Ansible vmware_rest module set the same state. That’s why it’s medium. Route it to whoever owns vCenter with a “was this you?” question, and raise it to high when the source IP isn’t an admin workstation or the call happens outside a change window. You’ll need to parse vami-httpd.log into cs-method and cs-uri-stem. In my experience it isn’t forwarded off the appliance unless you set that up (general knowledge, not from the sources).

How to test: in a lab VCSA, send the documented API call to set the SSH state (for example with the Ansible vmware_rest SSH module), first on and then off, and check that vami-httpd.log records a PUT to /rest/appliance/access/ssh each time. If you toggle SSH in the VAMI page instead, first confirm that your log records that same URI. I haven’t verified that the web page uses it.

gdb attached to a running process with a command file from /tmp

Context: on an internal Linux appliance, and also on the BeyondTrust Remote Support appliance, GTIG saw the attackers decode a small base64 blob into /tmp/gdb_file and run gdb -pid <pid> --command=/tmp/gdb_file. The file told the attached privileged process to run chmod u+s /bin/env, which leaves a SUID binary that hands out root. It’s a neat trick, and you’d almost never see it on an appliance for a legitimate reason.

Condition: alert when gdb runs with a PID attach flag and reads its commands from a file in /tmp. GTIG showed -pid with --command=/tmp/. I added the equivalent spellings --pid, -p, --command /tmp/ and -x /tmp/ myself, because changing the flag costs an attacker nothing.

ATT&CK: Privilege Escalation (TA0004) – T1548.001 Setuid and Setgid.

title: GDB Attached to a Running Process With a Command File From /tmp
id: 5810f867-7433-4016-9c66-fcbc8877ad77
status: test
description: |
    Detects gdb attaching to a running process while reading its commands from a file in /tmp.
    ARMORY CASTLE used this on a Linux appliance and on a BeyondTrust Remote Support appliance to make a
    privileged process run chmod u+s /bin/env, giving themselves a SUID root shell helper.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
    - https://netsec101.com/?p=356
author: netsec101.com
date: 2026-11-20
tags:
    - attack.privilege-escalation
    - attack.t1548.001
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_img:
        Image|endswith: '/gdb'
    selection_attach:
        CommandLine|contains:
            - ' -pid '
            - ' --pid'
            - ' -p '
    selection_cmdfile:
        CommandLine|contains:
            - '--command=/tmp/'
            - '--command /tmp/'
            - ' -x /tmp/'
    condition: all of selection_*
falsepositives:
    - Developers or support engineers debugging a live process with a scripted gdb session stored in /tmp (rare on appliances)
level: high

View on GitHub

False positives and tuning: developer boxes where people script gdb sessions. Scope the rule to appliances and servers, not build hosts. The rule needs process creation with full command lines (Sysmon for Linux, an EDR, or auditd execve exported to Sigma field names). Plenty of vendor appliances don’t let you install any of those, and that’s the uncomfortable part of this case. As a backstop, check by hand that ls -l /bin/env /usr/bin/env shows no s bit.

How to test: on a lab Linux host, start sleep 600 &, write info proc to /tmp/t.gdb and run gdb -batch -pid $! --command=/tmp/t.gdb. Nothing gets modified.

ARMORY CASTLE tooling run from reported paths

Context: GTIG published the paths the tools ran from: BONESAW at /tmp/123, SAWSNAKE at /tmp/sss, BEARBONES at /tmp/dbr, LAZYBONES at /usr/bin/vmtoolscs, plus an SSH private key at /tmp/123.key used for outbound SSH to ESXi. No hashes are in the public post (they sit in a GTI collection), so this is a path rule. Paths are cheap to change.

Condition: alert when any of those four paths is executed, or when ssh runs with /tmp/123.key on its command line.

ATT&CK: Lateral Movement (TA0008) – T1210 Exploitation of Remote Services (BONESAW); Credential Access (TA0006) – T1606.002 SAML Tokens (SAWSNAKE).

title: ARMORY CASTLE vSphere Tooling Executed From Reported Paths
id: d2c61575-a1f5-4cac-9aa8-0694918a6dad
status: test
description: |
    Detects execution of the file paths GTIG reported for ARMORY CASTLE tools in the CVE-2026-123890
    intrusions (BONESAW, SAWSNAKE, BEARBONES, LAZYBONES) and SSH using the reported /tmp/123.key.
    Paths are easy to change, so treat a miss as meaningless and a hit as an incident.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
    - https://netsec101.com/?p=356
author: netsec101.com
date: 2026-11-20
tags:
    - attack.lateral-movement
    - attack.t1210
    - attack.credential-access
    - attack.t1606.002
    - cve.2026-123890
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_tool_image:
        Image:
            - '/tmp/123'
            - '/tmp/sss'
            - '/tmp/dbr'
            - '/usr/bin/vmtoolscs'
    selection_ssh_key:
        Image|endswith: '/ssh'
        CommandLine|contains: '/tmp/123.key'
    condition: 1 of selection_*
falsepositives:
    - Unrelated scratch files with the same short names in /tmp (check the hash and the parent process before escalating)
level: high

View on GitHub

False positives and tuning: /tmp/123 is the kind of name someone might use for a scratch file, so check the parent process and the hash before you escalate. Otherwise I’d page on a hit. Treat this as a retro-hunt as much as a live rule: run it over all the process history you have, starting no later than July 2026 (GTIG says BONESAW’s build metadata reads July 13, 2026, and the group knew about the bug before July 29). If you have YARA on these hosts, GTIG’s G_Hunting_* rules catch the binaries wherever they’re stored, which this rule can’t.

How to test: on a lab host, cp /bin/true /tmp/sss && /tmp/sss, then delete the file.

ESXi vmfs_browser.py or NTDS pulled from a guest VMDK

Context: on ESXi the attackers unpacked vmfs-pydist.tar.gz into a hidden .a folder on a datastore and ran vmfs_browser.py against the raw disk device. It pulled Windows/NTDS and System32/config/SYSTEM straight out of a domain controller’s -flat.vmdk. My inference: because the copy is made from the hypervisor side, the domain controller itself probably logs nothing about it, so AD-side monitoring is unlikely to catch it. GTIG notes that the Mandiant hardening tool forwards vmfs_browser.py executions to a SIEM, so the command line is the place to catch it.

Condition: alert when an ESXi shell log line mentions vmfs_browser.py or vmfs-pydist.tar.gz, or when one line names both a -flat.vmdk and /Windows/NTDS. That last part is my generalisation, so a renamed script still trips it.

ATT&CK: Credential Access (TA0006) – T1003.003 NTDS; Defense Evasion (TA0005) – T1006 Direct Volume Access.

title: ESXi Shell Use of vmfs_browser.py or Extraction of NTDS From a Guest VMDK
id: a2fd1409-99a8-4c3c-8c71-3a6449afc584
status: test
description: |
    Detects ESXi shell command logging (shell.log forwarded over syslog) that shows the vmfs_browser.py
    tool, or a command that names both a flat VMDK and the Windows NTDS folder. ARMORY CASTLE used
    vmfs_browser.py on ESXi to copy NTDS, SYSTEM and SECURITY out of domain controller disks.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
    - https://cloud.google.com/blog/topics/threat-intelligence/vsphere-brickstorm-defender-guide/
    - https://netsec101.com/?p=356
author: netsec101.com
date: 2026-11-20
tags:
    - attack.credential-access
    - attack.t1003.003
    - attack.defense-evasion
    - attack.t1006
    - detection.emerging-threats
logsource:
    service: syslog
detection:
    keywords_tool:
        - 'vmfs_browser.py'
        - 'vmfs-pydist.tar.gz'
    keywords_vmdk:
        - '-flat.vmdk'
    keywords_ntds:
        - '/Windows/NTDS'
    condition: keywords_tool or (keywords_vmdk and keywords_ntds)
falsepositives:
    - Forensic or recovery work on ESXi by your own staff using the same open-source tool
level: high

View on GitHub

False positives and tuning: your own forensics or recovery staff using the same tool. Sigma has no ESXi product, so this is a keyword rule over syslog. Scope it in your SIEM to the ESXi hosts’ syslog source, and make sure ESXi actually forwards its shell log (not on by default). I filed it under Linux in the repo because the shell log is POSIX-style. That’s a filing compromise, not a claim that ESXi is Linux.

How to test: on a lab ESXi host with syslog forwarding on, open the shell and run echo vmfs_browser.py. The command line is all the rule matches on.

Coverage and gaps

Step in the caseTacticTechniqueRuleCovered?
BeyondTrust Remote Support zero-dayInitial AccessT1190–No (out of scope)
Internal scan of 9080, 5480, 2012DiscoveryT1046–No
Webshells on Linux appliancePersistenceT1505.003–No (names only)
gdb sets SUID on /bin/envPrivilege EscalationT1548.001gdb command file ruleYes
vmdir exploit on TCP 2012Lateral MovementT1210Port 2012 rule, tool paths ruleYes, if source is outside the allowlist
STS key taken from data.mdbCredential AccessT1552.004–No (copied over the exploit)
Golden SAML loginsCredential AccessT1606.002Tool paths rulePartial (tool run, not the logins)
New SSO admin and machine accountPersistenceT1136–No (hunt)
SSH enabled via VAMILateral MovementT1021.004VAMI SSH ruleYes
Root SSH key on ESXiPersistenceT1098.004–No (hunt)
NTDS from guest VMDKCredential AccessT1003.003, T1006ESXi vmfs_browser ruleYes, if ESXi logs are forwarded
BEARBONES, LAZYBONESPersistence, C2T1543.002, T1071.001Tool paths rulePartial

The big hole is identity. Once the STS key is gone, the attacker’s logins are valid as far as vCenter can tell. To narrow it, hunt in the SSO audit_events.log (com.vmware.sso.PrincipalManagement, per Google’s defender guide) for principals and admin group changes nobody asked for. GTIG’s example was a local admin named sps-<something>@vsphere.local. I didn’t write a Sigma rule for it because I haven’t seen the field layout of that log documented publicly. On the network side, a Zeek or Suricata rule for SSH banners starting SSH-2.0-pulsesecure_ on odd ports (BEARBONES used TCP 53 and 33992) is a better fit than Sigma. GTIG also published the two DCE/RPC interface UUIDs on 2012, which could drive a Zeek dce_rpc rule. I haven’t verified that Zeek parses vmdir binds, so I’ve left that out.

For the retro-hunt, GTIG lists 11 IPs as suspected obfuscation network nodes: 103.147.251.5, 103.190.38.3, 118.174.128.34, 118.174.128.36, 118.174.128.38, 176.9.89.66, 185.71.15.109, 220.121.128.41, 222.108.77.44, 61.216.56.127 and 81.45.89.43. I kept them out of the rules on purpose. Relays get reused and recycled, so treat a hit as a lead to investigate, not proof.

Deploying the rules

Pull the YAML from the repo and convert it with sigma-cli for your backend. The firewall rule uses |expand placeholders, so either add a value-placeholder step to your pipeline or replace them with real lists before converting. The Linux rules need a pipeline that maps Image and CommandLine to whatever your Linux telemetry uses. The webserver and syslog rules need your VAMI and ESXi parsers to produce the field names the rules expect. For example:

sigma convert -t splunk --without-pipeline proc_creation_lnx_gdb_attach_with_tmp_command_file.yml
sigma convert -t splunk --without-pipeline proc_creation_lnx_armory_castle_vsphere_tool_paths.yml
sigma convert -t splunk --without-pipeline web_vcenter_vami_ssh_enablement_api_call.yml

Run them in alert-only mode for a week before they page anyone. Do the retro-hunt first, though. These rules are worth more pointed at July-to-November history than at tomorrow’s traffic. For other backends, use the pySigma pipeline that matches your Linux and web field names, and check the converted query by hand.

My take

For an intrusion this serious, it’s surprisingly detectable, but only for teams that already log their management plane. Every rule here depends on telemetry most vSphere shops don’t collect: east-west flows to vCenter, the VAMI access log, process data from vendor appliances, ESXi shell logs. If you have none of that, your realistic options are to patch, rotate the STS key on suspicion and hunt by hand.

The port 2012 rule is the one I’d turn on first. It’s cheap, it’s built on GTIG’s own advice, and on a properly segmented network it should almost never fire. If it fires a lot, that tells you something about your segmentation as well. The VAMI SSH rule comes second, because a “did you just enable SSH?” message to the vCenter owner costs nothing.

I’d like Broadcom to log SRP authentications on vmdir and STS key reads by default, and to forward them without anyone touching iptables or a third-party script. Right now the best visibility into vCenter’s own identity store comes from a Mandiant hardening tool on GitHub. To me, that’s a gap in the product, not in your SOC.

Sources

Detecting Check Point Gaia PHP2Shell: 5 Sigma rules for root, implants and ESXi

Detecting Check Point Gaia PHP2Shell: 5 Sigma rules for root, implants and ESXi

Check Point’s own support article for CVE-2026-123039 ends with three grep commands. That is unusual and useful: the vendor is telling you exactly which log lines separate a normal Gaia box from one where a web worker used a world-writable socket to run commands as root. The problem is that those greps live on the appliance, run by hand, against a log an attacker with root can rewrite.

This post turns those checks, and the artifacts Check Point Research published on November 12, 2026, into five Sigma rules you can run centrally. If you want the story of the bug first, start with my analysis of the PHP2Shell to root chain. Here you get the rules, the telemetry they need, how to tune and test them, and an honest list of what they cannot see.

At a glance

  • Rules: 5 (one critical, two high, two medium).
  • Domains: Network (the firewall’s own Dynamic CLI log), Linux (file creation on Gaia), Identity (SSH logins on ESXi).
  • Log sources you need: /var/log/dynamicCli.log forwarded off every gateway and management server, file creation telemetry or an integrity sweep on Gaia, and ESXi auth.log over syslog. None of these reach a SIEM by default.
  • ATT&CK: T1068, T1059.004, T1505.003, T1090, T1021.004. Not covered: T1190 (the PHP2Shell request) and T1485 (the ESXi wiper).
  • Status: four rules are test because they come straight from sk1000362 or the Check Point Research IOC list; the ESXi rule is experimental because part of its logic is my inference.
  • YAML: Detection Rules repo on GitHub.

The case in brief

Attackers used PHP2Shell (CVE-2026-109618 and CVE-2026-109619) against Check Point Mobile Access portals to run code as the portal’s service account. From there they wrote commands to /tmp/dynamic_socket, a Unix socket that is mode 0777 on vulnerable builds and is served by the root dynamic_server daemon, which never checked who was calling (CVE-2026-123039). As root they planted zz*.tpl webshells in the portal templates, launched the TSGA backdoor from /tmp/CPconfigdaemon, dropped the TSProxy library at /lib/libcpfwcommon.so, and in at least one case moved over SSH to VMware ESXi as vpxuser and ran a wiper. The full chain is in the analysis.

For detection, the useful fact is where each step leaves a mark. The root escalation lands in dynamicCli.log, because the daemon logs every command it receives. The implants land on the file system at paths Check Point Research names. The pivot lands in the ESXi authentication log. The initial PHP2Shell request leaves crashes and odd session files, but no clean request signature that I could confirm.

Detection map

Block diagram: dynamicCli.log, Gaia file creation and ESXi auth.log feed five Sigma rules (three Dynamic CLI rules, an implant file rule and an ESXi vpxuser SSH rule) mapped to T1068, T1059.004, T1505.003, T1090 and T1021.004, with T1190 and T1485 marked as gaps.
Three log sources, five rules. The PHP2Shell request and the ESXi wiper stay uncovered.

Read the map left to right. Three log sources feed five rules. Three of the rules sit on the same Dynamic CLI log because that log is where CVE-2026-123039 is most visible: one for commands that look like exploitation, one for anything that did not come from Clish, and one for the tripwire a patched box writes when something still knocks. The file rule and the ESXi rule cover what happens after root. The dashed box on the right is the honest part: the initial web exploit and the wiper are not covered by any rule here.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
DynamicCLI exploitation-style commandNetworkcheckpoint / dynamiccliPrivilege Escalation, Execution / T1068, T1059.004Hightest
DynamicCLI command without Clish wrapperNetworkcheckpoint / dynamiccliPrivilege Escalation / T1068Mediumtest
DynamicCLI rejected unauthorized uidNetworkcheckpoint / dynamiccliPrivilege Escalation / T1068Mediumtest
TSGA, TSProxy or portal webshell artifact createdLinuxlinux / file_eventPersistence, Command and Control / T1505.003, T1090Criticaltest
SSH login to ESXi as vpxuserIdentityesxi / sshdLateral Movement / T1021.004Highexperimental

A note on log sources. checkpoint / dynamiccli and esxi / sshd are not standard SigmaHQ sources, so your conversion pipeline has to map them to wherever you index those logs. I used keyword selections for all three log-file sources on purpose: I don’t know how your collector splits these lines into fields, and I’d rather not invent field names.

The rules

Check Point Gaia DynamicCLI exploitation-style command

Context: once a web worker can talk to /tmp/dynamic_socket, every command it sends is logged by dynamic_server as a “Received =” line before it runs as root. Check Point’s sk1000362 lists the strings it considers typical of exploitation. This is the rule I’d deploy first.

Condition: alert when the daemon logs a received command that contains a discovery command (id, whoami), a downloader (curl, wget), a reverse-shell helper (ncat, nc -, /dev/tcp), base64, /etc/shadow, useradd or authorized_keys.

ATT&CK: Privilege Escalation (TA0004) – T1068 Exploitation for Privilege Escalation; Execution (TA0002) – T1059.004 Unix Shell.

title: Check Point Gaia DynamicCLI Exploitation-Style Command - CVE-2026-123039
id: 50564284-e728-4af4-940e-a38255c15ab2
status: test
description: |
    Detects commands received by the root dynamic_server daemon on Check Point Gaia that contain
    discovery, download, reverse-shell, credential or account-creation strings. Check Point sk1000362
    lists these strings in /var/log/dynamicCli.log as typical of CVE-2026-123039 exploitation, where a
    web worker abuses the world-writable /tmp/dynamic_socket to run commands as root.
references:
    - https://support.checkpoint.com/results/sk/sk1000362
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.t1068
    - attack.t1059.004
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: checkpoint
    service: dynamiccli
    definition: 'Requirement: forward /var/log/dynamicCli.log from every Gaia gateway, cluster member and management server to the SIEM (not shipped by default).'
detection:
    keywords_received:
        - 'Received ='
    keywords_commands:
        - ' id;'
        - ' whoami'
        - '/etc/shadow'
        - 'ncat'
        - 'nc -'
        - '/dev/tcp'
        - 'curl '
        - 'wget '
        - 'base64'
        - 'useradd'
        - 'authorized_keys'
    condition: keywords_received and keywords_commands
falsepositives:
    - Administrators deliberately running such commands through Dynamic CLI during troubleshooting (rare; confirm with the change record)
level: high

View on GitHub

False positives and tuning: Clish has no business sending any of these strings, so the main noise is an admin who ran something unusual through Dynamic CLI during troubleshooting. Short strings like nc - and base64 are the likeliest to collide with a legitimate command on your build; if they do, tighten them to the full command rather than dropping them. Keep the “Received =” anchor, or the rule will match the daemon’s own status messages.

How to test: on a lab copy of the log (not production), append a line in the same format as existing “Received =” entries with whoami as the command, ship it, and confirm the alert. You don’t need the vulnerability to test the rule.

Check Point Gaia DynamicCLI command without Clish wrapper

Context: legitimate requests from Clish carry a fixed wrapper that sources CPprofile.sh and sets a couple of shell options. The SK’s first check is any received command without that wrapper; its second is any use of the #return_value# system() sink. Both mean something other than Clish talked to the daemon, whatever it asked for. This catches attackers who avoid the obvious strings in the first rule.

Condition: alert when the daemon logs a received command that does not contain the Clish wrapper, or a received command that uses the #return_value# sink.

ATT&CK: Privilege Escalation (TA0004) – T1068 Exploitation for Privilege Escalation.

title: Check Point Gaia DynamicCLI Command Without Clish Wrapper - CVE-2026-123039
id: 1661f7ea-6cb2-4c65-bc8a-3d61ad47bc34
status: test
description: |
    Detects commands received by the root dynamic_server daemon on Check Point Gaia that do not carry
    the fixed Clish wrapper, or that use the system() return-value sink. Check Point sk1000362 names both
    patterns in /var/log/dynamicCli.log as signs that a local process other than Clish talked to the
    world-writable /tmp/dynamic_socket (CVE-2026-123039).
references:
    - https://support.checkpoint.com/results/sk/sk1000362
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.privilege-escalation
    - attack.t1068
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: checkpoint
    service: dynamiccli
    definition: 'Requirement: forward /var/log/dynamicCli.log from every Gaia gateway, cluster member and management server to the SIEM (not shipped by default).'
detection:
    keywords_received:
        - 'Received ='
    filter_main_clish_wrapper:
        - 'CPprofile.sh >> /dev/null; export SP_DISTRIBUTE=0; set -o noglob;'
    keywords_system_sink:
        - 'Received = #return_value#'
    condition: (keywords_received and not filter_main_clish_wrapper) or keywords_system_sink
falsepositives:
    - Check Point internal tooling or support scripts that call Dynamic CLI without the Clish wrapper; baseline one known-good gateway per version before alerting
level: medium

View on GitHub

False positives and tuning: this is the noisier of the two, which is why it is medium. Before alerting, run it over a week of logs from one known-good gateway per Gaia version and see what else calls Dynamic CLI without the wrapper on your builds. Filter those exact commands, not broad substrings. The wrapper match is literal, so if Check Point changes the wrapper in a future take, this rule will fire on everything; re-baseline after each Jumbo Hotfix.

How to test: replay one normal “Received =” line from your own log with the wrapper text removed, and one with it intact. Only the first should alert.

Check Point Gaia DynamicCLI rejected unauthorized uid

Context: on a fixed build, the socket is 0660 and the daemon refuses untrusted callers, logging “Rejected connection from unauthorized uid”. Check Point says a non-zero uid such as 99 (nobody) is a blocked attempt. To me this is the most valuable rule after patching: the hole is closed, so anything still trying it is an implant or webshell that the patch did not remove.

Condition: alert on any “Rejected connection from unauthorized uid” line.

ATT&CK: Privilege Escalation (TA0004) – T1068 Exploitation for Privilege Escalation.

title: Check Point Gaia DynamicCLI Rejected Unauthorized UID - CVE-2026-123039 Attempt
id: 1df98bc8-0e1d-475a-b869-0913189587a5
status: test
description: |
    Detects the message a patched dynamic_server writes to /var/log/dynamicCli.log when it refuses a
    connection on /tmp/dynamic_socket from an untrusted uid. Per Check Point sk1000362, a non-zero uid
    such as 99 (nobody) means something on the box tried to use the CVE-2026-123039 path after the fix,
    which points to a foothold that patching did not remove.
references:
    - https://support.checkpoint.com/results/sk/sk1000362
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.privilege-escalation
    - attack.t1068
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: checkpoint
    service: dynamiccli
    definition: 'Requirement: forward /var/log/dynamicCli.log from patched Gaia gateways, cluster members and management servers to the SIEM.'
detection:
    keywords:
        - 'Rejected connection from unauthorized uid'
    condition: keywords
falsepositives:
    - Legitimate local Check Point components running under a non-trusted uid after the hotfix (check the uid and the calling process before escalating)
level: medium

View on GitHub

False positives and tuning: I have not seen a public report of legitimate rejections, but a local Check Point component running under an untrusted uid would produce them. If you see repeats from the same uid at a steady interval right after patching, check which process owns that uid before calling it an intrusion. Check Point’s advice is to correlate bursts with portal, web and authentication logs; I’d raise the level to high for any burst within an hour of portal crash activity.

How to test: on a patched lab gateway, try to connect to the socket as an unprivileged user with any Unix-socket client that exists on the box, sending nothing, and confirm the rejection line appears and is alerted on.

Check Point Gaia TSGA, TSProxy or portal webshell artifact created

Context: Check Point Research lists where the post-exploitation tools land: TSGA at /tmp/CPconfigdaemon with output to /tmp/.bd.log, persisted as slot_CPconfigdaemon; the webshell staging file /tmp/.up.tpl; TSProxy at /lib/libcpfwcommon.so; the shared Unix socket /tmp/.p_sock; and zz*.tpl webshells in the portal templates. These are fixed paths from the source, which is why this is the only critical rule.

Condition: alert when any of the named paths is created, when a file called slot_CPconfigdaemon appears anywhere, or when a .tpl file whose name starts with zz is created under /opt/CPcvpn-*.

ATT&CK: Persistence (TA0003) – T1505.003 Web Shell; Command and Control (TA0011) – T1090 Proxy.

title: Check Point Gaia TSGA, TSProxy or Portal Webshell Artifact Created
id: 9a620f8b-8720-41bc-b54c-a0eada361382
status: test
description: |
    Detects creation of file paths that Check Point Research attributes to the post-exploitation toolset
    seen after PHP2Shell and CVE-2026-123039 on Check Point gateways: the TSGA backdoor and its log, the
    webshell upload staging file, the TSProxy library, the persisted slot_CPconfigdaemon binary and zz*.tpl
    webshells in the Mobile Access portal tree.
references:
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.persistence
    - attack.command-and-control
    - attack.t1505.003
    - attack.t1090
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: linux
    category: file_event
detection:
    selection_paths:
        TargetFilename:
            - '/tmp/CPconfigdaemon'
            - '/tmp/.bd.log'
            - '/tmp/.up.tpl'
            - '/tmp/.p_sock'
            - '/lib/libcpfwcommon.so'
    selection_persistence:
        TargetFilename|endswith: '/slot_CPconfigdaemon'
    selection_webshell:
        TargetFilename|startswith: '/opt/CPcvpn-'
        TargetFilename|contains: '/zz'
        TargetFilename|endswith: '.tpl'
    condition: 1 of selection_*
falsepositives:
    - Unlikely. Compare any hit against a known-good gateway of the same version and Jumbo Hotfix take before rebuilding
level: critical

View on GitHub

False positives and tuning: I’d expect none, but verify against a clean gateway on the same version and take before you rebuild anything. The bigger issue is telemetry. Most Gaia estates have no file-creation events at all. If that’s you, run this rule’s logic as a scheduled read-only sweep (ls on the fixed paths, find for the two name patterns) and send the result to the SIEM, so a hit still becomes an alert. Socket files like /tmp/.p_sock may not show up as file events in every agent; the sweep catches them. The Check Point Research paths are specific to the samples it analysed, so this rule ages faster than the Dynamic CLI rules.

How to test: on a lab Linux host with Sysmon for Linux or an auditd watch on /tmp, run touch /tmp/.bd.log and delete it afterwards.

Successful SSH login to VMware ESXi as vpxuser

Context: the step that turned a firewall compromise into lost servers was SSH from the gateway to ESXi as vpxuser, followed by a wiper. Check Point Research does not say how the attackers got working credentials. vpxuser is the account vCenter creates to manage a host through its API; as far as I know, it has no normal reason to open an interactive SSH session. That last part is my inference, which is why this rule is experimental.

Condition: alert when the ESXi authentication log records an accepted SSH login for vpxuser, from any source.

ATT&CK: Lateral Movement (TA0008) – T1021.004 Remote Services: SSH.

title: Successful SSH Login to VMware ESXi as vpxuser
id: 3f27fc62-3ea2-4c99-911c-4386ebb234fc
status: experimental
description: |
    Detects a successful SSH login to an ESXi host with the vpxuser account. In the Check Point gateway
    intrusions described by Check Point Research, attackers moved from a compromised firewall to ESXi over
    SSH as vpxuser and ran a wiper. vCenter manages hosts through this account over the management API,
    so an interactive SSH session as vpxuser is unusual (inference, not stated by the source).
references:
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.lateral-movement
    - attack.t1021.004
    - detection.emerging-threats
logsource:
    product: esxi
    service: sshd
    definition: 'Requirement: ESXi syslog forwarding (Syslog.global.logHost) including /var/log/auth.log; the ESXi SSH service is disabled by default.'
detection:
    keywords_accepted:
        - 'Accepted '
    keywords_user:
        - ' for vpxuser from '
    condition: keywords_accepted and keywords_user
falsepositives:
    - VMware support sessions or in-house scripts that SSH in as vpxuser (document and filter them by source address)
level: high

View on GitHub

False positives and tuning: the keyword match assumes the usual OpenSSH “Accepted … for vpxuser from” format; check one real ESXi auth.log line from your build and adjust. If a vendor support process or an in-house script really does SSH in as vpxuser, filter it by source address and write down why. Raise the level to critical when the source address belongs to a firewall or other network appliance. The ESXi SSH service is off by default, and leaving it off is a better control than any rule.

How to test: replay a synthetic line such as sshd[1234]: Accepted password for vpxuser from 192.0.2.10 port 50000 ssh2 into a test index. Don’t enable SSH or set a password for vpxuser on a real host to test this.

Coverage and gaps

Step in caseTacticTechniqueRuleCovered?
PHP2Shell on the Mobile Access portalInitial Access (TA0001)T1190–Gap
Root via dynamic_socketPrivilege Escalation (TA0004)T1068Three DynamicCLI rulesYes
Commands run as rootExecution (TA0002)T1059.004DynamicCLI exploitation-style commandYes
zz*.tpl webshellsPersistence (TA0003)T1505.003Artifact file ruleYes, if file telemetry exists
TSProxy SOCKS proxyCommand and Control (TA0011)T1090Artifact file rulePartial (file drop only)
TSGA log tamperingDefense Evasion (TA0005)T1070–Gap
gogo scanning from the gatewayDiscovery (TA0007)T1046–Gap
SSH to ESXi as vpxuserLateral Movement (TA0008)T1021.004ESXi vpxuser SSH loginYes
destroy_v6 wiperImpact (TA0040)T1485–Gap

The biggest gap is the front door. Check Point Research gives artifacts (session files containing upload_progress_pwn and hundreds of Apache/PHP worker segfaults) but no request pattern I could turn into a rule without guessing. For the PHP side, Elastic already ships a rule that looks for the PHP out-of-memory fatal error located at “Unknown on line 0”, and its PHP2Shell write-up covers web servers spawning shells; CISA also added a Sigma rule for PHP2Shell attempts to its alert on October 23. I’d use those rather than write a weaker copy. A burst of worker segfaults on the portal is worth a dashboard even without a rule.

Log tampering is the gap that worries me most. TSGA can alter binary firewall logs, and root can edit dynamicCli.log. The fix is not a rule but a habit: forward in real time and compare on-box logs with what the SIEM received. gogo scanning and TCP 11072 traffic belong to your NDR or upstream firewall; a connection from outside to port 11072 on a gateway interface is worth a hunting query, though the port alone is too weak for an alert. The wiper on ESXi needs datastore monitoring and, honestly, tested offline backups.

Deploying the rules

Clone or download the YAML from the repo and convert it with sigma-cli. None of these rules has a ready-made field mapping in the common backends: the three Dynamic CLI rules and the ESXi rule use custom log sources, and Linux file events need TargetFilename mapped to whatever your agent calls the file path (Sysmon for Linux, auditd, Elastic Defend). The simplest start is to convert without a pipeline and scope the query to the right index or table yourself:

# Keyword rules: convert, then add the index / sourcetype holding dynamicCli.log or ESXi auth.log
sigma convert -t splunk --without-pipeline checkpoint_dynamiccli_cve_2026_123039_exploitation_commands.yml
sigma convert -t lucene --without-pipeline esxi_sshd_vpxuser_ssh_login.yml

# Linux file rule: convert, then rename TargetFilename to your agent's file path field
sigma convert -t splunk --without-pipeline file_event_lnx_checkpoint_gaia_tsga_tsproxy_artifacts.yml

If you convert often, write a small processing pipeline that sets the index and field names once; sigma list pipelines shows what your installed backends already offer. Then run everything in alert-only mode for a week before it pages anyone, except the file rule, which I’d let page from day one.

Retro-hunt with the same logic back to October 21, 2026, when PHP2Shell was fixed upstream. Search perimeter logs over that window for the two addresses Check Point Research published, 130.94.19[.]204 and 130.94.19[.]168, then let them age out; VPS addresses get reassigned. The hashes are in Check Point Research’s IOC table.

My take

This case is more detectable than most appliance bugs, and the credit goes to one log file. Because dynamic_server records what it receives, the root step leaves a plain-text trail, and Check Point told customers how to read it. That’s more than most vendors give you. If I could deploy one rule this week it would be the exploitation-style command rule, and after patching I’d keep the rejected-uid rule on forever as a tripwire.

The catch is that none of this telemetry leaves the box unless you make it. A firewall vendor whose backdoor victims had their logs tampered with should forward security-relevant appliance logs, Dynamic CLI included, by default, and should support some file integrity signal on the OS that customers can consume. Until then, the gap between “Check Point gave you a grep” and “your SOC sees it” is your work. And the rule I’d want to fire least is the ESXi one: if your firewall can SSH into your hypervisor, close that path before you tune anything.

Sources

PHP2Shell to root: how attackers turned Check Point gateways into footholds

PHP2Shell to root: how attackers turned Check Point gateways into footholds

Starting October 30, 2026, attackers sent crafted web requests to the Mobile Access portals of Check Point gateways at Israeli organizations. In the worst case Check Point describes, a few steps later they were root on the firewall, had a backdoor that can tamper with its logs, were on the VMware ESXi host over SSH, and ran a wiper there.

Check Point Research published the details on November 12, 2026. The chain uses two bugs: PHP2Shell, a pair of flaws in PHP itself that PHP fixed on October 21, and CVE-2026-123039, a Check Point bug where a root daemon on Gaia OS accepts commands from anyone who can reach a world-writable socket in /tmp. CISA added CVE-2026-123039 to its Known Exploited Vulnerabilities catalog on November 13 with a due date of November 16. Check Point says it saw exploitation against “a couple of dozen customers.”

Severity: critical. The local bug on its own is a 7.8, but paired with an unauthenticated web RCE on an internet-facing portal it turns your perimeter device into the attacker’s best foothold.

At a glance

  • CVEs: CVE-2026-109618 and CVE-2026-109619 (PHP2Shell, initial access), CVE-2026-123039 (Gaia DynamicCLI local privilege escalation to root).
  • Scores: the PHP security team rates CVE-2026-109618 CVSS v4.0 9.2, and secondary reporting gives CVE-2026-109619 the same 9.2. CVE-2026-123039 is CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) from Check Point as the CNA, with CWE-862 and CWE-732. I could not load the NVD record on November 15; Rescana reported it as still undergoing analysis.
  • Affected (sk1000362): Gaia R82.20, R82.10, R82, R81.20, R81.10 and R81 on Force Firewalls, Management and Log Servers, Multi-Domain Security Management and Multi-Domain Log Server, and Maestro Orchestrator. Spark Firewalls and Smart-1 Cloud are not affected.
  • Fixed in Jumbo Hotfix Accumulator: R82.20 Take 14, R82.10 Take 52, R82 Take 132, R81.20 Take 174, or later. No fixed take is listed for R81.10 or R81, both end of support.
  • Exploited: yes. Wave 1 from October 30 (Israeli organizations, some destructive), wave 2 from November 2 (multiple countries and sectors). In CISA KEV since November 13.
  • Attribution: unconfirmed. Check Point Research explicitly declines to assess it with high confidence.
  • Who should care: anyone running Check Point Mobile Access on the internet, and anyone whose firewall can SSH into ESXi.

What we know

PHP2Shell landed on October 21, 2026. The PHP security team shipped PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 and said updating was “the only complete mitigation.” The same day CISA told organizations to inventory PHP everywhere, including PHP bundled inside other products, and it added both CVEs to KEV on October 26.

Check Point’s Mobile Access portal is exactly that kind of bundled PHP. Check Point Research says the first wave began roughly one week after a fix became available. Rescana reports that Check Point’s PHP2Shell hotfix (sk1000302) was published on October 23; I did not open that bulletin myself, so treat that date as secondary.

The first wave, from October 30, hit Israeli organizations and included destructive activity against some of them. The second, from November 2, was broader and looked opportunistic, with no destructive activity observed. Check Point created sk1000362 on November 8, the CVE went public with the research on November 12, and KEV followed on November 13.

Timeline from October 21, 2026 (PHP fixes) through October 26 (PHP2Shell in KEV), October 30 and November 2 (exploitation waves), November 12 (Check Point Research write-up), November 13 (CVE-2026-123039 in KEV) to the November 16 KEV due date.
Nine days separated the upstream PHP fix and the first wave against Check Point gateways.

How the attack unfolded

Step one is PHP2Shell. According to the PHP advisory, PHP aborts a request with a long jump when memory runs out, and that can happen while internal request state is only half built. Request shutdown then trusts that state, which can be turned into code execution. PHP demonstrated it unauthenticated over HTTP against Apache with mod_php, before any application code runs. On a Check Point gateway that means code execution as the portal’s service account. Check Point found PHP session files under /opt/CPcvpn-R81.20/tmp/ containing the marker upload_progress_pwn, and hundreds of segmentation faults in the portal’s Apache/PHP workers during the October 30 window. Crashing workers are what memory-corruption exploitation tends to look like from the outside.

Step two is the part Check Point owns. Gaia runs a root process, dynamic_server, that serves Dynamic CLI commands over a local Unix socket at /tmp/dynamic_socket. On vulnerable builds that socket is mode 0777 and the daemon never checks who is calling. Any local process, including an unprivileged web worker, can hand it a command that runs as root. That is CWE-732 (incorrect permissions on a critical resource) plus CWE-862 (missing authorization). After the fix the socket is 0660, owned by root and the config group, and the daemon rejects callers it does not trust.

Five-step attack chain: PHP2Shell on the Mobile Access portal, root via the world-writable dynamic_socket, webshells and the TSGA backdoor, SSH pivot to ESXi as vpxuser, and the destroy_v6 wiper.
The chain as described by Check Point Research. The wiper stage was seen only in some first-wave intrusions.

With root, they planted webshells as zz*.tpl files in the portal’s login templates, protected by a hardcoded key. They launched a backdoor Check Point calls TSGA from /tmp/CPconfigdaemon, which relocates itself into a boot persistence directory as slot_CPconfigdaemon. Check Point lists its features as encrypted remote access, configuration theft, persistence in backups and snapshots, process injection and tampering with binary firewall logs. A companion implant, TSProxy, was written to /lib/libcpfwcommon.so and injected into appliance processes as an encrypted SOCKS-style proxy. Both use TCP port 11072 and a Unix socket at /tmp/.p_sock.

In at least one intrusion they then ran the gogo scanner, moved over SSH to a VMware ESXi host using the vpxuser account, staged a wiper Check Point calls destroy_v6 and ran it. The wiper writes DREAM_ANNEXATION.txt into every directory it processes. Check Point does not say how the attackers got working vpxuser credentials.

Who did it: still an open question

Here the facts get thin. Check Point Research links TSGA and TSProxy to a toolset called PhiliKit. It says ESET associated PhiliKit with UNC5221, a China-nexus group, that the toolset was previously reported in attacks on Ivanti appliances, and that TSProxy shares operator credentials and a TLS certificate with a PhiliKit component. The infrastructure sat on LightNode VPS hosts that Check Point says have previously been tied to China-nexus activity.

Then the picture breaks. The wiper note uses the brand of Dream Security, a company that had recently published research on PHP2Shell exploitation of Palo Alto Networks devices by China-nexus actors. Check Point says the destruction, the Israel focus and the Hebrew note do not fully align with UNC5221’s motives. Check Point lays out several possibilities, including an initial access broker or a false flag where the destruction is a smoke screen, and concludes that the evidence does not let it assess “with high confidence the true nature of this operation.” I’d leave it there: attribution is unconfirmed.

Who is affected and how badly

CVE-2026-123039 needs local code execution first, which is why it scores 7.8 and not 9-something. That framing undersells it. On a gateway with Mobile Access exposed and an unpatched PHP stack, “local” is one unauthenticated request away. Management and log servers are affected too, so any other foothold on those boxes gets the same root shortcut.

My honest rating: critical for anyone with Mobile Access facing the internet who was not on the PHP2Shell hotfix by late October. High for everyone else on affected versions, because a root-on-demand socket turns every future web bug on the appliance into full compromise. The R81.10 and R81 crowd is in the worst spot, with no fixed take listed and only the mitigation to lean on.

What to do now

  1. Install the Jumbo Hotfix that fixes CVE-2026-123039 on gateways, management and log servers: R82.20 Take 14, R82.10 Take 52, R82 Take 132, R81.20 Take 174, or later. Start with anything exposing Mobile Access. Confirm the takes in sk1000362 before scheduling; the CVE record’s affected ranges are worded slightly differently from the SK, and I’d follow the SK.
  2. Make sure the PHP2Shell fix is also on every Mobile Access gateway. Fixing the root socket without fixing the portal still leaves the attacker a webshell.
  3. If you cannot patch, use the sk1000362 mitigation: stop dynamic_server and stop it from restarting. This breaks the Dynamic CLI commands listed in sk144112. Copy the exact commands from the SK, not from a blog.
  4. On R81.10 or R81, apply the mitigation and plan the upgrade. Turn off Mobile Access where nobody uses it.
  5. If your Mobile Access portal was reachable and unpatched at any point after October 21, treat the box as possibly compromised and run the checks in the detection section below. Patching does not remove a webshell or a backdoor that is already there.
  6. Review what your firewall can reach. A gateway that can SSH into ESXi, or that holds credentials which work there, is a bridge nobody designed on purpose. Ship firewall logs off the box in real time, since TSGA can tamper with them.

Detection and monitoring

Two parts of this chain are easy to see if you collect the right logs, and the rest is hard. The easiest is the privilege escalation itself: dynamic_server writes every command it receives to /var/log/dynamicCli.log, and sk1000362 tells you what normal looks like. The second is the implant drop, since Check Point Research names the exact paths. The PHP2Shell request and the wiper are the weak spots. The catch is that Gaia does not ship dynamicCli.log off the box by default, most gateways run no EDR, and an attacker with root can edit local logs. Forwarding comes first, rules second.

RuleCategoryLog sourceATT&CKLevel
DynamicCLI exploitation-style commandNetwork (firewall)dynamicCli.logT1068, T1059.004High
DynamicCLI command without Clish wrapperNetwork (firewall)dynamicCli.logT1068Medium
DynamicCLI rejected unauthorized uid (after patching)Network (firewall)dynamicCli.logT1068Medium
TSGA, TSProxy or portal webshell file createdLinuxFile creationT1505.003, T1090Critical
SSH login to ESXi as vpxuserIdentityESXi auth.logT1021.004High

The one I’d turn on first is the exploitation-style command rule. It fires when the root daemon logs a received command containing the strings Check Point itself lists as typical of exploitation: whoami, /dev/tcp, curl or wget, base64, useradd, authorized_keys and a few others. Clish has no reason to send any of those through Dynamic CLI, so a hit means someone used the socket as a root shell. It is the SK’s own grep turned into a SIEM rule:

title: Check Point Gaia DynamicCLI Exploitation-Style Command - CVE-2026-123039
id: 50564284-e728-4af4-940e-a38255c15ab2
status: test
description: |
    Detects commands received by the root dynamic_server daemon on Check Point Gaia that contain
    discovery, download, reverse-shell, credential or account-creation strings. Check Point sk1000362
    lists these strings in /var/log/dynamicCli.log as typical of CVE-2026-123039 exploitation, where a
    web worker abuses the world-writable /tmp/dynamic_socket to run commands as root.
references:
    - https://support.checkpoint.com/results/sk/sk1000362
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.t1068
    - attack.t1059.004
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: checkpoint
    service: dynamiccli
    definition: 'Requirement: forward /var/log/dynamicCli.log from every Gaia gateway, cluster member and management server to the SIEM (not shipped by default).'
detection:
    keywords_received:
        - 'Received ='
    keywords_commands:
        - ' id;'
        - ' whoami'
        - '/etc/shadow'
        - 'ncat'
        - 'nc -'
        - '/dev/tcp'
        - 'curl '
        - 'wget '
        - 'base64'
        - 'useradd'
        - 'authorized_keys'
    condition: keywords_received and keywords_commands
falsepositives:
    - Administrators deliberately running such commands through Dynamic CLI during troubleshooting (rare; confirm with the change record)
level: high

The read-only checks from sk1000362 still apply on each gateway in Expert mode: confirm /tmp/dynamic_socket is srw-rw---- root config after the hotfix, then grep dynamicCli.log for received commands without the Clish wrapper. Check Point Research’s artifact paths (/tmp/CPconfigdaemon, /tmp/.bd.log, /lib/libcpfwcommon.so, zz*.tpl in the portal tree, a listener on TCP 11072) are worth a one-off sweep, and the hashes are in CPR’s IOC table.

After patching, keep watching. On a fixed build the daemon logs “Rejected connection from unauthorized uid” when an untrusted process knocks, and a non-zero uid like 99 means something on the box still has a foothold. I’d retro-hunt every log you have back to October 21, 2026, when PHP2Shell was patched upstream. Search perimeter logs for 130.94.19[.]204 and 130.94.19[.]168 over the same window, then let those IPs age out after about 90 days; VPS addresses get recycled. On ESXi, any SSH login as vpxuser deserves a call to whoever owns vCenter.

I wrote up all five rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

The headline bug here is not really the one in KEV. PHP2Shell was public, patched and screamed about by CISA on October 21. Attackers were inside Check Point gateways nine days later. The lesson I take is that a security appliance carries a full open-source web stack, and its exposure clock starts when that upstream project patches, not when the appliance vendor writes its own bulletin. If your firewall patching waits for the vendor’s cadence, you lost this race before it started.

CVE-2026-123039 is the part that should embarrass the vendor. A root daemon taking unauthenticated commands over a world-writable socket in /tmp is a bug class we were writing up in the 1990s. On a product whose whole job is enforcing trust boundaries, the boundary between “web worker” and “root” was a file permission. The CVSS 7.8 is technically correct and practically misleading: in real deployments it is the multiplier that turns any web bug on the box into full control, including log tampering on the device you rely on for evidence.

I would not spend time on attribution yet; Check Point itself will not commit. What matters for defenders is the same either way: the firewall had a path into ESXi. If I ran a Check Point estate this week, I’d patch, run the dynamicCli.log checks on every gateway exposed since October 21, and then go find out exactly what credentials and network paths my firewalls have into the virtualization layer. Most people will skip that last step, and it is the one that decided whether victims lost a firewall or their servers.

Sources