Entra ID Sharepoint or OneDrive Accessed by Unusual Client
Identifies when an application accesses SharePoint Online or OneDrive for Business for the first time in the tenant within a specified timeframe. This detects successful OAuth phishing campaigns, illicit consent…
Description
Identifies when an application accesses SharePoint Online or OneDrive for Business for the first time in the tenant within a specified timeframe. This detects successful OAuth phishing campaigns, illicit consent grants, or compromised third-party applications gaining initial access to file storage. Adversaries often use malicious OAuth applications or phishing techniques to gain consent from users, allowing persistent access to organizational data repositories without traditional credential theft.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 4 ATT&CK techniques it maps to.
- Log source category
- event_index
Known benign triggers
- Developers testing new applications or OAuth flows in non-production tenants may generate alerts during development cycles.
- New legitimate applications or integrations recently deployed in the environment may trigger this detection during initial setup or rollout phases.
- Third-party SaaS applications with SharePoint integration may appear as new app IDs when users first authorize access.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/merill/microsoft-info/blob/main/_info/MicrosoftApps.json | Only this detection cites it |
| learn.microsoft.com/en-us/entra/identity/enterprise-apps/manage-consent-requests | Only this detection cites it |
| www.microsoft.com/en-us/security/blog/2022/09/22/malicious-oauth-applications-used-to-compromise-email-servers-and-spread-spam/ | 8from 2 sources |
| www.volexity.com/blog/2025/04/22/phishing-for-codes-russian-threat-actors-target-microsoft-365-oauth-workflows/ | 19 |
From the source
- At source
- Open at source
- Upstream identifier
- a3cc60d8-2701-11f0-accf-f661ea17fbcd
- Tagged by the source as
- Data Source: AzureData Source: Microsoft Entra IDData Source: Microsoft Entra ID Sign-in LogsDomain: CloudDomain: IdentityDomain: StorageNoise: MediumPerformance: FastPlatform: AzurePlatform: Entra IDResources: Investigation GuideRule Type: New TermsService: Microsoft OneDriveService: Microsoft SharePointTactic: CollectionTactic: Initial AccessUse Case: Identity and Access Audit
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 4