Skip to content
WETNav

riskEventTypes_v2 / RiskEventTypes_V2 / riskEventType / riskEventTypesHigh signal

attackerinTheMiddle: Adversary in the middle

The sign-in looks like it passed through an adversary-in-the-middle phishing proxy.

How to read it

The session cookie was likely stolen. Revoke sessions and look for the same session used from another IP.

Find it

SigninLogs
| where RiskEventTypes_V2 has "attackerinTheMiddle"
| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName, RiskLevelDuringSignIn, RiskState, ResultType

AADUserRiskEvents
| where RiskEventType == "attackerinTheMiddle"
| project TimeGenerated, UserPrincipalName, IpAddress, RiskLevel, RiskState, DetectionTimingType

ATT&CK

About riskEventTypes_v2

Identity Protection detections attached to a sign-in or a user. Sign-in records list them in riskEventTypes_v2; the riskDetections API and AADUserRiskEvents table hold the detail. A detection is a reason to look, not proof on its own.

Every Entra ID risk detection type value →

Questions

What does riskEventTypes_v2 attackerinTheMiddle mean?
Adversary in the middle. The sign-in looks like it passed through an adversary-in-the-middle phishing proxy. The session cookie was likely stolen. Revoke sessions and look for the same session used from another IP.
Is riskEventTypes_v2 attackerinTheMiddle a sign of an attack?
Often, yes. It is a strong signal. It is associated with MITRE ATT&CK Adversary-in-the-Middle (T1557), Steal Web Session Cookie (T1539). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is riskEventTypes_v2 attackerinTheMiddle recorded?
In the riskEventTypes_v2 field of Entra ID sign-in logs.
How do I search for riskEventTypes_v2 attackerinTheMiddle?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.