Level 5 · What did they touch? · Mission 3 of 5 · by Kaushik Saha
How MFA was passed
Alert After the break-in · Idea parse_json · mv-expand
Commands here project · where · == · and / or · sort by · between · tostring · dot notation · parse_json · mv-expand · all commands
Briefing
Alex's ticket said: "My phone kept asking me to approve sign-ins." Each sign-in records its steps in
AuthenticationDetails: the password, then the phone prompt.
One idea: mv-expand gives each step of a list its own row
parse_json turns the text into a list, and mv-expand makes one row per step:
SigninLogs
| where UserPrincipalName == "alex.morgan@contoso.com"
| where TimeGenerated between (datetime(2026-06-10T08:19:30Z) .. datetime(2026-06-10T08:21:00Z))
| mv-expand Step = parse_json(AuthenticationDetails)
| project TimeGenerated, Method = tostring(Step.authenticationMethod), Succeeded = tostring(Step.succeeded)
| sort by TimeGenerated asc
Result on the sample · 6 rows
| TimeGenerated | Method | Succeeded |
|---|---|---|
| 2026-06-10 08:19:44 | Password | true |
| 2026-06-10 08:19:44 | Mobile app notification | false |
| 2026-06-10 08:20:09 | Password | true |
| 2026-06-10 08:20:09 | Mobile app notification | false |
| 2026-06-10 08:20:36 | Password | true |
| 2026-06-10 08:20:36 | Mobile app notification | true |
The password was right three times. The phone prompt was denied twice, then approved at 08:20:36. This is MFA fatigue: the attacker keeps sending prompts until the user taps "approve" to make them stop.
Your turn
For every sign-in by Alex from the attacker's first address, show each step with its method and whether it succeeded.
Write it in the box below and check it. Then compare with one answer; others can be right too.
Show one answer
SigninLogs
| where UserPrincipalName == "alex.morgan@contoso.com" and IPAddress == "203.0.113.45"
| mv-expand Step = parse_json(AuthenticationDetails)
| project TimeGenerated, Method = tostring(Step.authenticationMethod), Succeeded = tostring(Step.succeeded)
| sort by TimeGenerated asc
Result on the sample · 16 rows
| TimeGenerated | Method | Succeeded |
|---|---|---|
| 2026-06-10 08:14:02 | Password | false |
| 2026-06-10 08:15:10 | Password | false |
| 2026-06-10 08:16:31 | Password | false |
| 2026-06-10 08:17:05 | Password | false |
| 2026-06-10 08:18:41 | Password | false |
| 2026-06-10 08:19:12 | Password | false |
| 2026-06-10 08:19:44 | Password | true |
| 2026-06-10 08:19:44 | Mobile app notification | false |
| 2026-06-10 08:20:09 | Password | true |
| 2026-06-10 08:20:09 | Mobile app notification | false |
| 2026-06-10 08:20:36 | Password | true |
| 2026-06-10 08:20:36 | Mobile app notification | true |
| 2026-06-10 08:24:10 | Password | true |
| 2026-06-10 08:24:10 | Mobile app notification | true |
| 2026-06-10 09:02:41 | Password | true |
| 2026-06-10 09:02:41 | Mobile app notification | true |
Check your own query
Write your query for the task above and check it against the real schema.
Debrief
Alex approved the third prompt. That is how the attacker got in, and why number matching and "deny and report" matter in an MFA policy. One more check: was the account flagged?
All data on this page is sample data, made up for this course. The IP addresses come from ranges reserved for documentation, and the people and the company are fictional.
Mission by Kaushik Saha. Every query checked with Microsoft.Azure.Kusto.Language 12.4.1 against schema bundle 2026.10.29; every result computed on the course's sample with Kusto-Loco 1.4.9, an open-source KQL engine (credits). The story's clock reads 12:00 UTC on 10 June 2026.