Credentials in Registry - T1552.002 (341e222a-a6e3-4f6f-b69c-831d792b1580)
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:
reg query HKLM /f password /t REG_SZ /s
- Current User Hive:
reg query HKCU /f password /t REG_SZ /s
Cluster A | Galaxy A | Cluster B | Galaxy B | Level |
---|---|---|---|---|
Credentials in Registry - T1552.002 (341e222a-a6e3-4f6f-b69c-831d792b1580) | Attack Pattern | Unsecured Credentials - T1552 (435dfb86-2697-4867-85b5-2fef496c0517) | Attack Pattern | 1 |