T1552.001 Credentials In Files
Credential Accesson attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0307 Detect Access to Unsecured Credential Files Across Platforms
AN0856 Windows
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.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=11 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SecurityEventCode=4624, 4648 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
AN0857 Linux
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.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLopen/read of sensitive config or secret files | Not mapped to Sentinel yet. |
auditd:EXECVEgrep/cat/awk on files with password fields | Not mapped to Sentinel yet. |
linux:syslogauthentication success after file access | Not mapped to Sentinel yet. |
AN0858 macOS
Terminal-based grep or open of plist/config files containing credentials, correlated with Keychain or system login attempts.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedloggrep/cat on files matching credential patterns | Not mapped to Sentinel yet. |
macos:unifiedlogopen/read of *.plist or .env files | Not mapped to Sentinel yet. |
macos:unifiedlogKeychain or user login post-access | Not mapped to Sentinel yet. |
AN0859 Containers
Container processes accessing mounted secrets or configuration paths (e.g., /run/secrets, /mnt/config) followed by network access or credential use.
| MITRE log source | In Microsoft Sentinel |
|---|---|
ebpf:syscallsopen/read on secret mount paths | Not mapped to Sentinel yet. |
kubernetes:auditprocess execution involving curl, grep, or awk on secrets | Not mapped to Sentinel yet. |
cni:netflowoutbound connection to internal or external APIs | Not mapped to Sentinel yet. |
AN0860 IaaS
Access to local credential/config files (e.g., ~/.aws/credentials) followed by metadata API calls or cloud role assumptions.
| MITRE log source | In Microsoft Sentinel |
|---|---|
CloudTrail:GetObjectsensitive credential files in buckets or local image storage | Not mapped to Sentinel yet. |
AWS:CloudTrailcommand-line execution invoking credential enumeration | Not mapped to Sentinel yet. |
AWS:CloudTrailsudden role assumption after credential file access | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (3)
- CYFIRMA - Data Breach and Web Monitoring - Dark Web High Rule
- CYFIRMA - Data Breach and Web Monitoring - Dark Web Medium Rule
- Powershell Empire Cmdlets Executed in Command Line
How the Content Hub rules for T1552.001 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
24 SigmaHQ community rules name it in their tags.
- Potential Russian APT Credential Theft Activity
- Copy Passwd Or Shadow From TMP Path
- Credentials In Files
- Credentials In Files - Linux
- HackTool - Typical HiveNightmare SAM File Export
- HackTool - WinPwn Execution
- HackTool - WinPwn Execution - ScriptBlock
- Linux Recon Indicators
- Automated Collection Command Prompt
- Azure Key Vault Modified or Deleted
- Azure Keyvault Key Modified or Deleted
- Azure Keyvault Secrets Modified or Deleted
- Extracting Information with PowerShell
- Hidden Flag Set On File/Directory Via Chflags - MacOS
- Potential Password Reconnaissance Via Findstr.EXE
- Potentially Suspicious JWT Token Search Via CLI
- Remote File Download Via Findstr.EXE
- Cisco Collect Data
- Insensitive Subfolder Search Via Findstr.EXE
- Unattend.XML File Access Attempt
- Shai-Hulud Malicious GitHub Workflow Creation
- PUA - TruffleHog Execution
- PUA - TruffleHog Execution - Linux
- Potential PowerShell Console History Access Attempt via History File
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.