OpenAI ChatGPT Enterprise Gmail Message Sent via Connector

Last updated 8 days ago on 2026-10-09
Created 8 days ago on 2026-10-09

About

Detects ChatGPT Enterprise Gmail connector `send_email` responses. Adversaries who abuse a linked Gmail connector after session compromise can exfiltrate data or perform lateral phishing by sending mail on behalf of the user. Draft-only activity (`create_draft`) is excluded.
Tags
Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionRule Type: ES|QLTactic: ExfiltrationTactic: Lateral MovementMitre Atlas: AML.T0053Mitre Atlas: AML.T0025Language: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Exfiltration (TA0010)(external, opens in a new tab or window)

Lateral Movement (TA0008)(external, opens in a new tab or window)

False Positive Examples
Users legitimately asking ChatGPT to send mail through an approved Gmail connector.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

openai_chatgpt_enterprise(external, opens in a new tab or window)

Query
text code block:
from logs-openai_chatgpt_enterprise.app_log-* metadata _id, _version, _index | where data_stream.dataset == "openai_chatgpt_enterprise.app_log" and openai_chatgpt_enterprise.app_log.app_name == "Gmail" and openai_chatgpt_enterprise.app_log.app_type == "SERVICE" and openai_chatgpt_enterprise.app_log.output is not null | eval Esql.gmail_action = field_extract(openai_chatgpt_enterprise.app_log.output, "response.action_name") | where Esql.gmail_action == "send_email" | keep _id, _version, _index, @timestamp, user.id, user.email, Esql.gmail_action, openai_chatgpt_enterprise.app_log.app_name, openai_chatgpt_enterprise.app_log.app_type, openai_chatgpt_enterprise.app_log.log_type, openai_chatgpt_enterprise.app_log.output, data_stream.*

Install detection rules in Elastic Security

Detect OpenAI ChatGPT Enterprise Gmail Message Sent via Connector in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).