Detections · nt/ag/pack · BIOC ← Rules of the day
Cortex XDR / XSIAM BIOC

HexStrike Server or MCP Client Process

Detects the HexStrike tool server, its MCP client, and tools started by the server. Adapted from the ThreatDefence Sigma rule (MIT licence).

Experimental rule, translated automatically from the XQL query: one BIOC per event type. Create each BIOC disabled, test it, then enable it. DRL 1.1 license.

Two ways to add it

  1. By hand: Detection Rules → BIOC → Add BIOC, XQL mode, paste the query below (one per BIOC), then set the name, type, severity and ATT&CK shown.
  2. By API: download the API file and push it with push_bioc.py (Standard API key, BIOCs created disabled). The Import Rules dialog only accepts files exported by Cortex: this file is not meant for it.
TB pack-agentic-frameworks - HexStrike Server or MCP Client Process
dataset = xdr_data
| filter event_type = ENUM.PROCESS and (agent_os_type = "AGENT_OS_LINUX" and ((action_process_image_command_line contains "hexstrike_server.py" or action_process_image_command_line contains "hexstrike_mcp.py") or actor_process_command_line contains "hexstrike_server.py"))
Type EXECUTIONSeverity SEV_040_HIGHPROCESS_EXECUTION_EVENT T1059.004 - Command and Scripting Interpreter: Unix Shell