Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

An Elastic Security Labs diagram of AI security detection coverage in Elastic 9.6, showing three places threats live (developer endpoints, AI platforms and the cloud control plane), the telemetry collected from each, the prebuilt SIEM rules mapped to MITRE ATT&CK and MITRE ATLAS, and response actions.
Image: Elastic Security Labs (fair use), AI security detection coverage in Elastic 9.6, from its Nov. 23, 2026 post.

Detection

Elastic Will Ship 143 Detection Rules for AI Agents and Model Platforms, Flagging Coding Agents Launched With Approvals Switched Off, Malicious MCP Servers, Secrets Pasted Into Prompts and Stolen Keys Running Models on Someone Else's Bill

Elastic Security Labs says its 9.6 release carries 143 prebuilt SIEM rules for AI security across Amazon Bedrock, ChatGPT Enterprise, Anthropic, Vertex AI and Microsoft Foundry, plus endpoint rules that can kill a coding agent's process mid-attack. The post is also a map of what each provider's logs can and cannot show a SOC.

Ava Okello, DetectionLondon7 min read

LONDON - The cases that shaped the rule set are already familiar to anyone who works near developers. In August 2025, malicious versions of the Nx build tool used a post-install script to collect credentials and start the AI coding command line tools installed on the machine with their safety checks bypassed, to help find sensitive files. An npm package posing as a Postmark MCP server, postmark-mcp version 1.0.16, copied every outgoing email to an attacker. A compromised release of the Amazon Q Developer extension carried instructions telling the agent to delete local files and cloud resources, although AWS said the payload failed on a syntax error.

Elastic Security Labs says its answer is 143 prebuilt detection rules for AI security that will ship with Elastic 9.6. In a post published on Monday, Mika Ayenson laid out what the rules cover: coding agents hijacked into running attacker commands, malicious Model Context Protocol servers, credentials pasted into prompts, jailbreaks, guardrail tampering and stolen API keys used to run models at someone else's expense. The release and timing of the features remain at Elastic's discretion, the company noted.

"A coding agent runs whatever its context tells it to run," the post says. For a SOC, the practical value of the publication goes beyond one vendor's content pack. It names the rules, the log sources each one needs and the gaps that come from what each AI provider chooses to log, which is a checklist any team can hold its own coverage against.

Three layers, three kinds of telemetry

Elastic organizes the rules around where AI risk lives. A coding agent runs on a developer's laptop with the developer's shell, files and cloud keys. The models it calls run on an AI platform, where prompts, admin actions and connector activity are logged. The keys, guardrails and managed agents behind those models are provisioned through a cloud control plane.

By source, the 143 SIEM rules break down as 38 for Amazon Bedrock, 34 for OpenAI ChatGPT Enterprise, 29 for Anthropic, 18 for the endpoint, 14 for Google Cloud Vertex AI and 10 for Microsoft Foundry and Azure OpenAI. The endpoint rules use Elastic Defend process, file, network and DNS events, and several also accept Sysmon, SentinelOne, Microsoft Defender XDR and Auditd data. AWS CloudTrail drives the Bedrock and AgentCore control plane rules. Rules that inspect prompt and response content need prompt logging turned on in the provider; the rest run from default audit streams.

The rules run in two engines. Prebuilt SIEM rules run on a schedule in Kibana against indexed data and correlate across sources. Elastic Defend behavior rules run on the host against live events, keep working when the machine is offline, and in prevent mode can kill the offending process before an action completes. All 143 SIEM rules map to MITRE ATLAS techniques alongside MITRE ATT&CK.

How the agent was started, and what it started

The first group of rules looks at the agent itself. One, GenAI CLI Started with Unsafe Permission Bypass, flags agents launched with flags such as --dangerously-skip-permissions, --yolo or --dangerously-bypass-approvals-and-sandbox, the route the Nx malware took. Another, Potential Prompt Injection Coercing Shell Execution, fires when a shell starts from a command line that contains instruction-override or jailbreak phrasing. Others cover destructive AWS CLI commands run by an agent.

An Elastic Security alert titled GenAI CLI Started with Unsafe Permission Bypass, medium severity, with a rule description explaining that GenAI agent CLIs started with permission-bypass or auto-approval flags disable human-in-the-loop guardrails, and a MITRE ATT&CK mapping to Defense Impairment.
Image: Elastic Security Labs (fair use), an alert raised when a coding agent CLI was launched with approvals disabled.

On the endpoint, a behavior rule called Persistence via GenAI Tool kills a process started by a coding agent when it writes a LaunchAgent, LaunchDaemon, Startup folder item, rc.local or sudoers entry. A second, Cursor Arbitrary Code Execution via PHP, targets a booby-trapped repository. Elastic notes that Cursor ships with Visual Studio Code's Workspace Trust turned off by default, so a malicious project can run code the moment it is opened; the rule kills the shell, and Cursor itself, when Cursor runs a PHP script supplied by the project's .vscode configuration.

Credentials in files and in prompts

Agents run with the developer's access to cloud credentials, SSH keys, keychains and browser stores, and users routinely paste secrets into prompts. GenAI Process Accessing Sensitive Files detects AI tools such as Claude Code and Cursor opening those files. Elastic acknowledges that agents have legitimate reasons to touch some of them, which is why the alert carries the full process lineage for triage.

An Elastic Security alert titled GenAI Process Accessing Sensitive Files, high severity, raised when Cursor.exe opened a cloud credentials file, with threat mappings to Credential Access, Collection and Persistence techniques.
Image: Elastic Security Labs (fair use), an alert raised when Cursor opened a cloud credentials file.

At the prompt level, rules look for credentials in Bedrock prompts or completions, with matching rules for Vertex AI, Microsoft Foundry and ChatGPT Enterprise, and for AgentCore runtime prompts that ask an agent to read instance metadata or credential files. Separate rules watch for persistent API access, such as IAM credentials added to a Bedrock API key phantom user or a new Anthropic admin API key.

The agent's supply chain

An agent's MCP servers, skills, hooks and instruction files decide what it does in every future session, so a single malicious entry gives an attacker persistence that looks like an ordinary configuration change. That, Elastic says, is exactly how postmark-mcp worked. Unusual Process Modifying GenAI Configuration File flags unexpected processes writing to files such as .cursor/mcp.json, .codex/hooks.json and Claude SKILL.md files. A building block rule records every process an MCP server starts, for correlation and hunting, and platform rules catch a new Anthropic MCP server or an unusual Codex plugin installed in ChatGPT Enterprise.

An Elastic Security alert titled Unusual Process Modifying GenAI Configuration File, medium severity, raised when an unexpected process wrote to a Codex configuration file, with mappings to persistence and defense evasion techniques.
Image: Elastic Security Labs (fair use), an alert raised when an unexpected process wrote to a Codex configuration file.

Jailbreaks, guardrails and LLMjacking

Platform rules use providers' own guardrail verdicts and the prompt text. They flag Bedrock invocations made without guardrails by a single user over a session, repeated guardrail violations, jailbreak heuristics on Vertex AI, Foundry and ChatGPT Enterprise, guardrails that are deleted or weakened, Vertex AI safety filters set to BLOCK_NONE, and attempts to disable Bedrock model invocation logging or Anthropic's Compliance API logging.

For managed agents with real tools and IAM roles, one rule fires when a Bedrock agent calls execution-capable tools, and another when an AgentCore execution role's credentials are used from outside the agent's runtime. For LLMjacking, in which stolen AI credentials are resold or used to run models at the victim's expense, the rules look for model enumeration followed by invocation with a long-term key, high-frequency probing of a single model, sudden request and token spikes on Vertex AI and Foundry, and a deleted Anthropic spend limit. ChatGPT Enterprise connector rules watch for Gmail messages sent through a connector and bursts of Google Drive downloads, and endpoint rules flag connections to common model endpoints and Ollama APIs reached from outside the network.

Where the logs run out

The most useful page for a SOC may be Elastic's coverage matrix. Bedrock is the most complete column, the post says, because it exposes invocation logs, guardrail verdicts, AgentCore runtime logs and CloudTrail. The Anthropic audit logs Elastic ingests record administrative and account activity but not prompt content, so content-level rules apply only to Bedrock, Vertex AI, Foundry and ChatGPT Enterprise. "Where a cell is empty, the gap usually reflects the data that the provider exposes rather than a choice on our side," the post says.

An Elastic Security Labs matrix titled Detection parity across AI platforms, showing prebuilt SIEM rule coverage across 11 threat categories, including secrets in prompts, jailbreak attempts, guardrail tampering, audit logging disabled, LLMjacking, agents and MCP, and data exfiltration, for Amazon Bedrock, Vertex AI, Microsoft Foundry, ChatGPT Enterprise and Anthropic.
Image: Elastic Security Labs (fair use), prebuilt SIEM rule coverage by threat category and AI platform in Elastic 9.6.

Elastic's guidance on what to do with the alerts is the standard playbook applied to a new kind of process tree: run endpoint rules in prevent mode, use the lineage to tell whether a human, an agent or a package install started the activity, group related alerts so that an agent reading credentials followed by a cloud API call from a new location reads as one incident, let AI alerts raise the risk score of the developer's host and user, and add exceptions for approved agents and MCP servers.

For teams that do not run Elastic, the post's rule names and log requirements still work as a gap analysis. The questions are simple: whether prompt logging is on at each provider the company uses, whether endpoint telemetry records which process launched the agent and with what flags, and whether anyone would notice a write to an agent's MCP configuration file.

About the Author

Ava Okello

Ava Okello covers detection engineering, EDR telemetry, and SOC hunting for SOCtember from London.

Related stories

Detection desk