Tag: T1505.003

Detecting Cacti 4HTTP2SHELL: 4 Sigma rules for web logs, the poller and the web root

Detecting Cacti 4HTTP2SHELL: 4 Sigma rules for web logs, the poller and the web root

An unpatched bug with a public proof of concept and no CVE is the worst kind of week for a detection team: no vendor signature, no scanner plugin, nothing in the threat feeds. That is where Cacti users are with 4HTTP2SHELL, the four-request chain that turns an enabled guest account on Cacti 1.2.31 into command execution. Cacti merged matching fixes into its source branches on November 28, but no release carries them yet. I covered the bug, who is exposed and what to switch off in my analysis of the zero-day.

This post is the detection side. I found no published IOCs or request samples in the sources I read, so these four rules are built from the behaviour that watchTowr and RavenAI describe, plus my own reasoning where I say so. They are all experimental. Treat them as starting points to tune, not as alerts to page someone on at 3 a.m.

At a glance

  • Rules: 4 (one Sigma v2 correlation with three base rules, two host rules, one hunting rule).
  • Domains: Web/App and Linux.
  • Log sources: web server access logs with query strings, the PHP or web server error log and the Cacti log, Linux process creation and file creation (Sysmon for Linux, auditd or EDR).
  • ATT&CK: T1190, T1059.004, T1105, T1505.003.
  • Status: experimental. No CVE tag, because there is no CVE.
  • GitHub: Detection Rules/Linux and Detection Rules/Web-App.

The case in brief

The chain needs Cacti’s guest account to be enabled, which is not the default. According to RavenAI’s breakdown, the guest saves a text value into preview_graphs_per_page through auth_profile.php, a display setting that should be a number. A graph_view.php preview request then concatenates that stored value into a SQL LIMIT clause, and a stacked statement rewrites the arg1 command of a poller_item row. Finally a guest-reachable realtime graph request runs the poller path, which executes the command as the Cacti web and poller account. watchTowr adds that a warning about a non-numeric value may be logged along the way (RavenAI calls it a PHP warning), and lists new files created by the poller process as a pivot. The full story is in the analysis.

So the traces land in four places: the web access log (the request order), the PHP error log or Cacti log (the warning), the database (the rewritten poller command) and the host (whatever that command starts, and any files it writes). Sigma covers three of them. The database is the gap.

Detection map

Block diagram: web access logs, the PHP or Cacti log and Linux host process and file events feed four Sigma rules (request-order correlation, non-numeric warning hunt, suspicious poller child, PHP written in the Cacti tree) mapped to ATT&CK T1190, T1059.004 with T1105, and T1505.003, with the poller_item database rewrite marked as a gap.
Three log sources, four rules. The SQL rewrite of the poller command stays a database check.

Read it left to right. Web logs feed the correlation rule, which watches for the request order. The PHP error log or Cacti log feeds a keyword hunt. Host telemetry feeds the two rules I trust most: a suspicious child process under PHP, the web server or the spine poller, and a PHP file written into the Cacti tree by one of those processes. On the right, the red dashed box is the part none of the rules can see: the SQL write into poller_item. You close that with a scheduled database query, not a SIEM rule.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
Suspicious command spawned by Cacti web server or pollerLinuxlinux / process_creationExecution / T1059.004, C2 / T1105HighExperimental
Profile update, then preview, then realtime graph (correlation)Web/AppwebserverInitial Access / T1190MediumExperimental
PHP file written in Cacti web root by a web processLinuxlinux / file_eventPersistence / T1505.003MediumExperimental
Non-numeric value warning in the PHP or Cacti log (hunting)Web/Appcacti / application (PHP or Cacti log)Initial Access / T1190LowExperimental

The rules

Suspicious command spawned by Cacti web server or poller

Context: the last step of the chain is the poller running a command an anonymous guest chose. Whatever the attacker does next (download a tool, open a reverse shell, check who they are) starts as a process under PHP, Apache or spine. This is the rule I would turn on first, because it does not depend on how the command got into the poller.

Condition: alert when PHP, Apache/httpd or spine starts a shell whose command line contains curl, wget, a /dev/tcp redirect, base64, whoami, netcat, socat, chmod +x or an inline Python one-liner, or starts one of those tools directly. The lineage is my inference: I assume Cacti hands the stored command to a shell, so I match both the shell and the direct case.

ATT&CK: Execution (TA0002) – T1059.004 Unix Shell; Command and Control (TA0011) – T1105 Ingress Tool Transfer.

title: Suspicious Command Spawned by Cacti Web Server or Poller - Possible 4HTTP2SHELL Exploitation
id: 60c2cf77-4095-4bbf-9a3d-fd67b80c2a27
status: experimental
description: |
    Detects a shell running download, reverse-shell, discovery or encoding commands, or such a tool started directly,
    under the PHP, web server or spine poller processes on a Linux Cacti host. The 4HTTP2SHELL chain rewrites a
    poller command that a realtime graph request then executes as the Cacti service account (inferred process lineage).
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.execution
    - attack.t1059.004
    - attack.command-and-control
    - attack.t1105
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_parent:
        - ParentImage|contains: '/php'
        - ParentImage|endswith:
              - '/apache2'
              - '/httpd'
              - '/spine'
    selection_shell:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
    selection_shell_payload:
        CommandLine|contains:
            - 'curl '
            - 'wget '
            - '/dev/tcp/'
            - 'base64'
            - 'whoami'
            - 'nc -'
            - 'ncat '
            - 'socat '
            - 'chmod +x'
            - 'python -c'
            - 'python3 -c'
    selection_direct_tool:
        Image|endswith:
            - '/curl'
            - '/wget'
            - '/nc'
            - '/ncat'
            - '/netcat'
            - '/socat'
            - '/whoami'
            - '/base64'
    condition: selection_parent and ((selection_shell and selection_shell_payload) or selection_direct_tool)
falsepositives:
    - Custom Cacti data input scripts that call curl or wget to poll HTTP APIs (scope by the script path and add a filter)
    - Other PHP applications on the same host; scope the rule to Cacti servers
level: high

View on GitHub

False positives and tuning: custom data input scripts that poll HTTP APIs with curl are the obvious one. Add a filter on their script path rather than dropping curl from the list. Scope the rule to hosts tagged as Cacti servers, because on a general PHP web server it will be noisier.

How to test: on a lab Cacti host, run a harmless command through PHP as the web user, for example sudo -u www-data php -r 'system("whoami");'. That produces PHP starting a shell that runs whoami, the same lineage the rule looks for.

Profile update, then preview, then realtime graph from one client

Context: RavenAI describes the chain’s footprint as a guest profile update followed by graph preview and realtime graph initialisation requests. Each request on its own is normal Cacti use. The order, from one client in a short window, is what stands out.

Condition: three informational base rules match auth_profile.php with action=update_data, graph_view.php with action=preview, and graph_realtime.php. A Sigma v2 temporal_ordered correlation fires when the same client IP hits all three in that order within 10 minutes. The action=update_data string comes from InfoSec Monkey’s hunting grep; action=preview is the standard Cacti preview URL and my assumption. Access logs do not show request bodies, so the rule cannot see the injected value itself.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Cacti Profile Update Request
id: 79a15d1d-b432-48fb-8b57-83e92d9f520c
name: cacti_profile_update_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches a request to the Cacti user profile update action,
    the step where the chain stores a value in a per-user display setting.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://infosecmonkey.com/cacti-4http2shell-zero-day/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/auth_profile.php'
        cs-uri-query|contains: 'action=update_data'
    condition: selection
falsepositives:
    - Users changing their own profile settings (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Graph Preview Request
id: d3eb6803-9216-45a4-98d5-c877fc4f3a35
name: cacti_graph_preview_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches the graph_view.php preview action, which reads the
    stored page-size preference back into a SQL query.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/graph_view.php'
        cs-uri-query|contains: 'action=preview'
    condition: selection
falsepositives:
    - Normal graph browsing in preview mode (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Realtime Graph Request
id: 7d465808-b5cb-44ec-be1f-89fbedd54bb0
name: cacti_realtime_graph_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches a request to graph_realtime.php, the page that
    triggers the realtime poller path where the rewritten command runs.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/graph_realtime.php'
    condition: selection
falsepositives:
    - Users opening realtime graphs (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Profile Update Followed by Graph Preview and Realtime Graph - Possible 4HTTP2SHELL Chain
id: efe4f9f7-cadc-41a8-b8f0-d7fd9ad6127f
status: experimental
description: |
    Detects one client sending a Cacti profile update, then a graph_view.php preview, then a graph_realtime.php
    request within ten minutes, the request order RavenAI describes for the 4HTTP2SHELL guest-to-shell chain.
    Inferred from published analyses; I found no published request samples in the sources I read.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
correlation:
    type: temporal_ordered
    rules:
        - cacti_profile_update_request
        - cacti_graph_preview_request
        - cacti_realtime_graph_request
    group-by:
        - c-ip
    timespan: 10m
falsepositives:
    - A logged-in user who changes the preview page size and then opens a realtime graph; check whether the client is a known admin or NOC address
level: medium

View on GitHub

False positives and tuning: a logged-in admin who changes the preview page size and then opens a realtime graph will trigger it. Exclude your NOC and admin subnets, or better, enrich with the session user if your web server logs it and alert only when it is the guest. If guest is off on all your servers, this rule should be silent; any hit is worth a look.

How to test: on a lab install, log in, change the graphs-per-page preference, open preview mode, then open a realtime graph, all within a few minutes.

PHP file written in the Cacti web root by a web process

Context: watchTowr lists new files created by the poller process as a detection pivot, and RavenAI mentions an unexpected web shell or marker file. Once an attacker can run commands as the web user, dropping a PHP file in the Cacti tree is the cheapest way to keep access after you turn guest off.

Condition: alert when a file ending in .php is created under a path containing /cacti/, and the writing process is PHP, Apache/httpd, spine or a shell. Legitimate Cacti code arrives through the package manager or an admin’s deployment, not through those processes.

ATT&CK: Persistence (TA0003) – T1505.003 Web Shell.

title: PHP File Written in Cacti Web Root by Web Server or Shell Process
id: 23d1ea44-9240-49d3-9768-00be868c537d
status: experimental
description: |
    Detects a .php file created under a Cacti installation path by PHP, the web server, the spine poller or a shell.
    watchTowr lists new files created by the poller process, and RavenAI an unexpected web shell or marker file, as pivots
    after 4HTTP2SHELL exploitation. Legitimate Cacti code is written by the package manager or an admin, not by these processes.
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.persistence
    - attack.t1505.003
    - detection.emerging-threats
logsource:
    product: linux
    category: file_event
detection:
    selection_path:
        TargetFilename|contains: '/cacti/'
        TargetFilename|endswith: '.php'
    selection_writer:
        - Image|contains: '/php'
        - Image|endswith:
              - '/apache2'
              - '/httpd'
              - '/spine'
              - '/sh'
              - '/bash'
              - '/dash'
    condition: all of selection_*
falsepositives:
    - Cacti plugin installs or upgrades done through the web UI (match the time against change records)
    - Installs where Cacti lives outside a path containing /cacti/ will not match; adjust the path
level: medium

View on GitHub

False positives and tuning: plugin installs through the web UI write PHP as the web user, so match hits against change records. If Cacti lives in a path without /cacti/ in it, change the path. A shell writing the file is in the list on purpose: an attacker’s echo into a file comes from sh, not PHP.

How to test: as the web user, have PHP write a harmless file into the Cacti directory, check for the alert, then delete the file.

Non-numeric value warning in the PHP or Cacti log

Context: watchTowr and BleepingComputer both say a warning about a non-numeric value in a graph display setting may be logged when the chain runs, while the request itself succeeds. RavenAI describes it as a PHP warning. Depending on your setup it lands in the PHP or web server error log, or in Cacti’s own log, so forward both.

Condition: match the keyword non-numeric in the forwarded PHP error log or Cacti log. I could not find the exact message text in the sources, so I kept it to the keyword. That makes it a hunting rule, not an alert.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Non-Numeric Value Warning on a Cacti Host - 4HTTP2SHELL Hunting
id: af338bec-2440-4abd-8619-e984ec9031de
status: experimental
description: |
    Hunts for warnings about non-numeric values on a Cacti host. watchTowr notes a warning about a non-numeric value in a
    graph display setting may be logged when the 4HTTP2SHELL chain runs, while the request still succeeds; RavenAI calls it
    a PHP warning. Where it lands (PHP or web server error log, or the Cacti log) depends on the setup. The exact text is
    not published, so this matches the keyword only and needs review.
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://www.bleepingcomputer.com/news/security/unpatched-cacti-zero-day-with-public-poc-gives-remote-code-execution/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.threat-hunting
logsource:
    product: cacti
    service: application
    definition: 'Requirement: forward the PHP or web server error log and the Cacti log from the Cacti host to the SIEM (locations vary by install).'
detection:
    keywords:
        - 'non-numeric'
    condition: keywords
falsepositives:
    - PHP warnings from unrelated code paths or plugins with sloppy numeric handling
level: low

View on GitHub

False positives and tuning: any plugin with sloppy number handling can produce the same PHP warning. Once you see a real hit, copy the exact message into the rule and raise its level.

How to test: append a line containing “non-numeric” to the forwarded log in a lab and confirm it reaches the SIEM and matches.

Coverage and gaps

Step in caseTacticTechniqueRuleCovered?
Guest profile write, preview, realtime requestsInitial Access (TA0001)T1190Correlation rule, PHP or Cacti log huntYes (inferred URIs)
Stacked SQL rewrites poller_item.arg1Initial Access (TA0001)T1190NoneGap: database only
Poller runs the attacker commandExecution (TA0002)T1059.004Suspicious poller childYes, with process telemetry
Tool downloadCommand and Control (TA0011)T1105Suspicious poller childPartial
Web shell or file dropPersistence (TA0003)T1505.003PHP written in Cacti treeYes, with file telemetry
Follow-on actions (reading credentials, pivoting to devices)Variousn/aNoneGap: not described by sources

The biggest blind spot is the SQL write. Most teams do not audit the Cacti database, and a rewritten poller_item row looks like any other config change. I would close it with a scheduled read-only query: alert when a preview_graphs_per_page value in settings_user is not a plain number, and diff poller_item.arg1 against yesterday’s copy. The analysis post has the queries. The second gap is everything after the first command. Cacti servers hold SNMP credentials (the poller_item table itself has SNMP community and password columns) and can usually reach most network devices, so if the host rule fires, assume the attacker read the config and check your devices’ logs for logins from the Cacti server.

Deploying the rules

Grab the YAML from GitHub and convert it with sigma-cli for your SIEM. The Linux rules need a pipeline that maps Sysmon for Linux or your EDR’s field names; the web rules need your access log fields mapped to cs-uri-stem, cs-uri-query and c-ip. Correlation rules need a backend that supports Sigma v2 correlations (check yours); otherwise build the sequence as a saved search by hand. For example:

sigma list pipelines
sigma convert -t splunk --without-pipeline proc_creation_lnx_cacti_web_poller_suspicious_child.yml
sigma convert -t lucene --without-pipeline file_event_lnx_cacti_webroot_php_written_by_web_process.yml
sigma convert -t splunk --without-pipeline web_cacti_guest_profile_preview_realtime_sequence_correlation.yml

The --without-pipeline output keeps the Sigma field names, so rename them to your own schema, or swap in a pipeline from sigma list pipelines that matches your log source; pipeline names change between sigma-cli plugin versions. Run everything in alert-only mode for a week before it pages anyone, and tune the process rule’s filters with what your own data input scripts actually run.

My take

Honestly, the best detection for this bug is not a rule. It is setting Guest User to No User and taking the web UI off the internet, which closes the chain completely. Everything in this post is for the case where you cannot do that today, or where guest was on before you read about this and you need to know if someone got in.

Of the four, the process rule is the one worth keeping forever. Cacti has had four guest-reachable or unauthenticated paths published this year, and most of the impact flows through a poller that runs commands from a database table. Watching what that poller starts catches this chain and the next one. What I would really like is for Cacti to log changes to poller_item and to guest profile settings by default, with the user and source IP. That single log line would turn the biggest gap in this post into the easiest alert.

Sources

Detecting Drupal installer takeover: 4 Sigma rules for web logs and host files

Detecting Drupal installer takeover: 4 Sigma rules for web logs and host files

Drupal’s installer flaws are a detection engineer’s dream and nightmare at once. The dream: the attack has to go through one URL, /core/install.php, that a finished production site has no business serving. The nightmare: neither Drupal nor the researchers published a single IP address, hash or user agent, and Drupal itself says a compromised site may no longer look vulnerable.

This post is the companion to my analysis of CVE-2026-136716 and the earlier Fail2Install bug. Here you get four Sigma rules built on behaviour, what each one catches, how to tune it, and how to test it safely in a lab.

At a glance

  • Rules: 4 rule files (one of them a Sigma v2 correlation with its own base rule).
  • Domains: Web/App (3) and Linux (1).
  • Log sources: web server access logs with method and full path; host file events from Sysmon for Linux, auditd or an EDR.
  • ATT&CK: T1190 Exploit Public-Facing Application (Initial Access) and T1505.003 Web Shell (Persistence).
  • Status: one rule test (vector confirmed by Drupal), three experimental (built from researcher write-ups and my own reasoning).
  • GitHub: Detection Rules/Web-App and Detection Rules/Linux.

The case in brief

Drupal fixed CVE-2026-132165 (SA-CORE-2026-017) on November 18, 2026, and reported exploitation on live sites from November 19 at 19:00 UTC. A week later, on November 25, it fixed CVE-2026-136716 (SA-CORE-2026-019) for sites in unusual or incomplete installation states that the first fix missed, and said that one is exploited in the wild too. In both cases the attacker uses the installer to reinstall Drupal on a live site and take it over. The full story is in the analysis.

For detection, the steps that matter and where they leave traces are these. The attacker requests the installer, and for Fail2Install, puts pressure on the database or the server so that the “already installed” check fails (Searchlight Cyber’s research). That shows up in access logs. The attacker then most likely submits installer forms (my inference), which are POST requests to the same path. On some setups the attacker can go further: Searchlight describes writing a SQLite database file with a .php name into the web root and running it through a crafted path. The CSA and Hive Security write-ups give that path shape as .php/core/ in the middle. That leaves a file on disk and one more odd line in the access log. The account takeover itself happens inside Drupal and does not reach the web server logs in a useful way.

Detection map

Block diagram: web access logs and Linux host file events feed four Sigma rules (installer POST request, installer request burst correlation, .php/core/ path trick, PHP file in public files) mapped to ATT&CK T1190 and T1505.003, with the user 1 takeover marked as a gap to check by hand.
Two log sources, four rules. The admin takeover itself stays a manual check.

Two log sources feed four rules. The web access log carries three of them: the installer POST, the burst correlation and the .php/core/ path. Host file events carry the fourth, a PHP file appearing under sites/*/files. Together they cover the initial access and the web shell step. The account takeover in the middle is the gap: it lives in Drupal’s own logs and state, so I treat it as a manual check, not a rule.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
Drupal installer POST requestWeb/AppwebserverInitial Access / T1190Hightest
Burst of installer requests from one clientWeb/Appwebserver (correlation)Initial Access / T1190Mediumexperimental
PHP file requested with trailing /core/ pathWeb/AppwebserverPersistence / T1505.003Highexperimental
PHP file created in Drupal public filesLinuxlinux / file_eventPersistence / T1505.003Highexperimental

The rules

Drupal installer POST request

Context: Drupal names the installer as the vector for both exploited bugs. My inference is that a reinstall most likely needs someone to submit installer forms on a site that is already running, with or without a resource flood, so this is the rule with the best signal. It is test rather than experimental because Drupal itself names the installer as the vector.

Condition: alert on any POST request whose path contains /install.php. The contains match also catches /core/install.php/foo style paths, which Drupal’s own hardening guide warns about.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Drupal Installer POST Request - Potential CVE-2026-136716 / CVE-2026-132165 Site Takeover
id: d251aa0a-f5e0-4e6a-85f2-31c59d86e62c
status: test
description: |
    Detects HTTP POST requests to the Drupal installer (install.php). Drupal names the installer as the vector for both
    exploited flaws, SA-CORE-2026-017 and SA-CORE-2026-019. A reinstall most likely requires submitting installer
    forms (inference), which a site that is already installed should never receive.
references:
    - https://www.drupal.org/sa-core-2026-019
    - https://www.drupal.org/sa-core-2026-017
    - https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-136716
    - cve.2026-132165
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_path:
        cs-uri-stem|contains:
            - '/core/install.php'
            - '/install.php'
    selection_method:
        cs-method: 'POST'
    condition: all of selection_*
falsepositives:
    - Building a brand new Drupal site or adding a multisite site through the browser installer
    - Staging or development hosts that are reinstalled on purpose (scope the rule to production hosts)
level: high

View on GitHub

False positives and tuning: new site builds and multisite additions done in the browser will fire it. Scope it to production host names, or add a filter for the IP addresses your team installs from. If you have already blocked the installer, you’ll see hits with status 403 or 404. Keep them; they tell you who is probing, and you can lower the level for blocked responses with a filter on sc-status.

How to test: on a lab Drupal site, send any harmless POST to /core/install.php (an empty form body is enough) and check that the access log line matches.

Burst of Drupal installer requests from one client

Context: Searchlight’s Fail2Install technique depends on a database check failing at exactly the right moment. My inference is that real attempts will hit the installer many times in a short window, much more than a scanner checking once. This rule is a Sigma v2 event_count correlation: a low-level base rule matches any installer request, and the correlation fires when one client crosses a threshold.

Condition: alert when one client address sends 30 or more requests to the installer on one host within one minute. The threshold is my starting point, not a value from any source.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Drupal Installer Request From Any Client
id: 75e838b2-152b-43ec-b7a4-413b0331d848
name: web_drupal_installer_request_any
status: experimental
description: |
    Base rule for the burst correlation below: any request to the Drupal installer. Not meant to alert on its own.
references:
    - https://www.drupal.org/sa-core-2026-017
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-132165
    - detection.threat-hunting
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|contains:
            - '/core/install.php'
            - '/install.php'
    condition: selection
falsepositives:
    - Uptime checks or scanners that request install.php
level: low
---
title: Burst Of Drupal Installer Requests From One Client - Potential Fail2Install Attempt
id: 8d2db544-b525-4e65-9bb3-fad5250d6ca7
status: experimental
description: |
    Detects one client sending many requests to the Drupal installer within a minute. The Fail2Install technique
    (CVE-2026-132165) relies on making database checks fail at the right moment, so I expect attempts to repeat the
    installer request many times (inference). The threshold of 30 per minute is my own starting point, not a source value.
references:
    - https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal
    - https://www.drupal.org/sa-core-2026-017
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-132165
    - detection.emerging-threats
correlation:
    type: event_count
    rules:
        - web_drupal_installer_request_any
    group-by:
        - c-ip
        - cs-host
    timespan: 1m
    condition:
        gte: 30
falsepositives:
    - Load tests or security scans aimed at the site
    - Many users behind one NAT or proxy address (group by X-Forwarded-For if your logs keep it)
level: medium

View on GitHub

False positives and tuning: load tests and authorised scans will trip it, and so will many users behind one NAT or proxy address. If your logs keep X-Forwarded-For, group by that instead of c-ip. Remember that CVE-2026-136716 may not need a flood at all, so a quiet result here does not clear a site. The base rule on its own is a decent hunting query for the retro-hunt.

How to test: send 30 plain GET requests to /core/install.php on a lab site from one machine within a minute and check that the correlation fires once your backend supports Sigma correlations.

PHP file requested with trailing /core/ path

Context: Searchlight explains that the stock Drupal .htaccess rule meant to stop PHP files outside core from running was not anchored, so a crafted path slipped past it. The Cloud Security Alliance note and Hive Security give the shape to look for: a .php file followed by an extra /core/<name>.php segment. I am matching the path shape only, not a full request.

Condition: alert on any request whose path contains a .php file followed by /core/ and another .php name.

ATT&CK: Persistence (TA0003) – T1505.003 Web Shell.

title: Drupal PHP File Requested With Trailing /core/ Path - Potential Fail2Install Code Execution
id: aba8fc39-98da-47fa-be7a-8609c0d87300
status: experimental
description: |
    Detects requests where a .php path is followed by an extra /core/<name>.php segment. Searchlight Cyber says a crafted
    path got past the stock Drupal Apache .htaccess rule in the Fail2Install chain (CVE-2026-132165); the CSA and Hive
    Security write-ups list this path shape as an indicator. Built from published research, not from vendor IOCs.
references:
    - https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal
    - https://labs.cloudsecurityalliance.org/research/csa-research-note-drupal-fail2install-ai-found-installer-tak/
    - https://hivesecurity.gitlab.io/blog/drupal-cve-2026-136716-installer-takeover/
    - https://www.drupal.org/sa-core-2026-017
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.persistence
    - attack.t1505.003
    - cve.2026-132165
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|re: '\.php/core/[^/]*\.php'
    condition: selection
falsepositives:
    - Scanners and vulnerability checks that probe this path pattern (still worth a look on a Drupal host)
level: high

View on GitHub

False positives and tuning: I don’t know of a legitimate Drupal route with this shape, so expect hits from scanners testing for the bug. Check the response code: a 200 for one of these paths deserves an incident ticket, a 404 is a probe. Make sure your log format keeps the full path; some setups split the path info part out.

How to test: request /modules/test.php/core/test.php on a lab site. It will typically return 404, depending on the server, and the log line should match.

PHP file created in Drupal public files directory

Context: Drupal’s public files directory under sites/<site>/files is for uploads and generated assets. The CSA note lists PHP files in the public files directory as an indicator. The exception is my own: from general Drupal knowledge, the default compiled Twig cache lives under files/php/twig, so I filter that path. A new PHP file anywhere else in that tree is most likely a web shell or a database file planted through the installer. This rule outlives the CVE, which is why it carries no emerging-threat tag.

Condition: alert when a file ending in .php is created under a path containing /sites/ and /files/, unless the path contains /files/php/twig/.

ATT&CK: Persistence (TA0003) – T1505.003 Web Shell.

title: PHP File Created In Drupal Public Files Directory
id: 9857fb99-344e-4407-8333-68aadb13f0f1
status: experimental
description: |
    Detects creation of a .php file under a Drupal sites/<site>/files directory. CSA lists PHP files in the public files
    directory as an indicator; excluding files/php/twig (the default compiled Twig cache) is my own tuning. A new PHP
    file there points to a web shell or to a database file planted through the installer (Fail2Install chain).
references:
    - https://labs.cloudsecurityalliance.org/research/csa-research-note-drupal-fail2install-ai-found-installer-tak/
    - https://www.slcyber.io/research/fail2install-system-limits-pre-auth-rce-drupal
    - https://www.drupal.org/sa-core-2026-019
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.persistence
    - attack.t1505.003
    - cve.2026-132165
    - cve.2026-136716
logsource:
    product: linux
    category: file_event
detection:
    selection:
        TargetFilename|contains: '/sites/'
        TargetFilename|endswith: '.php'
    selection_files_dir:
        TargetFilename|contains: '/files/'
    filter_main_twig_cache:
        TargetFilename|contains: '/files/php/twig/'
    condition: all of selection* and not 1 of filter_main_*
falsepositives:
    - Sites that moved the Twig cache or other generated PHP into a custom path under files/ (add that path as a filter)
    - Backup or migration tools that copy PHP files into the files directory
level: high

View on GitHub

False positives and tuning: if you moved the Twig cache or keep other generated PHP under files/, add that path as a filter. Backup and migration tools that copy whole trees can also trip it. The bigger limit is telemetry: file creation events are not collected by default on Linux, so you need Sysmon for Linux, an auditd watch on the files directory, or an EDR. A file written somewhere other than files/ will not match.

How to test: on a lab host with file telemetry on, run touch sites/default/files/test.php and check for an alert, then create a file under sites/default/files/php/twig/ and check that the filter keeps it quiet.

Coverage and gaps

Step in the caseTacticTechniqueRuleCovered?
Reach the installer and flood it (Fail2Install)Initial Access (TA0001)T1190Installer request burstPartly, threshold based
Submit installer forms and reinstallInitial Access (TA0001)T1190Installer POST requestYes
Take over user 1 or create an adminPersistence (TA0003)T1078 Valid AccountsNoneGap: Drupal logs and state, manual check
Write PHP through a SQLite filePersistence (TA0003)T1505.003PHP file in public filesYes, with host file telemetry
Run it through a .php/core/ pathPersistence (TA0003)T1505.003.php/core/ pathYes

What none of these rules can see is the account takeover itself. Drupal’s advice is to check logs for changes to or by user 1, set its email to one you control and consider resetting its password. Do that by hand, along with looking for administrators you don’t recognise. Hive Security also suggests checking the installer state with drush state:get install_task (expect done) and drush state:get install_time (expect the original install time). The CSA note lists database error strings that appear during the resource flood, such as PostgreSQL refusing extra clients or MySQL reporting too many connections. Those are worth a manual search of your database and PHP error logs for the days after November 18, but ordinary overload produces them too, so I did not turn them into a rule.

Deploying the rules

Pull the YAML from the GitHub folders above and convert it with sigma-cli for your SIEM. The web rules use the standard webserver field names (cs-uri-stem, cs-method, c-ip), so you need a pipeline that maps them to your Apache or nginx fields. The Linux rule uses TargetFilename as Sysmon for Linux does. A few examples:

sigma convert -t splunk --without-pipeline web_drupal_installer_post_request.yml
sigma convert -t lucene --without-pipeline web_drupal_php_path_info_core_bypass.yml
sigma convert -t splunk --without-pipeline file_event_lnx_drupal_php_file_in_public_files.yml

--without-pipeline keeps the Sigma field names as they are, so rename them to your own log schema (or write a small pipeline) before the query returns anything. The correlation rule needs a backend that supports Sigma correlations; if yours does not, run the base rule as a scheduled search with a count. Run everything in alert-only mode for a week before it pages anyone, and do a retro-hunt back to November 18, 2026 on day one.

My take

This is one of the more detectable critical bugs I’ve written rules for, and that’s because of where it lives. Every variant has to pass through one URL that a finished site never needs. If I could only deploy one rule, it would be the installer POST, and I’d pair it with the web server block from the analysis so that a hit means “someone tried” rather than “someone got in”.

The weak spot is the part attackers care about most: the takeover of user 1 happens inside Drupal, and default logging does not make it easy to see from outside. I’d like Drupal to log any write to the installer state, and any change to user 1’s email or password, to syslog by default, with a clear event name a SIEM can key on. Until then, the manual checks in the gaps section are not optional.

Sources

Drupal’s installer got patched twice in a week, and attackers used both gaps

Drupal’s installer got patched twice in a week, and attackers used both gaps

Every Drupal site ships with a file whose whole job is to build a brand new site: core/install.php. On most production sites it sits there for years, answering “already installed” to anyone who asks. In the last week it has answered something else, twice, and attackers were listening both times.

On November 25, 2026 the Drupal Security Team published SA-CORE-2026-019 (CVE-2026-136716), a “Highly critical” access bypass that lets an unauthenticated attacker take over a site through the installer. It exists because the fix from one week earlier, SA-CORE-2026-017 (CVE-2026-132165, the bug Searchlight Cyber nicknamed “Fail2Install”), did not cover sites stuck in unusual or incomplete installation states. Drupal says both are exploited in the wild, and CISA added the new one to its Known Exploited Vulnerabilities (KEV) catalog on November 27 with a November 30 deadline.

Severity in one line: critical. Unauthenticated, remote, full site takeover, confirmed exploitation, and a fix that only works if you also run the database updates.

At a glance

  • CVEs: CVE-2026-136716 (SA-CORE-2026-019, November 25, 2026) and the earlier CVE-2026-132165 (SA-CORE-2026-017, November 18, 2026).
  • Scores: Drupal risk 21/25 and 20/25, both “Highly critical”. CVSS 3.1 9.8 for both on NVD (CVE-2026-136716 from CISA’s ADP entry; CVE-2026-132165 from NVD, with CISA’s ADP entry at 8.1).
  • Affected: Drupal core before 10.6.23, 11.0.0 to before 11.3.23, and 11.4.0 to before 11.4.14, when the installer is reachable. Drupal 11.2.x and older, 10.5.x and older, and Drupal 8 and 9 are end-of-life and get no fix.
  • Exploitation: confirmed by Drupal for both. First reported exploitation of CVE-2026-132165 on November 19, 2026 at 19:00 UTC. Both are in CISA KEV (added November 24 and November 27).
  • Fix: 10.6.23, 11.3.23 or 11.4.14, then run update.php (or drush updatedb), then block install.php at the web server.
  • Who should care: anyone running a supported Drupal 10 or 11 release below the fixed versions, anyone on an end-of-life branch (Searchlight lists Drupal 8.9 and 9 as affected by the first bug), and teams whose deploys skip database updates.

What happened

The story starts with SA-CORE-2026-017 on November 18, 2026. Drupal’s advisory was short: under specific conditions an attacker can use the installer to try to reinstall Drupal on an existing site, which can lead to site takeover or remote code execution. Drupal credited the find to Anthropic’s OSS Scanner.

Drupal later updated that advisory: the Security Team received a report of exploitation on live sites as early as November 19 at 19:00 UTC. That is roughly a day after the patch. On November 24, CISA put CVE-2026-132165 into KEV, and Searchlight Cyber researchers Kevin Gervot and Adam Kues published their own write-up of the bug. Their report to Drupal had been a duplicate, but they had confirmed pre-auth code execution on a stock Apache and PostgreSQL setup back on October 27.

Then came SA-CORE-2026-019 on November 25. Drupal’s wording: the first fix closed several installer holes, but some sites in unusual or incomplete installation states were still open to takeover, production sites included. The vulnerable state is not visible in the admin interface, sites already compromised may no longer look vulnerable, and any site that left its installer reachable after SA-CORE-2026-017 may already have been taken over. The advisory is blunt: “This is being exploited in the wild.”

Timeline for November 2026: Nov 18 SA-CORE-2026-017 fixes CVE-2026-132165, Nov 19 exploitation reported from 19:00 UTC, Nov 24 Searchlight write-up and KEV listing, Nov 25 SA-CORE-2026-019 for exploited CVE-2026-136716, Nov 27 KEV listing with a Nov 30 deadline.
Two Drupal installer advisories in a week, both exploited.

How it works

Drupal has not published exploit details, so this section leans on named researchers, labelled as such, and stays conceptual.

The installer first asks: “Is Drupal already installed here?” According to Searchlight, in the vulnerable versions that check failed open. A transient database failure made the installer treat a live site as not installed, which brought the setup forms back.

The clever part of the Searchlight research is how they made that error happen on demand. They looked at three system limits: open file descriptors, the database’s maximum connections, and TCP ephemeral source ports. Push any of them to the edge and new database connections fail for a moment. Resource exhaustion is usually filed under “availability”; here it became an authentication bypass. Searchlight says it worked with Apache or PHP-FPM and MySQL or PostgreSQL on Drupal 8.9, 9, 10 and 11, with PHP-FPM harder. Drupal 7 and Drupal 8 before 8.9 are not affected, per the researchers.

Once the installer is open, the attacker gets to configure the site. Searchlight describes turning that into code execution: the installer accepted a user-chosen SQLite database file path, so a database file could be placed under the web root with a PHP extension and content the attacker controls, and the stock Apache .htaccess rule meant to stop such files running was not anchored, so a crafted path slipped past it. Even without that step, my reading is that whoever completes a reinstall controls the administrator account it sets up; Drupal itself just calls the result site takeover.

Four-step chain: starve the database so a check fails, the installer fails open on a live site, the attacker reinstalls and takes the administrator account, then a SQLite file with a .php name in the web root runs as code. Step three is my inference.
The Fail2Install chain as Searchlight Cyber describes it, at a conceptual level. Drupal has not published exploit details.

CVE-2026-136716 is the leftover gap. Drupal only says it affects sites in unusual or incomplete installation states and that an update hook must run to fix sites already in that state. Hive Security read the fix commit and inferred that the first patch missed one stored state: an install task recorded with no install time. The new update hook writes the missing values. That is a reading of a diff, not a Drupal statement, but it explains why upgrading code alone is not enough.

Who is affected and how badly

The precondition is simple: the installer has to be reachable from the internet. Drupal says sites that already secured install.php are not vulnerable to SA-CORE-2026-019. The catch: securing it is a web server rule or Composer script each site owner adds, per Drupal’s “Securing the installer” page, and the reported exploitation says enough sites never did.

No login is needed. For CVE-2026-136716 Drupal describes site takeover, and CISA scores it automatable with total technical impact. Code execution as the web server account comes from Searchlight’s research on the first bug, CVE-2026-132165. The unusual-state condition sounds narrow, but the admin UI can’t show it, so treat every reachable installer as exposed until updates have run.

End-of-life branches (Drupal 8, 9, 10.5 and older, 11.2 and older) get no fix from Drupal. Searchlight lists 8.9 and 9 as affected by the first bug; nobody has said whether they are affected by the second. Either way, blocking the installer is the only protection those sites can get, and Drupal says sites with a secured installer are not vulnerable to SA-CORE-2026-019.

Unknown as of November 28, 2026: who is exploiting these bugs, how many sites were hit, and what attackers do next. Drupal has published no victim count or IOCs.

What to do now

  1. Block the installer first, right now, before the maintenance window. On nginx, Drupal recommends a prefix match in the server block: location ^~ /core/install.php { return 404; }. Don’t use an exact location = match, which can miss paths like /core/install.php/foo. On Apache, put <Location "/core/install.php"> Require all denied </Location> in the virtual host, not in .htaccess, because Composer scaffolding overwrites .htaccess.
  2. Before you upgrade, save the evidence: web access logs since November 18, a database dump, and a copy of settings.php.
  3. Upgrade to 10.6.23, 11.3.23 or 11.4.14.
  4. Run update.php or drush updatedb. Drupal says an update hook must run to fix existing production sites in the vulnerable state. If your CI pipeline deploys code and skips database updates, the new release does not protect you.
  5. Check user 1, as Drupal advises: look at logs for changes to or by that account, set its email address to one you control, and consider resetting its password. Look for administrator accounts you don’t recognise.
  6. Verify the block from outside. Drupal’s page suggests requesting /core/install.php, /install.php and /core/install.php/foo; each should return 403 or 404. A 200 means the block isn’t working.
  7. If anything looks wrong, treat the site as compromised and follow the “Your Drupal site got hacked. Now what?” page that the advisory links. My own baseline for a compromised site: rebuild from trusted code, restore a database backup from before November 18, and rotate the database credentials and other secrets.

Detection and monitoring

Nobody has published IP addresses, hashes or user agents, so you detect behaviour. On an installed site nobody has a reason to submit installer forms, and that shows up in web access logs that record the method and full path. The code execution path Searchlight describes leaves two more traces: an odd .php/core/ request path, and a PHP file in the uploads directory, visible if you collect host file events. I wrote four Sigma rules around those signals.

RuleCategoryLog sourceATT&CKLevel
Drupal installer POST requestWeb/App, emerging threatwebserverT1190High
Burst of installer requests from one client (correlation)Web/App, emerging threatwebserverT1190Medium
PHP file requested with trailing /core/ pathWeb/App, emerging threatwebserverT1505.003High
PHP file created in Drupal public filesLinux, generic TTPlinux / file_eventT1505.003High

The one I’d turn on first is the simplest: alert on any POST request whose path contains /install.php. Scope it to production hosts, because building a new site or adding a multisite site through the browser fires it legitimately. It also fires on blocked attempts that got a 403 or 404, which is useful attempt telemetry even when the request failed.

title: Drupal Installer POST Request - Potential CVE-2026-136716 / CVE-2026-132165 Site Takeover
id: d251aa0a-f5e0-4e6a-85f2-31c59d86e62c
status: test
description: |
    Detects HTTP POST requests to the Drupal installer (install.php). Drupal names the installer as the vector for both
    exploited flaws, SA-CORE-2026-017 and SA-CORE-2026-019. A reinstall most likely requires submitting installer
    forms (inference), which a site that is already installed should never receive.
references:
    - https://www.drupal.org/sa-core-2026-019
    - https://www.drupal.org/sa-core-2026-017
    - https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp
    - https://netsec101.com/?p=563
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-136716
    - cve.2026-132165
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_path:
        cs-uri-stem|contains:
            - '/core/install.php'
            - '/install.php'
    selection_method:
        cs-method: 'POST'
    condition: all of selection_*
falsepositives:
    - Building a brand new Drupal site or adding a multisite site through the browser installer
    - Staging or development hosts that are reinstalled on purpose (scope the rule to production hosts)
level: high

For monitoring, run the rules back over your logs to November 18, 2026, the day the first fix shipped, since Drupal says exploitation started as early as the next evening. Also check by hand that user 1 and the administrator list look right, and that the installer state looks finished after updates (Hive Security suggests drush state:get install_task, which should return done). Keep the installer rules on after you patch: any later hit means someone is testing for the next installer bug.

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

My take

I think the patch is the least interesting part of this story. The real bug is cultural: a production web app that keeps a “build me a new site” endpoint online forever, guarded only by a runtime check that says “looks installed to me”. Searchlight fooled that check with a briefly unavailable database; the second advisory fooled it with state the first fix never imagined. A third bypass would not surprise me. A blocked URL doesn’t care about clever state.

So my first action on any Drupal estate today is the web server rule, not the upgrade. It takes minutes, it covers end-of-life sites that will never get a patch, and it protects you from whatever the next installer bug turns out to be. I’d also like to see Drupal block the installer by default once a site is installed. Leaving it to a docs page invites sites to skip it.

The underrated detail is the update hook. Pipelines that ship code and leave drush updatedb as a manual step will show the patched version and stay vulnerable. On a fleet, check that the hook ran, not just the version.

Finally, the speed. An AI scanner found the first bug, two human researchers found it independently, and attackers used it about a day after the fix. With a gap that short, “we patch Drupal monthly” is not a plan for highly critical core advisories.

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