Unsecured Credentials: Credentials in Registry

In Windows OS, adversaries may search the Registry on compromised systems for insecurely stored machine identities and 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 keys that have been stored for use by other programs or services. Sometimes these credentials are used for automatic logons.

Procedure Examples

Name Description
TrickBot

TrickBot retrieves PuTTY credentials and keys by querying the Software\SimonTatham\Putty\Sessions registry key [1]

Mitigations

This type of attack technique cannot be easily mitigated with preventive controls since it is based on the abuse of system features.

Detection

Monitor processes for applications that can be used to query the Registry, such as Reg, and collect command parameters that may indicate credentials are being searched. Correlate activity with related suspicious behavior that may indicate an active intrusion to reduce false positives.

References

Attachments

ID
VT0017.002
Sub-techniques
Tactic
Credential Access
Platforms
Windows
System Requirements
Ability to query some Registry locations depends on the adversary's level of access. User permissions are usually limited to access of user-related Registry keys.
Permissions Required
Administrator
User
Data Sources
Process command-line parameters
Process monitoring
Windows Registry
Version
1.0

Created: 27 December 2020

Last Modified: 27 December 2020