Sigma rule: Azure Login Bypassing Conditional Access Policies

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f92731939aa5, updated 2025-01-08T00:00:00.000Z.

Rule

Title
Azure Login Bypassing Conditional Access Policies
Status
experimental
Level
high
Author
Josh Nickels, Marius Rothenbücher
Date
2025-01-08
File
rules/cloud/m365/audit/microsoft365_bypass_conditional_access.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a successful login to the Microsoft Intune Company Portal which could allow bypassing Conditional Access Policies and InTune device trust using a tool like TokenSmith.

Log source

product
m365
service
audit

Detection

selection:
    Operation: 'UserLoggedIn'
    ApplicationId: '9ba1a5c7-f17a-4de9-a1f1-6178c8d51223'
    ResultStatus: 'Success'
    RequestType: 'Cmsi:Cmsi'
filter_main_bjectid:
    ObjectId: '0000000a-0000-0000-c000-000000000000' # Microsoft Intune seen when mobile devices are enrolled
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.initial-access
  • attack.stealth
  • attack.t1078

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/m365/audit/microsoft365_bypass_conditional_access.yml

Sources and licences

  • SigmaHQ

    "Azure Login Bypassing Conditional Access Policies" by Josh Nickels, Marius Rothenbücher (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/m365/audit/microsoft365_bypass_conditional_access.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Azure Login Bypassing Conditional Access Policies",
entity page, dataset version ref-f92731939aa5, updated 2025-01-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/13f2d3f5-6497-44a7-bf5f-dc13ffafe5dc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 13f2d3f5-6497-44a7-bf5f-dc13ffafe5dc, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.