OpenAI ChatGPT Enterprise High File Download Activity

Detects a high number of ChatGPT Enterprise file download audit events for the same user within a rolling 24-hour lookback. Bulk downloads can indicate staging of conversation attachments or workspace files for exfiltration.

Elastic rule (View on GitHub)

  1[metadata]
  2creation_date = "2026/10/06"
  3integration = ["openai_chatgpt_enterprise"]
  4maturity = "production"
  5updated_date = "2026/10/09"
  6
  7[rule]
  8author = ["Elastic"]
  9description = """
 10Detects a high number of ChatGPT Enterprise file download audit events for the same user within a rolling 24-hour
 11lookback. Bulk downloads can indicate staging of conversation attachments or workspace files for exfiltration.
 12"""
 13false_positives = ["Users downloading many attachments during legitimate research or migration work."]
 14from = "now-24h"
 15interval = "1h"
 16language = "esql"
 17license = "Elastic License v2"
 18name = "OpenAI ChatGPT Enterprise High File Download Activity"
 19note = """## Triage and analysis
 20
 21### Investigating OpenAI ChatGPT Enterprise High File Download Activity
 22
 23One user downloaded a large number of files in a rolling 24-hour window. Bulk downloads can stage conversation
 24attachments or workspace files for exfiltration.
 25
 26Escalate when there is no business justification, downloads coincide with unusual geo or user agents, or shares and deletions follow. Close as a false positive for approved research, migration, or export projects.
 27
 28#### Possible investigation steps
 29
 30- Review `Esql.event_count` and file identifiers associated with the user.
 31- Check nearby conversation or share activity and whether downloads align with an approved project.
 32- Compare source IP, geo, and user agent with the user's normal baseline.
 33- Determine where downloaded content may have been stored or forwarded.
 34
 35### False positive analysis
 36
 37- Users downloading many attachments during legitimate research, migration, or e-discovery work.
 38
 39### Response and remediation
 40
 41- Suspend access if the downloads appear unauthorized and inventory the downloaded content.
 42- Revoke sessions and review other exfiltration-oriented activity by the same user.
 43"""
 44references = [
 45    "https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise",
 46    "https://platform.openai.com/docs/compliance",
 47]
 48risk_score = 47
 49rule_id = "a2977fac-7211-43a5-ba22-71c2f589bf86"
 50setup = """## Setup
 51
 52This rule requires the OpenAI ChatGPT Enterprise integration to collect compliance logs into Elasticsearch.
 53
 54https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise
 55"""
 56severity = "medium"
 57tags = [
 58    "Domain: GenAI",
 59    "Platform: OpenAI",
 60    "Data Source: OpenAI ChatGPT Enterprise",
 61    "Service: OpenAI ChatGPT Enterprise",
 62    "Use Case: Threat Detection",
 63    "Resources: Investigation Guide",
 64    "Rule Type: ES|QL",
 65    "Tactic: Exfiltration",
 66    "Mitre Atlas: AML.T0025",
 67]
 68timestamp_override = "event.ingested"
 69type = "esql"
 70
 71query = '''
 72from logs-openai_chatgpt_enterprise.audit_log-*
 73| where
 74    data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
 75    event.action == "file_download" and
 76    user.id is not null
 77| stats
 78    Esql.event_count = count(*),
 79    Esql.file_id_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_id),
 80    Esql.file_format_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_format),
 81    Esql.source_ip_values = values(source.ip),
 82    Esql.timestamp_first_seen = min(@timestamp),
 83    Esql.timestamp_last_seen = max(@timestamp)
 84  by user.id, user.email
 85| where Esql.event_count >= 30
 86| keep user.id, user.email, Esql.*
 87'''
 88
 89
 90[[rule.threat]]
 91framework = "MITRE ATT&CK"
 92[[rule.threat.technique]]
 93id = "T1567"
 94name = "Exfiltration Over Web Service"
 95reference = "https://attack.mitre.org/techniques/T1567/"
 96
 97
 98[rule.threat.tactic]
 99id = "TA0010"
100name = "Exfiltration"
101reference = "https://attack.mitre.org/tactics/TA0010/"
102[[rule.threat_mappings]]
103framework = "MITRE ATLAS"
104version = "2026.08"
105[[rule.threat_mappings.threat]]
106framework = "MITRE ATLAS"
107[[rule.threat_mappings.threat.technique]]
108id = "AML.T0025"
109name = "Exfiltration via Cyber Means"
110reference = "https://atlas.mitre.org/techniques/AML.T0025/"
111
112
113[rule.threat_mappings.threat.tactic]
114id = "AML.TA0010"
115name = "Exfiltration"
116reference = "https://atlas.mitre.org/tactics/AML.TA0010/"
117
118[rule.alert_suppression]
119group_by = ["user.id"]
120missing_fields_strategy = "suppress"
121
122[rule.investigation_fields]
123field_names = [
124    "user.id",
125    "user.email",
126    "Esql.event_count",
127    "Esql.file_id_values",
128    "Esql.file_format_values",
129    "Esql.source_ip_values",
130    "Esql.timestamp_first_seen",
131    "Esql.timestamp_last_seen",
132]
133
134[rule.alert_suppression.duration]
135unit = "h"
136value = 24

Triage and analysis

Investigating OpenAI ChatGPT Enterprise High File Download Activity

One user downloaded a large number of files in a rolling 24-hour window. Bulk downloads can stage conversation attachments or workspace files for exfiltration.

Escalate when there is no business justification, downloads coincide with unusual geo or user agents, or shares and deletions follow. Close as a false positive for approved research, migration, or export projects.

Possible investigation steps

  • Review Esql.event_count and file identifiers associated with the user.
  • Check nearby conversation or share activity and whether downloads align with an approved project.
  • Compare source IP, geo, and user agent with the user's normal baseline.
  • Determine where downloaded content may have been stored or forwarded.

False positive analysis

  • Users downloading many attachments during legitimate research, migration, or e-discovery work.

Response and remediation

  • Suspend access if the downloads appear unauthorized and inventory the downloaded content.
  • Revoke sessions and review other exfiltration-oriented activity by the same user.

References

Related rules

to-top