Azure AD Sign-in Logs: Detect ROPC Authentication Flow Use in Application Sign-ins
Flags Azure AD sign-ins where the message indicates an application is using the ROPC authentication flow.
- Product
- azure
- Service
- signinlogs
- Author
- Mark Morowczynski '@markmorow', Bailey Bercik '@baileybercik' (SigmaHQ), DRL 1.1
- Published
- 2022-06-01
- Updated
- 2026-07-31
ATT&CK techniques
Initial Access → Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags sign-in events in Azure AD sign-in logs where the sign-in message contains "ROPC", indicating use of the Resource Owner Password Credentials authentication flow. Attackers may prefer ROPC because it requires direct handling of user passwords by the application, increasing credential exposure risk. The detection relies on the presence of the "ROPC" indicator in the logged message field.
Reporting behind it
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Azure AD Sign-in Logs: Detect ROPC Authentication Flow Use in Application Sign-ins"
id: a9b97c75-ec51-4147-8820-116b845109b0
status: test
description: This rule flags sign-in events in Azure AD sign-in logs where the sign-in message contains "ROPC", indicating use of the Resource Owner Password Credentials authentication flow. Attackers may prefer ROPC because it requires direct handling of user passwords by the application, increasing credential exposure risk. The detection relies on the presence of the "ROPC" indicator in the logged message field.
references:
- https://learn.microsoft.com/en-us/entra/architecture/security-operations-applications#application-authentication-flows
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/signin_logs/azure_app_ropc_authentication.yml
author: Mark Morowczynski '@markmorow', Bailey Bercik '@baileybercik', Huntrule Team
date: 2022-06-01
tags:
- attack.stealth
- attack.t1078
- attack.persistence
- attack.privilege-escalation
- attack.initial-access
logsource:
product: azure
service: signinlogs
detection:
selection:
properties.message: ROPC
condition: selection
falsepositives:
- Applications that are being used as part of automated testing or a legacy application that cannot use any other modern authentication flow
level: medium
license: DRL-1.1
related:
- id: 55695bc0-c8cf-461f-a379-2535f563c854
type: derived