{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":8,"rules":[{"id":"40cc4189-2c31-5666-8a63-ef55a4cf209e","date":"2026-11-26","format":"xql","title":"RedAmon Stack or Reverse Shell Tunnel on a Host","description":"Detects the RedAmon Docker stack being run (its container names, control script and sandbox servers) and the\ntunnels it opens for reverse shells: ngrok or chisel forwarding port 4444 to the Metasploit handler in its Kali\nsandbox. RedAmon is a penetration testing platform; on a host that is not a tester's, find out who installed it. Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"medium","attack":["T1059","T1572"],"references":["https://github.com/samugit83/redamon","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/redamon/sigma/process_creation/proc_creation_redamon_stack_or_tunnel.yml"],"falsepositives":["Penetration testers and students running RedAmon","Another tool that forwards port 4444 through ngrok or chisel, which is also worth a look"],"content":"// Threat Brief · RedAmon · RedAmon Stack or Reverse Shell Tunnel on a Host · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter ((action_process_image_command_line contains \"redamon-kali\" or action_process_image_command_line contains \"redamon-agent\" or action_process_image_command_line contains \"redamon-webapp\" or action_process_image_command_line contains \"redamon-recon-\" or action_process_image_command_line contains \"redamon-docker-broker\" or action_process_image_command_line contains \"/opt/mcp_servers/run_servers.py\" or action_process_image_command_line contains \"/opt/mcp_servers/tunnel_manager.py\" or action_process_image_command_line contains \"redamon.sh \") or action_process_image_command_line contains \"ngrok tcp 4444\" or (action_process_image_command_line contains \"chisel client\" and action_process_image_command_line contains \"R:4444:localhost:4444\"))\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"aacfc826-4956-4232-8b96-02ec7c874cba","date":"2026-11-21","format":"sigma","title":"Armory Castle post-exploitation commands on a BeyondTrust RS appliance","description":"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.","level":"high","attack":["T1555","T1548","T1070.002","T1572"],"references":["https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust"],"falsepositives":["BeyondTrust support or maintenance scripts reading the vault (check the parent process and a change ticket)"],"content":"title: Armory Castle post-exploitation commands on a BeyondTrust Remote Support appliance\nid: aacfc826-4956-4232-8b96-02ec7c874cba\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-21\ntags:\n  - attack.credential-access\n  - attack.t1555\n  - attack.privilege-escalation\n  - attack.t1548\n  - attack.defense-evasion\n  - attack.t1070.002\n  - attack.command-and-control\n  - attack.t1572\n  - cve.2026-102764\nlogsource:\n  product: linux\n  category: process_creation\ndetection:\n  selection_vault:\n    CommandLine|contains|all:\n      - '/ns/sbin/bt-secrets get'\n      - 'vault'\n  selection_shell_copy:\n    Image|endswith: '/dbus-authd'\n  selection_persist_cleanup:\n    CommandLine|contains:\n      - 'zz-root-persist'\n      - '/home/bomgar/sbin/post_boot.d'\n      - 'rm -f /home/bomgar/log/bt-secrets.log'\n  selection_tunnel:\n    CommandLine|contains|all:\n      - '--ws-path'\n      - '--obfs'\n      - '--token'\n  condition: 1 of selection_*\nfalsepositives:\n  - BeyondTrust support or maintenance scripts reading the vault (check the parent process and the time against a change ticket)\nlevel: high\n","topic":"VMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-21"},{"id":"ad88a9de-a753-4791-80d8-3c5c69b47c95","date":"2026-11-21","format":"sigma","title":"Requests to Armory Castle webshell or tunnel paths on BeyondTrust RS","description":"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.","level":"high","attack":["T1190","T1505.003","T1572"],"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/"],"falsepositives":["Unlikely; the WebSocket path is configurable, so no match does not clear an appliance"],"content":"title: Requests to Armory Castle webshell or tunnel paths on BeyondTrust Remote Support\nid: ad88a9de-a753-4791-80d8-3c5c69b47c95\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust\n  - https://www.helpnetsecurity.com/2026/11/20/vmware-vcenter-zero-day-cve-2026-123890-exploited/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-21\ntags:\n  - attack.initial-access\n  - attack.t1190\n  - attack.persistence\n  - attack.t1505.003\n  - attack.command-and-control\n  - attack.t1572\n  - cve.2026-102764\nlogsource:\n  category: webserver\ndetection:\n  selection:\n    cs-uri-stem|contains:\n      - '/app_84304470'\n      - '/mangoapi.php'\n      - '/uidchanarge'\n  condition: selection\nfalsepositives:\n  - Unlikely; the BARECLAW WebSocket path is configurable, so its absence does not clear an appliance\nlevel: high\n","topic":"VMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-21"},{"id":"4d0f4f23-ccec-4efa-90d0-525e5733f1c0","date":"2026-11-21","format":"xql","title":"BARECLAW tunnel, sh copied as dbus-authd or bt-secrets read (Cortex XDR)","description":"Process start carrying the BARECLAW command line (--ws-path, --obfs), the ingredi_ws binary, the sh copy named dbus-authd or the bt-secrets vault read, on a Linux host with a Cortex agent.","level":"high","attack":["T1572","T1548","T1555"],"references":["https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust"],"falsepositives":["Legitimate WebSocket proxies using similar options (check the binary hash and path)"],"content":"// Threat Brief 2026-11-21 · Armory Castle BeyondTrust tooling (CVE-2026-102764) · experimental\n// BARECLAW tunneler, sh copy named dbus-authd or bt-secrets vault read on a Linux host with a Cortex agent\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter (action_process_image_command_line contains \"--ws-path\" and action_process_image_command_line contains \"--obfs\") or action_process_image_name = \"ingredi_ws\" or action_process_image_name = \"dbus-authd\" or action_process_image_command_line contains \"/ns/sbin/bt-secrets get\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_path, action_process_image_command_line\n","topic":"VMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-21"},{"id":"0dc2e2ef-6902-4e4c-a857-dea895cb0309","date":"2026-11-15","format":"sigma","title":"SysMon task or reverse SSH tunnel from the trojanised Claude Code extension (Cursor)","description":"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.","level":"high","attack":["T1053.005","T1572","T1098.004"],"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/"],"falsepositives":["Administrator-created task genuinely named SysMon","Legitimate reverse SSH tunnels using the same remote forwarding syntax"],"content":"title: Cursor trojanised Claude Code extension, SysMon task or reverse SSH tunnel\nid: 0dc2e2ef-6902-4e4c-a857-dea895cb0309\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://cursor.com/blog/claude-code-extension-security-notice\n  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-15\ntags:\n  - attack.persistence\n  - attack.t1053.005\n  - attack.command-and-control\n  - attack.t1572\nlogsource:\n  category: process_creation\ndetection:\n  selection_task:\n    CommandLine|contains: 'schtasks /create /tn SysMon'\n  selection_tunnel:\n    CommandLine|contains: \"-N -R '*:0:localhost:22'\"\n  condition: 1 of selection_*\nfalsepositives:\n  - Administrator-created task genuinely named SysMon\n  - Legitimate reverse SSH tunnels using the same remote forwarding syntax\nlevel: high\n","topic":"Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-15"},{"id":"eb97060c-943d-42aa-b329-0cab9f65b68b","date":"2026-11-03","format":"sigma","title":"Reverse SSH tunnel to localhost:22 from Cursor or Node","description":"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.","level":"high","attack":["T1572","T1098.004"],"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/"],"falsepositives":["Reverse tunnel opened intentionally from the integrated terminal"],"content":"title: Reverse SSH tunnel to localhost:22 spawned from Cursor or Node (weaponised Claude Code extension)\nid: eb97060c-943d-42aa-b329-0cab9f65b68b\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\n  - https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-03\ntags:\n  - attack.command-and-control\n  - attack.t1572\n  - attack.persistence\n  - attack.t1098.004\nlogsource:\n  category: process_creation\ndetection:\n  selection_ssh:\n    Image|endswith:\n      - '/ssh'\n      - '\\ssh.exe'\n    CommandLine|contains: ' -R '\n  selection_target:\n    CommandLine|contains: 'localhost:22'\n  selection_parent:\n    ParentImage|contains:\n      - 'Cursor'\n      - 'node'\n  selection_ioc:\n    CommandLine|contains: 'tunnel@134.209.82.225'\n  condition: (selection_ssh and selection_target and selection_parent) or selection_ioc\nfalsepositives:\n  - Developers manually opening a reverse tunnel from the editor integrated terminal\nlevel: high\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-03"},{"id":"6e1c8d43-713d-41f9-9654-ae07d5aaeba7","date":"2026-10-31","format":"xql","title":"Traffic to 134.209.82.225 or ssh -R to localhost:22","description":"Cortex XDR endpoints connecting to the backdoor tunnel IP (ports 22 and 8099) or launching the reverse SSH tunnel described by Microsoft.","level":"high","attack":["T1572","T1071"],"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"],"falsepositives":["legitimate administrative reverse SSH tunnels"],"content":"// Threat Brief 2026-10-31 · trojanised Claude Code extension (Cursor) · experimental\n// Reverse SSH tunnel or traffic to 134.209.82.225 infrastructure (22, 8099)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter (event_type = ENUM.NETWORK and action_remote_ip = \"134.209.82.225\") or (event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START and action_process_image_name in (\"ssh\", \"autossh\", \"ssh.exe\") and action_process_image_command_line contains \":0:localhost:22\")\n| fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, action_process_image_command_line, action_remote_ip, action_remote_port\n| sort desc _time\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: persistent SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-10-31"},{"id":"9f2989bf-f6e0-46fd-90db-e78371716124","date":"2026-10-31","format":"sigma","title":"ssh/autossh -R *:0:localhost:22 (trojanised Claude Code extension)","description":"Detects the reverse SSH tunnel opened by the trojanised extension loader, or any ssh connection to tunnel@134.209.82.225.","level":"high","attack":["T1572","T1098.004"],"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"],"falsepositives":["legitimate administrative reverse SSH tunnels"],"content":"title: Reverse SSH tunnel from trojanised Claude Code extension (Cursor)\nid: 9f2989bf-f6e0-46fd-90db-e78371716124\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/\n  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-10-31\ntags:\n  - attack.command-and-control\n  - attack.t1572\n  - attack.persistence\n  - attack.t1098.004\nlogsource:\n  category: process_creation\ndetection:\n  selection_img:\n    Image|endswith:\n      - '/ssh'\n      - '/autossh'\n      - '\\ssh.exe'\n      - '\\autossh.exe'\n  selection_tunnel:\n    CommandLine|contains|all:\n      - '-R'\n      - ':0:localhost:22'\n  selection_ioc:\n    CommandLine|contains: 'tunnel@134.209.82.225'\n  condition: selection_img and (selection_tunnel or selection_ioc)\nfalsepositives:\n  - Legitimate administrative or support reverse SSH tunnels exposing local sshd\nlevel: high\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: persistent SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-10-31"}]}