VeriKQL by Kaushik Saha

T1552 Unsecured Credentials

Credential Accesson attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0412 Detect Access or Search for Unsecured Credentials Across Platforms

AN1153 Windows

Unusual access to bash history, registry credentials paths, or private key files by unauthorized or scripting tools, with correlated file and process activity.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SysmonEventCode=11
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (11)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (11)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:SecurityEventCode=4688
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4688)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SysmonEventCode=13, 14
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (13, 14)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (13, 14)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

AN1154 Linux

Reading of sensitive files like .bash_history, /etc/shadow, or private key directories by unauthorized users or unusual processes.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLopen/read system calls to ~/.bash_history or /etc/shadowNot mapped to Sentinel yet.
auditd:SYSCALLexecution of tools like cat, grep, or awk on credential filesNot mapped to Sentinel yet.

AN1155 macOS

Unusual access to ~/Library/Keychains, ~/.bash_history, or Terminal command history by unauthorized processes or users.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogread access to ~/Library/Keychains or history files by terminal processesNot mapped to Sentinel yet.
macos:unifiedlogexecution of 'security', 'cat', or 'grep' commands accessing credential storageNot mapped to Sentinel yet.

AN1156 SaaS

Unusual web-based access or API scraping of password managers, single sign-on sessions, or credential sync services via browser automation or anomalous API tokens.

MITRE log sourceIn Microsoft Sentinel
saas:googleworkspaceAccessed third-party credential management serviceNot mapped to Sentinel yet.
saas:zoomunusual web session tokens and automation patterns during loginNot mapped to Sentinel yet.

AN1157 Identity Provider

Unauthorized API or console calls to retrieve or reset password credentials, download key material, or modify SSO settings.

MITRE log sourceIn Microsoft Sentinel
azure:signinlogsReset password or download key from portal
  • Microsoft Entra ID → SigninLogs
    SigninLogs
  • Microsoft Entra ID → AADNonInteractiveUserSignInLogs
    AADNonInteractiveUserSignInLogs
  • Microsoft Entra ID → AADServicePrincipalSignInLogs
    AADServicePrincipalSignInLogs
  • Microsoft Entra ID → AADManagedIdentitySignInLogs
    AADManagedIdentitySignInLogs
AWS:CloudTrailGetSecretValueNot mapped to Sentinel yet.

AN1158 Containers

Access to container image layers or mounted secrets (e.g., Docker secrets) by processes not tied to entrypoint or orchestration context.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLread of /run/secrets or docker volumes by non-entrypoint processNot mapped to Sentinel yet.
containerd:Eventsunusual process spawned from container image contextNot mapped to Sentinel yet.

AN1159 Network Devices

Use of configuration backup utilities or CLI access to dump plaintext passwords, local user hashes, or SNMP strings.

MITRE log sourceIn Microsoft Sentinel
linux:syslogCLI access to 'show running-config', 'show password', or 'cat config.txt'Not mapped to Sentinel yet.
NSM:Flowlarge transfer from management IPs to unauthorized hostNot mapped to Sentinel yet.

Content Hub rules tagged with it (53)

Showing 25 of 53.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1552 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

55 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Showing 25 of 55: stable rules first, then by level.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

Sub-techniques

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.