Exfiltration (TA0010)(external, opens in a new tab or window)
Lateral Movement (TA0008)(external, opens in a new tab or window)
openai_chatgpt_enterprise(external, opens in a new tab or window)
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).