Level 1 · Read the logs · Mission 5 of 5 · by Kaushik Saha
Level 1 bug hunt
Alert A user reports a strange sign-in prompt · Idea fix it
Commands here project · where · == · != · all commands
Briefing
A colleague sends you their query for Alex's failures. It doesn't run. Paste it into the box below, check it, and fix what the checker reports.
SigninLogs
| where ResultType != "0"
| where UserPrincipleName == "alex.morgan@contoso.com"
| project TimeGenerated, IPAdress, ResultType
Your turn
Fix the query so it compiles and shows Alex's failed sign-ins.
Paste the query into the box, check it and fix what the checker reports. Then compare with one answer.
Show one answer
SigninLogs
| where ResultType != "0"
| where UserPrincipalName == "alex.morgan@contoso.com"
| project TimeGenerated, IPAddress, ResultType
Result on the sample · 9 rows
| TimeGenerated | IPAddress | ResultType |
|---|---|---|
| 2026-06-10 08:17:05 | 203.0.113.45 | 50126 |
| 2026-06-10 08:19:44 | 203.0.113.45 | 500121 |
| 2026-06-10 07:40:11 | 198.51.100.23 | 50126 |
| 2026-06-10 08:15:10 | 203.0.113.45 | 50126 |
| 2026-06-10 08:14:02 | 203.0.113.45 | 50126 |
| 2026-06-10 08:19:12 | 203.0.113.45 | 50126 |
| 2026-06-10 08:16:31 | 203.0.113.45 | 50126 |
| 2026-06-10 08:18:41 | 203.0.113.45 | 50126 |
| 2026-06-10 08:20:09 | 203.0.113.45 | 500121 |
Check your own query
The broken query is in the box: check it, fix what the checker reports and check it again.
Level 1 cleared
Level 1 clue · pinned to the incident
Alex Morgan's password was guessed from 203.0.113.45: six wrong passwords from 08:14, two denied MFA prompts, then a success at 08:20:36. Earlier, at 07:40, 198.51.100.23 failed once against every user.
You can now read a table, choose columns, filter rows, order them and follow one user. Level 2 counts: one address failed against almost every user at 07:40. Was that the same attacker?
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.