VeriKQL by Kaushik Saha

T1212 Exploitation for Credential Access

Credential Accesson attack.mitre.org

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

How MITRE detects it

DET0174 Detection Strategy for Exploitation for Credential Access

AN0493 Windows

Detects adversary exploitation of authentication mechanisms or credential validation processes. Defender perspective includes forged Kerberos tickets (e.g., MS14-068), abnormal LSASS memory access, replayed authentication attempts, and unexpected crashes of authentication services. Multi-event correlation ties exploitation attempts to abnormal process creation, service instability, and suspicious authentication events.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4768, 4769, 4770
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4768, 4769, 4770)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4768, 4769, 4770)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4768, 4769, 4770)

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

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

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

AN0494 Linux

Detects exploitation of authentication daemons or PAM modules. Defender perspective includes failed or anomalous PAM authentications, abnormal segfaults in authentication services, and exploitation attempts followed by successful unauthorized logins. Correlation identifies memory corruption, replay attempts, and privilege escalation tied to credential services.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecve: Suspicious binaries or scripts interacting with authentication binaries (sshd, gdm, login)Not mapped to Sentinel yet.
NSM:ConnectionsRepeated failed authentication attempts or replay patternsNot mapped to Sentinel yet.

AN0495 macOS

Detects exploitation attempts against macOS authentication frameworks such as OpenDirectory or Keychain. Defender perspective includes abnormal crashes in opendirectoryd, unauthorized Keychain API usage, and unusual sudo or login events. Correlation links unexpected process behavior with credential access anomalies.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogopendirectoryd crashes or abnormal authentication errorsNot mapped to Sentinel yet.
macos:osqueryexecve: Processes unexpectedly invoking Keychain or authentication APIsNot mapped to Sentinel yet.

AN0496 Identity Provider

Detects exploitation of vulnerabilities in cloud identity providers (IdPs) such as Azure AD or Okta for credential access. Defender perspective includes anomalous token creation or renewal, authentication bypass events, and API abuse to mint unauthorized tokens. Correlation highlights exploitation attempts tied to absent or inconsistent audit logs.

MITRE log sourceIn Microsoft Sentinel
azure:signinlogsTokenIssued, TokenRenewed: Unexpected or anomalous token issuance events
  • Microsoft Entra ID → SigninLogs
    SigninLogs
  • Microsoft Entra ID → AADNonInteractiveUserSignInLogs
    AADNonInteractiveUserSignInLogs
  • Microsoft Entra ID → AADServicePrincipalSignInLogs
    AADServicePrincipalSignInLogs
  • Microsoft Entra ID → AADManagedIdentitySignInLogs
    AADManagedIdentitySignInLogs
m365:unifiedConsentGranted: Abuse of application integrations to mint tokens bypassing MFAinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

Content Hub rules tagged with it (17)

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 T1212 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

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

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

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.