VeriKQL by Kaushik Saha

T1556 Modify Authentication Process

Credential AccessDefense ImpairmentPersistenceon attack.mitre.org

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

How MITRE detects it

DET0104 Detect Modification of Authentication Processes Across Platforms

AN0287 Windows

Detects modification of LSASS and authentication DLLs, suspicious registry changes to password filter packages, and abnormal process access to lsass.exe. Correlates registry modifications, DLL loads, and process handle access events.

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

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.

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

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

AN0288 Linux

Detects modification of PAM configuration files, unauthorized new PAM modules, and suspicious process execution accessing PAM-related binaries. Correlates file modification events in /etc/pam.d/ with process execution of unauthorized binaries.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLopen, writeNot mapped to Sentinel yet.
auditd:SYSCALLexecveNot mapped to Sentinel yet.

AN0289 macOS

Detects unauthorized additions or changes to /Library/Security/SecurityAgentPlugins and suspicious process activity attempting to hook authentication APIs. Correlates file modifications with abnormal plugin loads in authentication flows.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogSecurityAgentPlugins modificationNot mapped to Sentinel yet.
macos:osqueryprocess_openNot mapped to Sentinel yet.

AN0290 Identity Provider

Detects suspicious configuration changes in IdP authentication flows such as enabling reversible password encryption, MFA bypass, or policy weakening. Correlates policy modification events with unusual administrative activity.

MITRE log sourceIn Microsoft Sentinel
azure:policyUpdatePolicyinterpreted
  • Azure Activity → AzureActivity
    AzureActivity | where CategoryValue == "Policy"
  • Microsoft Entra ID → AuditLogs
    AuditLogs

Azure Policy events are in AzureActivity; Conditional Access policy changes are in AuditLogs.

m365:unifiedSet-ADUser OR Set-ADAccountControlinterpreted
  • 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.

AN0291 IaaS

Detects unauthorized changes to IAM authentication configurations such as disabling MFA, creating backdoor access keys, or altering trust policies. Correlates identity policy updates with unusual login behavior.

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailUpdateLoginProfileNot mapped to Sentinel yet.
AWS:CloudTrailUpdateAccountPasswordPolicyNot mapped to Sentinel yet.

Content Hub rules tagged with it (40)

Showing 25 of 40.

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

In Sigma rules

19 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

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.