{"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":1,"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"}]}