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.logforwarded off every gateway and management server, file creation telemetry or an integrity sweep on Gaia, and ESXiauth.logover 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
testbecause they come straight from sk1000362 or the Check Point Research IOC list; the ESXi rule isexperimentalbecause 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

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
| Rule | Domain | Log source | ATT&CK (tactic / technique) | Level | Status |
|---|---|---|---|---|---|
| DynamicCLI exploitation-style command | Network | checkpoint / dynamiccli | Privilege Escalation, Execution / T1068, T1059.004 | High | test |
| DynamicCLI command without Clish wrapper | Network | checkpoint / dynamiccli | Privilege Escalation / T1068 | Medium | test |
| DynamicCLI rejected unauthorized uid | Network | checkpoint / dynamiccli | Privilege Escalation / T1068 | Medium | test |
| TSGA, TSProxy or portal webshell artifact created | Linux | linux / file_event | Persistence, Command and Control / T1505.003, T1090 | Critical | test |
| SSH login to ESXi as vpxuser | Identity | esxi / sshd | Lateral Movement / T1021.004 | High | experimental |
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
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
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
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
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
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 case | Tactic | Technique | Rule | Covered? |
|---|---|---|---|---|
| PHP2Shell on the Mobile Access portal | Initial Access (TA0001) | T1190 | – | Gap |
| Root via dynamic_socket | Privilege Escalation (TA0004) | T1068 | Three DynamicCLI rules | Yes |
| Commands run as root | Execution (TA0002) | T1059.004 | DynamicCLI exploitation-style command | Yes |
| zz*.tpl webshells | Persistence (TA0003) | T1505.003 | Artifact file rule | Yes, if file telemetry exists |
| TSProxy SOCKS proxy | Command and Control (TA0011) | T1090 | Artifact file rule | Partial (file drop only) |
| TSGA log tampering | Defense Evasion (TA0005) | T1070 | – | Gap |
| gogo scanning from the gateway | Discovery (TA0007) | T1046 | – | Gap |
| SSH to ESXi as vpxuser | Lateral Movement (TA0008) | T1021.004 | ESXi vpxuser SSH login | Yes |
| destroy_v6 wiper | Impact (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
- Check Point sk1000362: CVE-2026-123039 Dynamic CLI local privilege escalation (created November 8, updated November 12, 2026)
- Check Point Research: PHP2Shell Exploitation on Check Point Gateway (November 12, 2026)
- Elastic Security Labs: PHP2Shell detection coverage (October 20, 2026)
- Elastic rule “Potential PHP2Shell Exploitation Attempt” as indexed by detection.fyi (October 23, 2026)
- CISA: Critical Vulnerabilities in PHP Require Immediate Patching (October 21, 2026, Sigma rule added October 23)
- CVE record CVE-2026-123039 (Check Point as CNA, November 12, 2026)




