.. / windows-credential-hunting-files-history-dpapi
Star

This attack involves hunting for credentials left on disk by users or applications on a Windows system, often in cleartext or weakly protected forms. By enumerating files, PowerShell histories, configuration files, and encrypted credential stores, attackers can recover passwords for privilege escalation or lateral movement.

Command Reference: findstr, Get-Content (gc), PowerShell foreach/cat, Import-Clixml

Target: Windows systems with sensitive information in config files, unattended setup files, browser dictionaries, PowerShell histories, or exported PowerShell credentials

Command: Copy Extra code: Copy References:

https://attack.mitre.org/techniques/T1552/

https://posts.specterops.io/practical-dpapi-abuse-automation-60493c5be93c