EXPLORE
← Back to Explore
elasticmediumTTP

OpenAI ChatGPT Enterprise Unusual MCP App Activity

Detects the first time a ChatGPT Enterprise MCP app name is used by a given user email within an organization in the rule history window. MCP apps connect ChatGPT to external systems and can move organizational data into third-party tools. Alerting on first-seen organization, user, and app id triples highlights new or unexpected connector usage rather than every routine approved MCP request. App name is still required in the query for investigation context.

MITRE ATT&CK

collection

Detection Query

data_stream.dataset: "openai_chatgpt_enterprise.app_log" and
    openai_chatgpt_enterprise.app_log.app_type: "MCP" and
    organization.id: * and
    user.email: * and
    openai_chatgpt_enterprise.app_log.app_name: * and
    openai_chatgpt_enterprise.app_log.app_id: *

Author

Elastic

Created

2026/10/06

Data Sources

OpenAI ChatGPT Enterpriselogs-openai_chatgpt_enterprise.app_log-*

Tags

Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionUse Case: UEBAResources: Investigation GuideRule Type: New TermsTactic: CollectionMitre Atlas: AML.T0053
Raw Content
[metadata]
creation_date = "2026/10/06"
integration = ["openai_chatgpt_enterprise"]
maturity = "production"
updated_date = "2026/10/06"

[rule]
author = ["Elastic"]
description = """
Detects the first time a ChatGPT Enterprise MCP app name is used by a given user email within an organization in the rule
history window. MCP apps connect ChatGPT to external systems and can move organizational data into third-party tools.
Alerting on first-seen organization, user, and app id triples highlights new or unexpected connector usage rather than
every routine approved MCP request. App name is still required in the query for investigation context.
"""
false_positives = [
    """
    Approved MCP apps such as Slack or ticketing connectors generate routine traffic during normal work. First-seen
    alerts are common during onboarding when a user first uses an approved app.
    """,
]
from = "now-9m"
index = ["logs-openai_chatgpt_enterprise.app_log-*"]
language = "kuery"
license = "Elastic License v2"
name = "OpenAI ChatGPT Enterprise Unusual MCP App Activity"
note = """## Triage and analysis

### Investigating OpenAI ChatGPT Enterprise Unusual MCP App Activity

First-seen MCP app name for this `organization.id` and `user.email` within the rule history window. MCP apps can move organizational data
into third-party tools.

Escalate when the app is not in the approved inventory, the query looks like bulk data access, or the user recently
had suspicious authentication activity. Close as a false positive when the app is approved for that user.

#### Possible investigation steps

- Identify the user and app (`openai_chatgpt_enterprise.app_log.app_name`, `app_id`).
- Review `openai_chatgpt_enterprise.app_log.query` and conversation identifiers when present.
- Confirm whether the app is approved for the workspace and whether OAuth links for that app are expected.
- Correlate with app-auth link events, conversation shares, or file downloads from the same user nearby.

### False positive analysis

- Approved MCP apps generate routine request logs. First-seen alerts often reflect a user adopting an already-approved
  connector.

### Response and remediation

- Disable unauthorized MCP apps, revoke linked credentials, and review conversation context for sensitive data
  exposure.
"""
references = [
    "https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise",
    "https://platform.openai.com/docs/compliance",
]
risk_score = 47
rule_id = "05b8a893-4683-450f-984d-7b52ca2aa4dd"
setup = """## Setup

This rule requires the OpenAI ChatGPT Enterprise integration to collect compliance logs into Elasticsearch.

https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise
"""
severity = "medium"
tags = [
    "Domain: GenAI",
    "Platform: OpenAI",
    "Data Source: OpenAI ChatGPT Enterprise",
    "Service: OpenAI ChatGPT Enterprise",
    "Use Case: Threat Detection",
    "Use Case: UEBA",
    "Resources: Investigation Guide",
    "Rule Type: New Terms",
    "Tactic: Collection",
    "Mitre Atlas: AML.T0053",
]
timestamp_override = "event.ingested"
type = "new_terms"

query = '''
data_stream.dataset: "openai_chatgpt_enterprise.app_log" and
    openai_chatgpt_enterprise.app_log.app_type: "MCP" and
    organization.id: * and
    user.email: * and
    openai_chatgpt_enterprise.app_log.app_name: * and
    openai_chatgpt_enterprise.app_log.app_id: *
'''


[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1213"
name = "Data from Information Repositories"
reference = "https://attack.mitre.org/techniques/T1213/"


[rule.threat.tactic]
id = "TA0009"
name = "Collection"
reference = "https://attack.mitre.org/tactics/TA0009/"

[[rule.threat_mappings]]
framework = "MITRE ATLAS"
version = "2026.08"
[[rule.threat_mappings.threat]]
framework = "MITRE ATLAS"
[[rule.threat_mappings.threat.technique]]
id = "AML.T0053"
name = "AI Agent Tool Invocation"
reference = "https://atlas.mitre.org/techniques/AML.T0053/"


[rule.threat_mappings.threat.tactic]
id = "AML.TA0005"
name = "Execution"
reference = "https://atlas.mitre.org/tactics/AML.TA0005/"

[rule.investigation_fields]
field_names = [
    "@timestamp",
    "organization.id",
    "user.id",
    "user.email",
    "openai_chatgpt_enterprise.app_log.app_name",
    "openai_chatgpt_enterprise.app_log.app_id",
    "openai_chatgpt_enterprise.app_log.query",
]

[rule.new_terms]
field = "new_terms_fields"
value = ["organization.id", "user.email", "openai_chatgpt_enterprise.app_log.app_id"]
[[rule.new_terms.history_window_start]]
field = "history_window_start"
value = "now-10d"