Application Using Device Code Authentication Flow

 Original Source: [Sigma source]
Title: Application Using Device Code Authentication Flow
Status: test
Description:Device code flow is an OAuth 2.0 protocol flow specifically for input constrained devices and is not used in all environments. If this type of flow is seen in the environment and not being used in an input constrained device scenario, further investigation is warranted. This can be a misconfigured application or potentially something malicious.
References:
  -https://learn.microsoft.com/en-us/entra/architecture/security-operations-applications#application-authentication-flows
Author: Mark Morowczynski '@markmorow', Bailey Bercik '@baileybercik'
Date: 2022-06-01
modified:None
Tags:
  • -'attack.stealth'
  • -'attack.t1078'
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.initial-access'
Logsource:
  • product: azure
  • service: signinlogs
Detection:
  selection:
    properties.message: 'Device Code'
  condition:selection
Falsepositives:
  -Applications that are input constrained will need to use device code flow and are valid authentications.
Level: medium