T1552: Unsecured Credentials
Tactics: Credential Access. Platforms: Windows, SaaS, IaaS, Linux, macOS, Containers, Network Devices, Office Suite, Identity Provider.
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
MITRE's description
Adversaries may search compromised systems to find and obtain insecurely stored credentials. These credentials can be stored and/or misplaced in many locations on a system, including plaintext files (e.g. Shell History), operating system or application-specific repositories (e.g. Credentials in Registry), or other specialized files/artifacts (e.g. Private Keys).
Telemetry that detects it
- Application Log Content
- Cloud Service Metadata
- Command Execution
- File Access
- File Creation
- Network Traffic Content
- Process Creation
- User Account Authentication
- Windows Registry Key Modification
Mitigations
- Limit Access to Resource Over Network
- Limit network access to sensitive services, such as the Instance Metadata API.
- Filter Network Traffic
- Limit access to the Instance Metadata API. A properly configured Web Application Firewall (WAF) may help prevent external adversaries from exploiting Server-side Request Forgery…
- User Training
- Ensure that developers and system administrators are aware of the risk associated with having plaintext passwords in software configuration files that may be left on endpoint…
- Operating System Configuration
- There are multiple methods of preventing a user's command history from being flushed to their .bash_history file, including use of the following commands: set +o history and set…
- Password Policies
- Use strong passphrases for private keys to make cracking difficult. Do not store credentials within the Registry.
D3FEND countermeasures
- D3-ANCI: Authentication Cache Invalidation (Evict)
- D3-CCSA: Credential Compromise Scope Analysis (Detect)
- D3-CH: Credential Hardening (Harden)
- D3-CR: Credential Revocation (Evict)
- D3-CRO: Credential Rotation (Harden)
- D3-CTS: Credential Transmission Scoping (Isolate)
- D3-DUC: Decoy User Credential (Deceive)
- D3-MFA: Multi-factor Authentication (Harden)
- D3-RIC: Reissue Credential (Restore)
Procedure examples
- Astaroth uses an external software known as NetPass to recover passwords.
- DarkGate uses NirSoft tools to steal user credentials from the infected machine. NirSoft tools are executed via process hollowing in a newly-created instance of vbc.exe or regasm.exe.
- Leviathan gathered credentials hardcoded in binaries located on victim devices during Leviathan Australian Intrusions.
- NPPSPY captures credentials by recording them through an alternative network listener registered to the mpnotify.exe process, allowing for cleartext recording of logon information.
6 documented uses in all. These are a sample.
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.