← Back to Explore
elasticmediumTTP
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.
Detection Query
from logs-openai_chatgpt_enterprise.audit_log-*
| where
data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
event.action == "file_download" and
user.id is not null
| stats
Esql.event_count = count(*),
Esql.file_id_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_id),
Esql.file_format_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_format),
Esql.source_ip_values = values(source.ip),
Esql.timestamp_first_seen = min(@timestamp),
Esql.timestamp_last_seen = max(@timestamp)
by user.id, user.email
| where Esql.event_count >= 30
| keep user.id, user.email, Esql.*
Author
Elastic
Created
2026/10/06
Data Sources
OpenAI ChatGPT Enterprise
References
Tags
Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionResources: Investigation GuideRule Type: ES|QLTactic: ExfiltrationMitre Atlas: AML.T0025
Raw Content
[metadata]
creation_date = "2026/10/06"
integration = ["openai_chatgpt_enterprise"]
maturity = "production"
updated_date = "2026/10/09"
[rule]
author = ["Elastic"]
description = """
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.
"""
false_positives = ["Users downloading many attachments during legitimate research or migration work."]
from = "now-24h"
interval = "1h"
language = "esql"
license = "Elastic License v2"
name = "OpenAI ChatGPT Enterprise High File Download Activity"
note = """## 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 = [
"https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise",
"https://platform.openai.com/docs/compliance",
]
risk_score = 47
rule_id = "a2977fac-7211-43a5-ba22-71c2f589bf86"
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",
"Resources: Investigation Guide",
"Rule Type: ES|QL",
"Tactic: Exfiltration",
"Mitre Atlas: AML.T0025",
]
timestamp_override = "event.ingested"
type = "esql"
query = '''
from logs-openai_chatgpt_enterprise.audit_log-*
| where
data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
event.action == "file_download" and
user.id is not null
| stats
Esql.event_count = count(*),
Esql.file_id_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_id),
Esql.file_format_values = values(openai_chatgpt_enterprise.audit_log.action_data.file_format),
Esql.source_ip_values = values(source.ip),
Esql.timestamp_first_seen = min(@timestamp),
Esql.timestamp_last_seen = max(@timestamp)
by user.id, user.email
| where Esql.event_count >= 30
| keep user.id, user.email, Esql.*
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1567"
name = "Exfiltration Over Web Service"
reference = "https://attack.mitre.org/techniques/T1567/"
[rule.threat.tactic]
id = "TA0010"
name = "Exfiltration"
reference = "https://attack.mitre.org/tactics/TA0010/"
[[rule.threat_mappings]]
framework = "MITRE ATLAS"
version = "2026.08"
[[rule.threat_mappings.threat]]
framework = "MITRE ATLAS"
[[rule.threat_mappings.threat.technique]]
id = "AML.T0025"
name = "Exfiltration via Cyber Means"
reference = "https://atlas.mitre.org/techniques/AML.T0025/"
[rule.threat_mappings.threat.tactic]
id = "AML.TA0010"
name = "Exfiltration"
reference = "https://atlas.mitre.org/tactics/AML.TA0010/"
[rule.alert_suppression]
group_by = ["user.id"]
missing_fields_strategy = "suppress"
[rule.investigation_fields]
field_names = [
"user.id",
"user.email",
"Esql.event_count",
"Esql.file_id_values",
"Esql.file_format_values",
"Esql.source_ip_values",
"Esql.timestamp_first_seen",
"Esql.timestamp_last_seen",
]
[rule.alert_suppression.duration]
unit = "h"
value = 24