Find sigma rule
Attack: Unsecured Credentials: Credentials in Registry
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
MITRE
Tactic
- credential-access
technique
- T1552.002
Test : Enumeration for Credentials in Registry
OS
- windows
Description:
Queries to enumerate for credentials in the Registry. Upon execution, any registry key containing the word “password” will be displayed.
Executor
command_prompt
Sigma Rule
- proc_creation_win_reg_enumeration_for_credentials_in_registry.yml (id: e0b0c2ab-3d52-46d9-8cb7-049dc775fbd1)