Exercises
40 Kusto (KQL) hunts on fictional logs · 15 free
| # | Exercise | Severity | Type | Tables | State |
|---|---|---|---|---|---|
| 01 | Find the IP behind a password spray | easy | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 02 | Complete the query: brute force against a server | medium | Complete | SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 03 | Spot impossible travel: two countries in one hour | medium | Write | SigninLogs, SC-200: Configure detections | Solved |
| 04 | Size up a password spray from one IP | easy | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 05 | Complete the query: did the password spray work? | easy | Complete | SigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Solved |
| 06 | Failed sign-ins by client app, most first | easy | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 07 | Which account names did the attacker try? | easy | Write | SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 08 | When did the brute force start and stop? | medium | Write | SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 09 | Did the brute force succeed? | easy | Write | SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 10 | Complete the query: guesses at accounts that don't exist | medium | Complete | SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Solved |
| 11 | Catch an Office document starting a shell | easy | Write | DeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint | Solved |
| 12 | Complete the query: find encoded PowerShell (has vs contains) | medium | Complete | DeviceProcessEvents, SC-200: Detect threats by using Microsoft Defender XDR | Solved |
| 13 | What did the attacker run to look around? | easy | Write | DeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint | Solved |
| 14 | Find the one-device destination with hundreds of connections | medium | Write | DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Solved |
| 15 | Successful sign-ins from countries that almost never appear | medium | Write | SigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Solved |
| 16 | From spray detection to compromised account in one query | hard | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 17 | Impossible travel with cities: join sign-ins to themselves | hard | Write | SigninLogs, SC-200: Configure detections | Full set |
| 18 | A high-risk sign-in followed by a new Global Administrator | hard | Write | SigninLogs, AuditLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 19 | Brute force followed by a successful logon: a detection rule | hard | Write | SecurityEvent, SC-200: Configure detections | Full set |
| 20 | Connect encoded PowerShell to the network traffic that followed | hard | Write | DeviceProcessEvents, DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Full set |
| 21 | Who denied an MFA prompt this week? | easy | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 22 | Complete the query: every admin role change in the audit log | easy | Complete | AuditLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
| 23 | Find the directory change that failed | easy | Write | AuditLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
| 24 | List the high-risk sign-ins | easy | Write | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 25 | Complete the query: sign-ins blocked by Conditional Access | easy | Complete | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 26 | Turn the spray's targets into a list of user names | easy | Write | SigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
| 27 | Count a device's events across two tables with union | easy | Write | DeviceProcessEvents, DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Full set |
| 28 | See the beacon's rhythm: connections per hour | medium | Write | DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Full set |
| 29 | Measure the beacon's average interval | medium | Write | DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Full set |
| 30 | Detect MFA fatigue: denials followed by an approval | medium | Write | SigninLogs, SC-200: Configure detections | Full set |
| 31 | Complete the query: map risk levels to severities with case() | medium | Complete | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 32 | Pull the implant's DLL path out of a command line | medium | Write | DeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint | Full set |
| 33 | Complete the query: each admin account's last sign-in (arg_max) | medium | Complete | SigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 34 | Build one timeline from sign-ins and audit events with union | medium | Write | SigninLogs, AuditLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
| 35 | Complete the query: who gave which role to whom (dynamic columns) | medium | Complete | AuditLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
| 36 | MFA fatigue followed by directory changes: a two-table detection | hard | Write | SigninLogs, AuditLogs, SC-200: Configure detections | Full set |
| 37 | Prove the beacon is regular: two levels of summarize | hard | Write | DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR | Full set |
| 38 | One list of failing IPs from cloud and Windows logons | hard | Write | SigninLogs, SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform | Full set |
| 39 | Label the attack stages on one device with union and case() | hard | Write | DeviceProcessEvents, DeviceNetworkEvents, SC-200: Respond to alerts and incidents in Microsoft Defender XDR | Full set |
| 40 | Where was the real user just before the suspicious sign-in? | hard | Write | SigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats | Full set |
No exercises match these filters.