GenAI Process Accessing Sensitive Files
Detects when GenAI tools access sensitive files such as cloud credentials, SSH keys, browser password databases, or shell configurations. Attackers leverage GenAI agents to systematically locate and exfiltrate…
Description
Detects when GenAI tools access sensitive files such as cloud credentials, SSH keys, browser password databases, or shell configurations. Attackers leverage GenAI agents to systematically locate and exfiltrate credentials, API keys, and tokens. Access to credential stores (.aws/credentials, .ssh/id_*) suggests harvesting, while writes to shell configs (.bashrc, .zshrc) indicate persistence attempts. Note: On linux only creation events are available. Access events are not yet implemented.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 4 ATT&CK techniques it maps to.
- Log source category
- event_index
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| atlas.mitre.org/techniques/AML.T0055 | Only this detection cites it |
| atlas.mitre.org/techniques/AML.T0085 | Only this detection cites it |
| atlas.mitre.org/techniques/AML.T0085.001 | Only this detection cites it |
| glama.ai/blog/2025-11-11-the-lethal-trifecta-securing-model-context-protocol-against-data-flow-attacks | 4 |
| specterops.io/blog/2025/11/21/an-evening-with-claude-code | 2 |
| www.elastic.co/security-labs/elastic-advances-llm-security | 21 |
From the source
- At source
- Open at source
- Upstream identifier
- c0136397-f82a-45e5-9b9f-a3651d77e21a
- Tagged by the source as
- Mitre Atlas: AML.T0055Mitre Atlas: AML.T0085Mitre Atlas: AML.T0085.001Data Source: Elastic DefendDomain: EndpointDomain: GenAINoise: MediumOS: LinuxOS: macOSOS: WindowsPerformance: NormalPlatform: LinuxPlatform: macOSPlatform: WindowsProfile: RecommendedResources: Investigation GuideRule Type: Event Correlation (EQL)Tactic: CollectionTactic: Credential AccessThreat: Unauthorized AI UsageUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 2, 2026
- Version
- 4