Adversaries may search the Registry on compromised systems for insecurely stored credentials. The Windows Registry stores configuration information that can be used by the system or other programs. Adversaries may query the Registry looking for credentials and passwords that have been stored for use by other programs or services. Sometimes these credentials are used for automatic logons.

Example commands to find Registry keys related to password information: (Citation: Pentestlab Stored Credentials)

* Local Machine Hive: <code>reg query HKLM /f password /t REG_SZ /s</code>
* Current User Hive: <code>reg query HKCU /f password /t REG_SZ /s</code>
Credentials in Registry
source_name: mitre-attack  url: https://attack.mitre.org/techniques/T1552/002  external_id: T1552.002     source_name: Pentestlab Stored Credentials  description: netbiosX. (2017, April 19). Stored Credentials. Retrieved April 6, 2018.  url: https://pentestlab.blog/2017/04/19/stored-credentials/     