Credentials In Files
https://attack.mitre.org/techniques/T1552/001/
ATT&CK ID: T1552.001
Permissions Required: Various
Description
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials. These can be files created by users to store their own credentials, shared credential stores for a group of individuals, configuration files containing passwords for a system or service, or source code/binary files containing embedded passwords.
It is possible to extract passwords from backups or saved virtual machines through OS Credential Dumping. Passwords may also be obtained from Group Policy Preferences stored on the Windows Domain Controller.
Techniques
CMD
Empire
Metasploit
PowerShell
SessionGopher
Mitigation
Auditing
Through the same or similar methods used in discovery of credentials within files, defenders can identify credential information left on systems and file shares.
User Training
It is difficult to enact technical controls that mitigate the issue of unsecured credentials within files. Users often leave excel spreadsheets full of passwords on shares and desktops without any protection mechanisms.
It is paramount as a preventative measure to provide end users with training on how to securely store credentials and to understand how unsecured credentials can lead to further compromise of systems and data.
Last updated