Unsecured Credentials: Credentials in Registry T1552.002

Tactic: Credential Access

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.

Events covered

7 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 10 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (15 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine5contains 4, in 1, match 1 query , \software\aerofox\foxmail\v3.1, \software\aerofox\foxmailpreview, \software\downloadmanager\passwords, (?i)KERNELBASE.dll
EventID3eq 34688, 1, 10, 4656, 4690
Image3ends_with 3\reg.exe, reg.exe
OriginalFileName2eq 2reg.exe
Type2eq 2
process_name2eq 1, match 1(?i).lsass.exe, reg.exe
registry_path2contains 2software\\microsoft\\windows nt\\currentversion\\winlogon
registry_value_name2eq 2AutoAdminLogon, DefaultPassword, DefaultUserName
Details1eq 1, is_not_null 11
ObjectName1ends_with 1\SAM
ObjectType1eq 1Key
Target_Process_ID1eq 10x4
dc_signature_id1eq 13
parameters1match 1(?i)gentilkiwi, (?i)granted_access=0x1010
parent_process_name1match 1(?i)(powershell.exe)|(cmd.exe)

Top indicator values (63 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
CommandLinecontains
query
24
CommandLinecontains
\software\aerofox\foxmail\v3.1
22
CommandLinecontains
\software\aerofox\foxmailpreview
22
CommandLinecontains
\software\downloadmanager\passwords
22
CommandLinecontains
\software\ftpware\coreftp\sites
22
CommandLinecontains
\software\incredimail\identities
22
CommandLinecontains
\software\martin prikryl\winscp 2\sessions
22
CommandLinecontains
\software\openssh\agent\keys
22
CommandLinecontains
\software\openvpn-gui\configs
22
CommandLinecontains
\software\orl\winvnc3\password
22
CommandLinecontains
\software\qualcomm\eudora\commandline
22
CommandLinecontains
\software\realvnc\winvnc4
22
CommandLinecontains
\software\rimarts\b2\settings
22
CommandLinecontains
\software\simontatham\putty\sessions
22
CommandLinecontains
\software\sota\ffftp
22
CommandLinecontains
\software\tightvnc\server
22
CommandLinecontains
\software\wow6432node\radmin\v3.0\server\parameters\radmin
22
CommandLinecontains
export
2
CommandLinecontains
save
22
CommandLinecontains
/f
13
CommandLinecontains
/s
18
CommandLinecontains
/t
12
CommandLinecontains
\software\mobatek\mobaxterm
1
CommandLinecontains
\software\mobatek\mobaxterm\
1
CommandLinecontains
\software\simontatham\putty\sshhostkeys
1
CommandLinecontains
\software\simontatham\putty\sshhostkeys\
1
EventIDeq
4688
2313
Imageends_with
\reg.exe
258
OriginalFileNameeq
reg.exe
242
registry_pathcontains
software\\microsoft\\windows nt\\currentversion\\winlogon
22

Exclusions (3 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinecontains
export
1
CommandLinecontains
save
1
Imageends_with
reg.exe
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 4 rules

Splunk 6 rules