VeriKQL by Kaushik Saha

T1098 Account Manipulation

PersistencePrivilege Escalationon attack.mitre.org

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

How MITRE detects it

DET0096 Account Manipulation Behavior Chain Detection

AN0265 Windows

Account attribute changes (e.g., password set, group membership, servicePrincipalName, logon hours) correlated with unusual process lineage or timing, indicating privilege escalation or persistence via valid accounts.

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

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

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

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

AN0266 Linux

Use of native tools or scripting (e.g., `usermod`, `passwd`, `groupmod`) to escalate permissions or persist access on existing users, correlated with login or process events.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLusermod, groupmod, passwdNot mapped to Sentinel yet.
auditd:PATH/etc/passwd or /etc/group file writeNot mapped to Sentinel yet.

AN0267 macOS

Modifications to user accounts via `dscl`, `pwpolicy`, or System Preferences CLI (`sysadminctl`) that alter user groups, enable root, or bypass MDM restrictions.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogcom.apple.accountsd, com.apple.opendirectorydNot mapped to Sentinel yet.

AN0268 Identity Provider

Modifications to SSO/SAML user attributes (e.g., `isAdmin`, `role`, MFA bypass, App assignments) often through CLI, API, or rogue IdP apps.

MITRE log sourceIn Microsoft Sentinel
saas:oktaUser Attribute Modified / Role Assignment ChangedNot mapped to Sentinel yet.

AN0269 ESXi

Addition of new users or changes to role permissions (e.g., ReadOnly -> Admin) via API or vSphere Client, particularly from non-jumpbox IPs.

MITRE log sourceIn Microsoft Sentinel
esxi:vpxavim.SessionManager.login / vim.AccountManager.createUserNot mapped to Sentinel yet.

AN0270 SaaS

Role escalation (e.g., Editor → Owner) in cloud collaboration tools (Google Workspace, O365) or file sharing apps to maintain elevated access.

MITRE log sourceIn Microsoft Sentinel
m365:unifiedAdmin Activity > Role Change or Sharing Changeinterpreted
  • 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 (192)

Showing 25 of 192.

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

In Sigma rules

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

Showing 25 of 42: 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.