mirror of
https://github.com/valitydev/atomic-threat-coverage.git
synced 2024-11-06 17:45:23 +00:00
1.1 KiB
1.1 KiB
T1214 - Credentials in Registry
Description from ATT&CK
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
Atomic Tests
Atomic Test #1 - Enumeration for Credentials in Registry
Queries to enumerate for credentials in the Registry.
Supported Platforms: Windows
Run it with command_prompt
!
reg query HKLM /f password /t REG_SZ /s
reg query HKCU /f password /t REG_SZ /s