DET0307 / GUIDANCE
Detect Access to Unsecured Credential Files Across Platforms
Correlated file access to insecure credential files (e.g., *.env, *.xml, *.ps1) followed by suspicious process execution or authentication using retrieved credentials. Detected through Sysmon logs and Windows Security Event logs. File reads or process executions involving insecurely stored credential files (e.g., config files with password fields) by non-root or anomalous users followed by ssh authentication attempts. Terminal-based grep or open of plist/config files containing credentials, correlated with Keychain or system login attempts. Container processes accessing mounted secrets or configuration paths (e.g., /run/secrets, /mnt/config) followed by network access or credential use. Access to local credential/config files (e.g., ~/.aws/credentials) followed by metadata API calls or cloud role assumptions.
- Category
- Detection & response
- Version / scope
- ATT&CK Enterprise 20.1; object 1.0
- Affected / relevant technologies
- Enterprise systems
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Assess applicability to the documented environment and obtain authorization before any testing. This publisher reference is not a tested configuration or execution guide.
Potential impact
The publisher describes a mitigation or detection scope; applicability does not establish local protection or an incident.
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: ATT&CK Enterprise 20.1. Source checked: 2026-11-18.
Source object: x-mitre-detection-strategy--b34a9911-8261-45b4-af09-3885f9b82cc6. Object created: 2025-10-21T15:10:28.402Z. Object modified: 2026-05-12T16:34:50.688Z.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- Analytic 0856: Correlated file access to insecure credential files (e.g., *.env, *.xml, *.ps1) followed by suspicious process execution or authentication using retrieved credentials. Detected through Sysmon logs and Windows Security Event logs.
- Analytic 0857: File reads or process executions involving insecurely stored credential files (e.g., config files with password fields) by non-root or anomalous users followed by ssh authentication attempts.
- Analytic 0858: Terminal-based grep or open of plist/config files containing credentials, correlated with Keychain or system login attempts.
- Analytic 0859: Container processes accessing mounted secrets or configuration paths (e.g., /run/secrets, /mnt/config) followed by network access or credential use.
- Analytic 0860: Access to local credential/config files (e.g., ~/.aws/credentials) followed by metadata API calls or cloud role assumptions.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- See publisher mitigation relationships where available; local control effectiveness requires independent assessment.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Publisher analytics
Source excerpts and listed log sources describe the publisher's analytic references; they are not independently validated detection rules or evidence of operational coverage.
- AN0856 — Analytic 0856
Correlated file access to insecure credential files (e.g., *.env, *.xml, *.ps1) followed by suspicious process execution or authentication using retrieved credentials. Detected through Sysmon logs and Windows Security Event logs.
Publisher platforms: Windows.
Publisher log sources: WinEventLog:Sysmon / EventCode=11; WinEventLog:Sysmon / EventCode=1; WinEventLog:Security / EventCode=4624, 4648.
- AN0857 — Analytic 0857
File reads or process executions involving insecurely stored credential files (e.g., config files with password fields) by non-root or anomalous users followed by ssh authentication attempts.
Publisher platforms: Linux.
Publisher log sources: auditd:SYSCALL / open/read of sensitive config or secret files; auditd:EXECVE / grep/cat/awk on files with password fields; linux:syslog / authentication success after file access.
- AN0858 — Analytic 0858
Terminal-based grep or open of plist/config files containing credentials, correlated with Keychain or system login attempts.
Publisher platforms: macOS.
Publisher log sources: macos:unifiedlog / grep/cat on files matching credential patterns; macos:unifiedlog / open/read of *.plist or .env files; macos:unifiedlog / Keychain or user login post-access.
- AN0859 — Analytic 0859
Container processes accessing mounted secrets or configuration paths (e.g., /run/secrets, /mnt/config) followed by network access or credential use.
Publisher platforms: Containers.
Publisher log sources: ebpf:syscalls / open/read on secret mount paths; kubernetes:audit / process execution involving curl, grep, or awk on secrets; cni:netflow / outbound connection to internal or external APIs.
- AN0860 — Analytic 0860
Access to local credential/config files (e.g., ~/.aws/credentials) followed by metadata API calls or cloud role assumptions.
Publisher platforms: IaaS.
Publisher log sources: CloudTrail:GetObject / sensitive credential files in buckets or local image storage; AWS:CloudTrail / command-line execution invoking credential enumeration; AWS:CloudTrail / sudden role assumption after credential file access.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher-defined relationships
These directed relationships come from the pinned publisher data. They describe framework context, not guaranteed prevention, detection coverage or equivalence between entities.
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://attack.mitre.org/detectionstrategies/DET0307 — Publisher link; not separately HTTP-checked
- enterprise — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
