title: PHP2Shell - Web Worker Shell Followed by Account or Crontab Change
id: 19223809-a03f-4d3b-a0c7-90f4fedbe76a
status: experimental
description: |
  Temporal correlation: a shell or tool spawned by a PHP / web worker, followed within one hour on the same host
  by a user/group or crontab change by any account. Covers CISA's forensic triage persistence check for
  CVE-2026-109618 / CVE-2026-109619 (KEV, forensicTriage Yes). Behavioural only, no IOCs. UNVERIFIED FIELD:
  Hostname must be populated consistently in both base rules' events by your pipeline.
references:
  - https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
  - https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp
  - https://www.cisa.gov/news-events/alerts/2026/10/21/critical-vulnerabilities-php-require-immediate-patching
  - https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
author: Cybaverse
date: 2026-10-26
correlation:
  type: temporal_ordered
  rules:
    - php2shell_linux_php_worker_shell
    - php2shell_linux_account_or_cron_change
  group-by:
    - Hostname
  timespan: 1h
falsepositives:
  - Admin activity on a host shortly after a legitimate application exec
level: critical
