Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

5 rules over 4 days · technique T1572 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
21/11 SIGMA Armory Castle post-exploitation commands on a BeyondTrust RS applianceVMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day high T1555 T1548 T1070.002 T1572
tb-2026-11-21-commandes-post-exploitation-d-armory-castle-sur-une-applianc.ymlDownload Sigma rule
title: Armory Castle post-exploitation commands on a BeyondTrust Remote Support appliance
id: aacfc826-4956-4232-8b96-02ec7c874cba
status: experimental
description: Detects the vault extraction with bt-secrets, the root shell copy named dbus-authd, the post_boot.d persistence script, log cleanup and the BARECLAW tunneler command line described by GTIG on BeyondTrust Remote Support appliances compromised through CVE-2026-102764.
references:
  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust
author: Threat Brief (tlpclear.fr)
date: 2026-11-21
tags:
  - attack.credential-access
  - attack.t1555
  - attack.privilege-escalation
  - attack.t1548
  - attack.defense-evasion
  - attack.t1070.002
  - attack.command-and-control
  - attack.t1572
  - cve.2026-102764
logsource:
  product: linux
  category: process_creation
detection:
  selection_vault:
    CommandLine|contains|all:
      - '/ns/sbin/bt-secrets get'
      - 'vault'
  selection_shell_copy:
    Image|endswith: '/dbus-authd'
  selection_persist_cleanup:
    CommandLine|contains:
      - 'zz-root-persist'
      - '/home/bomgar/sbin/post_boot.d'
      - 'rm -f /home/bomgar/log/bt-secrets.log'
  selection_tunnel:
    CommandLine|contains|all:
      - '--ws-path'
      - '--obfs'
      - '--token'
  condition: 1 of selection_*
falsepositives:
  - BeyondTrust support or maintenance scripts reading the vault (check the parent process and the time against a change ticket)
level: high
sigma: parsed and converted (splunk, lucene) linux process_creation (auditd, appliance syslog) Licence DRL 1.1

Vault read through bt-secrets, sh copied as dbus-authd, post_boot.d persistence, log wiping and the BARECLAW tunneler command line described by GTIG on BeyondTrust RS appliances compromised through CVE-2026-102764. False positives: BeyondTrust support or maintenance scripts reading the vault (check the parent process and a change ticket).

7 quotes from the sources
21/11 SIGMA Requests to Armory Castle webshell or tunnel paths on BeyondTrust RSVMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day high T1190 T1505.003 T1572
tb-2026-11-21-requ-tes-vers-les-chemins-du-webshell-ou-du-tunnel-d-armory-.ymlDownload Sigma rule
title: Requests to Armory Castle webshell or tunnel paths on BeyondTrust Remote Support
id: ad88a9de-a753-4791-80d8-3c5c69b47c95
status: experimental
description: Detects HTTP requests to the staging webshell, the SAWFLY webshell (mangoapi.php) or the BARECLAW WebSocket endpoint (/uidchanarge) that Armory Castle used on BeyondTrust Remote Support appliances after exploiting CVE-2026-102764, the entry point of its vCenter campaign.
references:
  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust
  - https://www.helpnetsecurity.com/2026/11/20/vmware-vcenter-zero-day-cve-2026-123890-exploited/
author: Threat Brief (tlpclear.fr)
date: 2026-11-21
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - attack.command-and-control
  - attack.t1572
  - cve.2026-102764
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains:
      - '/app_84304470'
      - '/mangoapi.php'
      - '/uidchanarge'
  condition: selection
falsepositives:
  - Unlikely; the BARECLAW WebSocket path is configurable, so its absence does not clear an appliance
level: high
sigma: parsed and converted (splunk, lucene) reverse proxy, WAF or web logs Licence DRL 1.1

HTTP requests to the staging webshell, the SAWFLY webshell (mangoapi.php) or the BARECLAW WebSocket endpoint (/uidchanarge) planted by Armory Castle on BeyondTrust Remote Support after CVE-2026-102764, the initial access of the vCenter campaign. False positives: Unlikely; the WebSocket path is configurable, so no match does not clear an appliance.

4 quotes from the sources
15/11 SIGMA SysMon task or reverse SSH tunnel from the trojanised Claude Code extension (Cursor)Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours high T1053.005 T1572 T1098.004
tb-2026-11-15-t-che-sysmon-ou-tunnel-ssh-inverse-de-l-extension-claude-cod.ymlDownload Sigma rule
title: Cursor trojanised Claude Code extension, SysMon task or reverse SSH tunnel
id: 0dc2e2ef-6902-4e4c-a857-dea895cb0309
status: experimental
description: Detects the scheduled task SysMon and the reverse SSH tunnel command line used by the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension served by the Cursor marketplace on 29 October 2026.
references:
  - https://cursor.com/blog/claude-code-extension-security-notice
  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
author: Threat Brief (tlpclear.fr)
date: 2026-11-15
tags:
  - attack.persistence
  - attack.t1053.005
  - attack.command-and-control
  - attack.t1572
logsource:
  category: process_creation
detection:
  selection_task:
    CommandLine|contains: 'schtasks /create /tn SysMon'
  selection_tunnel:
    CommandLine|contains: "-N -R '*:0:localhost:22'"
  condition: 1 of selection_*
falsepositives:
  - Administrator-created task genuinely named SysMon
  - Legitimate reverse SSH tunnels using the same remote forwarding syntax
level: high
sigma: parsed and converted (splunk, lucene) process_creation (Windows, macOS, Linux) Licence DRL 1.1

Process creation of the SysMon scheduled task or of the ssh -N -R '*:0:localhost:22' reverse tunnel described by Cursor for the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension. False positives: Administrator-created task genuinely named SysMon ; Legitimate reverse SSH tunnels using the same remote forwarding syntax.

2 quotes from the sources
03/11 SIGMA Reverse SSH tunnel to localhost:22 from Cursor or NodeTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor high T1572 T1098.004
tb-2026-11-03-tunnel-ssh-inverse-vers-localhost-22-depuis-cursor-ou-node.ymlDownload Sigma rule
title: Reverse SSH tunnel to localhost:22 spawned from Cursor or Node (weaponised Claude Code extension)
id: eb97060c-943d-42aa-b329-0cab9f65b68b
status: experimental
description: ssh process opening a reverse tunnel to local port 22, spawned by Cursor or Node, or targeting tunnel@134.209.82.225, matching the loader in anthropic.claude-code extension 2.1.312 and 2.1.313 from the Cursor marketplace.
references:
  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
  - https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/
author: Threat Brief (tlpclear.fr)
date: 2026-11-03
tags:
  - attack.command-and-control
  - attack.t1572
  - attack.persistence
  - attack.t1098.004
logsource:
  category: process_creation
detection:
  selection_ssh:
    Image|endswith:
      - '/ssh'
      - '\ssh.exe'
    CommandLine|contains: ' -R '
  selection_target:
    CommandLine|contains: 'localhost:22'
  selection_parent:
    ParentImage|contains:
      - 'Cursor'
      - 'node'
  selection_ioc:
    CommandLine|contains: 'tunnel@134.209.82.225'
  condition: (selection_ssh and selection_target and selection_parent) or selection_ioc
falsepositives:
  - Developers manually opening a reverse tunnel from the editor integrated terminal
level: high
sigma: parsed and converted (splunk, lucene) process_creation (Windows, macOS, Linux) Licence DRL 1.1

ssh -R to local port 22 spawned by the editor or Node, or targeting tunnel@134.209.82.225: backdoor tunnel from the weaponised extension. False positives: Reverse tunnel opened intentionally from the integrated terminal.

31/10 SIGMA ssh/autossh -R *:0:localhost:22 (trojanised Claude Code extension)Trojanised "Claude Code" extension on the Cursor marketplace: persistent SSH backdoor high T1572 T1098.004
tb-2026-10-31-ssh-autossh-r-0-localhost-22-extension-claude-code-pi-g-e.ymlDownload Sigma rule
title: Reverse SSH tunnel from trojanised Claude Code extension (Cursor)
id: 9f2989bf-f6e0-46fd-90db-e78371716124
status: experimental
description: Execution of ssh or autossh opening a reverse tunnel to local port 22, backdoor pattern of the anthropic.claude-code 2.1.312/2.1.313 extension from 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-10-31
tags:
  - attack.command-and-control
  - attack.t1572
  - attack.persistence
  - attack.t1098.004
logsource:
  category: process_creation
detection:
  selection_img:
    Image|endswith:
      - '/ssh'
      - '/autossh'
      - '\ssh.exe'
      - '\autossh.exe'
  selection_tunnel:
    CommandLine|contains|all:
      - '-R'
      - ':0:localhost:22'
  selection_ioc:
    CommandLine|contains: 'tunnel@134.209.82.225'
  condition: selection_img and (selection_tunnel or selection_ioc)
falsepositives:
  - Legitimate administrative or support reverse SSH tunnels exposing local sshd
level: high
sigma: parsed and converted (splunk, lucene) process_creation (Linux, macOS, Windows) Licence DRL 1.1

Detects the reverse SSH tunnel opened by the trojanised extension loader, or any ssh connection to tunnel@134.209.82.225. False positives: legitimate administrative reverse SSH tunnels.