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.

FreeReviewedSigma · Medium · v5
Product
azure
Service
signinlogs
Author
Mark Morowczynski '@markmorow', Bailey Bercik '@baileybercik' (SigmaHQ), DRL 1.1
Published
2022-06-01
Updated
2026-07-31
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