Elastic: 143 detection rules for AI agents and LLM platforms
Elastic 9.6 ships 143 prebuilt detection rules for AI agents, coding agents and LLM platforms, published in a public repository.
· Elastic Security Labs · Research by Mika Ayenson

Elastic 9.6 ships 143 SIEM detection rules tagged Domain: GenAI, covering hijacked coding agents, malicious MCP servers, LLMjacking and prompt injection. The rules are published in the public elastic/detection-rules repository.
01What happened
Elastic Security Labs announced on November 23, 2026 that Elastic 9.6 ships 143 SIEM detection rules tagged Domain: GenAI, in a post by Mika Ayenson. All 143 map to MITRE ATLAS and MITRE ATT&CK, and Elastic Defend adds on-host behavior rules alongside them. The SIEM rules live in the public elastic/detection-rules repository and the Defend rules in elastic/protections-artifacts.
02How it works
The rules read platform audit logs and endpoint telemetry rather than model internals, so they look for the actions that follow an attack. Covered behaviors include a coding agent launched with approval checks disabled, tampering with agent configuration, skills or hooks, LLMjacking with stolen API keys, and data exfiltration through AI connectors. A companion release adds four small classifiers that score prompts and responses at ingest, so only high-scoring events are passed to an LLM for a second check before alerting.
03Who is affected
Rule coverage splits across Amazon Bedrock with 38 rules, OpenAI ChatGPT Enterprise with 34, Anthropic with 29, endpoint sources with 18, Google Cloud Vertex AI with 14, and Microsoft Foundry with Azure OpenAI at 10. Elastic Defend covers coding agents including Claude Code, Cursor and Codex. The ingest classifiers need Elastic Stack 9.6 with a Platinum or trial subscription.
04What to do
Upgrade to Elastic 9.6, install the prebuilt rules, filter on the Domain: GenAI tag and enable the ones that match the data you already collect. Add the integrations for your AI platforms and turn on prompt logging where content-level detections are needed. Run Elastic Defend in prevent mode on developer endpoints, and tune exceptions for the agents and MCP servers you approve.
Sources 3 links, all fetched
- 1elastic.coElastic Security Labs
- 2elastic.coIngest Classifiers
- 3github.comDetection Rules Repo