Credential Access · ATT&CK v20
T1552.001 Unsecured Credentials: Credentials In Files
A Credential Access technique. Stealing account names, passwords, hashes, tickets and tokens.
- T1552.001Technique ID
- Credential AccessTactic
- 7Places taught
What the attacker does
The attacker searches files for passwords and keys left in them: configuration files, scripts, unattend.xml, .env files, notes. It is quiet and works with normal user rights.
How it shows up in the logs
- Commands such as findstr /si password, Select-String or grep -r password over shares or home folders.
- Access to known files: unattend.xml, web.config, .env, Groups.xml in SYSVOL.
- A spike of file reads over many shares from one account (file audit 4663, SharePoint FileAccessed).
Questions to ask in triage
- Which files did the account read, and which credentials were in them?
- Are those credentials still valid, and what can they reach?
- Why were they in a file at all: rotate them and move them to a vault.
Read T1552.001 on attack.mitre.org
A sub-technique of T1552.
Where you meet it in CyberSim
In the L3 war room
- The attacker read the VPN configuration and recovered the LDAP bind credential in cleartext: an account wrongly made a domain admin.
- The SQL service account password was read in cleartext from the application’s web.config connection string.
In the hands-on labs
A simulated machine in your browser.
In the cases
Part of the answer in 5 investigations, in these learning paths:
- This year’s attacks
- Network, proxy and DNS
- AI security
- Cloud and SaaS identity
- Linux monitoring
- Threat intelligence
Which case is not said here: finding it is the case.
More Credential Access techniques
- T1003.001 OS Credential Dumping: LSASS Memory
- T1003.003 OS Credential Dumping: NTDS
- T1003.006 OS Credential Dumping: DCSync
- T1110 Brute Force
- T1110.001 Brute Force: Password Guessing
- T1110.003 Brute Force: Password Spraying
- T1528 Steal Application Access Token
- T1539 Steal Web Session Cookie
- T1552.004 Unsecured Credentials: Private Keys
- T1555 Credentials from Password Stores
- T1555.003 Credentials from Password Stores: Credentials from Web Browsers
- T1557 Adversary-in-the-Middle
Source: MITRE ATT&CK T1552.001, tactic TA0006.