- How do SOC analysts detect Unsecured Credentials?
- Detection centers on XDR, SIEM telemetry for the credential access phase of the attack. Monitor for execution of tools and commands that search for credential patterns in files, including grep and findstr commands targeting keywords like password, passwd, secret, token, and api_key across file system paths. Alert on access to CI/CD configuration files, Docker environment files, Kubernetes secrets, and cloud provider credential files from processes other than the legitimate application or administrator tools that normally access them.
- What does a Unsecured Credentials alert look like?
- A representative XDR detection is "Credential Search Pattern in Configuration Files" (high severity): PowerShell command executed searching for credential patterns: Get-ChildItem -Recurse | Select-String -Pattern "password=|passwd=|pwd=" targeted at C:\inetpub\, C:\Program Files\, and shared network drives. The search returned 47 configuration files containing plaintext credentials for database connections, API services, and remote management interfaces. These credentials were subsequently accessed and compiled into a single file.
- Which tools detect Unsecured Credentials, and how can I practice?
- Unsecured Credentials (T1552) is best surfaced with XDR, SIEM telemetry, which exposes the credential access signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.