Detections · 2026-11-02 · linked to the day's edition ← 01/11Edition03/11 →
Detection rules

Hunt the edition's threats, ready to copy

For each critical or high topic of the edition, the rules published by vendors and researchers, and Threat Brief rules in Sigma, Cortex XQL and YARA, written from the behaviours described by the sources.

2Threat Brief
6published elsewhere
4topics covered
Threat Brief rules are experimental: checked automatically (Sigma parsed and converted to Splunk and Elasticsearch, YARA compiled, Cortex XQL reviewed but not executed), never tested on samples or on your data. Validate them in your environment before any production use; do not block on them alone.
Show Threat Brief rules
All formats 2 Sigma 2 Cortex XQL 0 YARA 0
The number is how many rules Threat Brief wrote in this format. Vendor and researcher rules are listed below.

By edition topic

CRITICAL

PHP2Shell: root on PAN-OS firewalls with exposed management interface, and new unpatched PHP RCE

Read in the edition →
SIGMA php-cgi.exe spawning cmd, PowerShell or certutil windows process_creation · high Threat Brief · experimental
tb-2026-11-02-php-cgi-exe-lan-ant-cmd-powershell-ou-certutil.ymlDownload Sigma rule
title: cmd or PowerShell spawned by php-cgi.exe (PHP2Shell)
id: ba48f153-1434-44be-a611-de4cdde132f3
status: experimental
description: php-cgi.exe or php.exe spawning cmd.exe, powershell.exe or certutil.exe, pattern observed following PHP2Shell exploitation on IIS.
references:
  - https://www.prophetsecurity.ai/blog/php2shell
  - https://www.trellix.com/blogs/research/php2shell-key-info-on-cve-2026-109618-and-cve-2026-109619/
author: Threat Brief (tlpclear.fr)
date: 2026-11-02
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - cve.2026-109618
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    ParentImage|endswith:
      - '\php-cgi.exe'
      - '\php.exe'
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\certutil.exe'
  condition: selection
falsepositives:
  - Administrative PHP scripts spawning system commands (scheduled tasks, CLI tools)
level: high
sigma: parsed and converted (splunk, lucene) ATT&CK T1190, T1505.003, T1059.001, T1059.003 Licence DRL 1.1

PHP2Shell post-exploitation under IIS (Prophet case: php-cgi.exe spawning cmd.exe under IUSR after a WerFault crash). False positives: Administrative PHP scripts executing commands.

Conversions
splunk
ParentImage IN ("*\\php-cgi.exe", "*\\php.exe") Image IN ("*\\cmd.exe", "*\\powershell.exe", "*\\pwsh.exe", "*\\certutil.exe")
lucene
(ParentImage:(*\\php\-cgi.exe OR *\\php.exe)) AND (Image:(*\\cmd.exe OR *\\powershell.exe OR *\\pwsh.exe OR *\\certutil.exe))
YARANo rule: PHP memory bug; no sources publish a specific webshell or binary for this edition.
CRITICAL

Ivanti Connect Secure: exploited chain, two new CVEs added to KEV

Read in the edition →
SIGMANo rule: In-memory chain without webshell; the X-DSCGI-PATH header does not appear in standard appliance web logs.
XQLNo rule: No Cortex XDR agent on the ICS appliance; downstream activity (LDAP, spraying) is not described with specific fields.
YARANo rule: Logic flaw, no files dropped (Volexity).
CRITICAL

GitLab CE/EE CVE-2026-97229: unauthenticated RCE exploited, targeting Alpine Linux

Read in the edition →
SIGMANo rule: No sources publish the exploit URI, log message or command (GitLab has not published CVE-specific indicators).
XQLNo rule: Sources only describe code execution as the git user within the Ruby process, without specific parent/child processes: rule too vague.
YARANo rule: Integer overflow in the regex engine: no malicious files described.
CRITICAL

Trojanised "Claude Code" extension on the Cursor marketplace: persistent SSH backdoor

Read in the edition →
SIGMA ~/.config/.smt and .smtk created file_event (Linux, macOS) · high Threat Brief · experimental
tb-2026-11-02-config-smt-et-smtk-cr-s.ymlDownload Sigma rule
title: .smt / .smtk files from the trojanised Claude Code extension backdoor
id: b6da2ef5-2f58-4443-b686-469168e677d8
status: experimental
description: Creation of ~/.config/.smt or ~/.config/.smtk, SSH backdoor artefacts from the trojanised anthropic.claude-code extension on the Cursor marketplace.
references:
  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
author: Threat Brief (tlpclear.fr)
date: 2026-11-02
tags:
  - attack.persistence
  - attack.t1098.004
logsource:
  category: file_event
detection:
  selection:
    TargetFilename|endswith:
      - '/.config/.smt'
      - '/.config/.smtk'
  condition: selection
falsepositives:
  - Legitimate tool using the same hidden filename, verify
level: high
sigma: parsed and converted (splunk, lucene) ATT&CK T1098.004, T1564.001 Licence DRL 1.1

Backdoor disk artefacts reported by edition sources (immediate hunt recommended). False positives: Legitimate tool using the same filename.

Conversions
splunk
TargetFilename IN ("*/.config/.smt", "*/.config/.smtk")
lucene
TargetFilename:(*\/.config\/.smt OR *\/.config\/.smtk)
YARANo rule: YARA rule from the 31/10 edition remains valid.
XQLNo rule: XQL queries from the 31/10 and 01/11 editions remain valid.

Published by vendors and researchers

RuleFormatAuthorLicence
Potential PHP2Shell Exploitation AttemptElastic (query)ElasticElastic License v2
Suspicious Command Execution via Web ServerElastic (EQL)ElasticElastic License v2
Unit 42 Managed Threat Hunting Queries (XQL) and Threat ID 543004 (Generic post-exploitation query, not specific to the CVEs according to Unit 42)XQLUnit 42 (Palo Alto Networks)link only
Volexity IOCs: Ivanti Connect Secure chain (2026-10-13)IOCVolexitylink only
Detections published with the 19.4.2 fix (Onigmo native worker crash, ci regexp guard rejection...)logique SIEMGitLablink only
KQL hunting queries (Defender XDR) for the trojanised Claude Code extensionKQLMicrosoft Threat Intelligencelink only

Get the Threat Brief rules of 2026-11-02

  • Sigma rules2 rules · one YAML file (.yml)
  • All rules.zip archive, one file per rule, licence included
  • Full dataJSON: rules, topics, references, ATT&CK

Automate and understand