Enumeration for Credentials in Registry

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\reg.exe" AND (COMMANDLINE contains " query " AND COMMANDLINE contains "/t " AND COMMANDLINE contains "REG_SZ" AND COMMANDLINE contains "/s")) AND ((COMMANDLINE contains "/f " AND COMMANDLINE contains "HKLM") OR (COMMANDLINE contains "/f " AND COMMANDLINE contains "HKCU") OR COMMANDLINE contains "HKCU\Software\SimonTatham\PuTTY\Sessions") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113