VeriKQL by Kaushik Saha

T1021.007 Cloud Services

Lateral Movementon attack.mitre.org

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

How MITRE detects it

DET0008 Behavioral Detection of Remote Cloud Logins via Valid Accounts

AN0017 IaaS

Cloud login from atypical geolocation or user-agent string, followed by resource enumeration or infrastructure manipulation using cloud CLI/API

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailConsoleLogin, AssumeRole, ListResourcesNot mapped to Sentinel yet.
gcp:auditNoneNot mapped to Sentinel yet.

AN0018 Identity Provider

Federated login using SSO or OAuth grant to cloud control plane, followed by directory or permissions enumeration

MITRE log sourceIn Microsoft Sentinel
Okta:SystemLoguser.authentication.sso, app.oauth.grantNot mapped to Sentinel yet.

AN0019 Office Suite

Login to M365 or Google Workspace from CLI tools or unexpected source IPs, followed by mailbox or document access

MITRE log sourceIn Microsoft Sentinel
m365:unifiedFileAccessed, MailboxAccessedinterpreted
  • 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.

m365:unifiedUserLoggedIninterpreted
  • 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.

AN0020 SaaS

Remote access to third-party SaaS with OAuth or API tokens post-initial compromise, followed by sensitive data access or configuration changes

MITRE log sourceIn Microsoft Sentinel
saas:authLoginSuccess, APIKeyUse, AdminActionNot mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

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

In Sigma rules

1 SigmaHQ community rule name it 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.