VeriKQL by Kaushik Saha

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
✗ Broken on purpose2 problems: KS142 on line 3, KS142 on line 4

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
✓ Verified by VeriKQLKusto.Language 12.4.1 · bundle 2026.10.29

Result on the sample · 9 rows

TimeGeneratedIPAddressResultType
2026-06-10 08:17:05203.0.113.4550126
2026-06-10 08:19:44203.0.113.45500121
2026-06-10 07:40:11198.51.100.2350126
2026-06-10 08:15:10203.0.113.4550126
2026-06-10 08:14:02203.0.113.4550126
2026-06-10 08:19:12203.0.113.4550126
2026-06-10 08:16:31203.0.113.4550126
2026-06-10 08:18:41203.0.113.4550126
2026-06-10 08:20:09203.0.113.45500121

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

1

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.