Elastic medium stable kql

M365 SharePoint Site Administrator Added

Identifies when a new SharePoint Site Administrator is added in Microsoft 365. Site Administrators have full control over SharePoint Sites, including the ability to manage permissions, access all content, and modify site settings. Adversaries who compromise a privileged account may add themselves or a controlled account as a Site Administrator to maintain persistent, high-privilege access to sensitive SharePoint data. This technique was notably observed in the 0mega ransomware campaign, where attackers elevated privileges to exfiltrate data and deploy ransom notes across SharePoint sites.

View Source

Detection Logic

data_stream.dataset:o365.audit
    and event.provider:(SharePoint or OneDrive)
    and event.category:web
    and event.action:SiteCollectionAdminAdded
    and event.outcome:success

False Positives

  • Legitimate IT administrators adding Site admins as part of routine SharePoint site management.
  • Automated provisioning tools or scripts that assign Site admin roles during site creation workflows.
  • Organizational restructuring where site ownership is being transferred to new administrators.

Field Validations

Loading…

Comments (0)

Loading comments...