Exercises

40 Kusto (KQL) hunts on fictional logs · 15 free

All exercises
#ExerciseSeverityTypeTablesState
01Find the IP behind a password sprayeasyWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform
02Complete the query: brute force against a servermediumCompleteSecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform
03Spot impossible travel: two countries in one hourmediumWriteSigninLogs, SC-200: Configure detections
04Size up a password spray from one IPeasyWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform
05Complete the query: did the password spray work?easyCompleteSigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats
06Failed sign-ins by client app, most firsteasyWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platform
07Which account names did the attacker try?easyWriteSecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform
08When did the brute force start and stop?mediumWriteSecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform
09Did the brute force succeed?easyWriteSecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform
10Complete the query: guesses at accounts that don't existmediumCompleteSecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platform
11Catch an Office document starting a shelleasyWriteDeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint
12Complete the query: find encoded PowerShell (has vs contains)mediumCompleteDeviceProcessEvents, SC-200: Detect threats by using Microsoft Defender XDR
13What did the attacker run to look around?easyWriteDeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for Endpoint
14Find the one-device destination with hundreds of connectionsmediumWriteDeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDR
15Successful sign-ins from countries that almost never appearmediumWriteSigninLogs, SC-200: Investigate Microsoft 365 activities to identify threats
16From spray detection to compromised account in one queryhardWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
17Impossible travel with cities: join sign-ins to themselveshardWriteSigninLogs, SC-200: Configure detectionsFull set
18A high-risk sign-in followed by a new Global AdministratorhardWriteSigninLogs, AuditLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
19Brute force followed by a successful logon: a detection rulehardWriteSecurityEvent, SC-200: Configure detectionsFull set
20Connect encoded PowerShell to the network traffic that followedhardWriteDeviceProcessEvents, DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDRFull set
21Who denied an MFA prompt this week?easyWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
22Complete the query: every admin role change in the audit logeasyCompleteAuditLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set
23Find the directory change that failedeasyWriteAuditLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set
24List the high-risk sign-inseasyWriteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
25Complete the query: sign-ins blocked by Conditional AccesseasyCompleteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
26Turn the spray's targets into a list of user nameseasyWriteSigninLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set
27Count a device's events across two tables with unioneasyWriteDeviceProcessEvents, DeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDRFull set
28See the beacon's rhythm: connections per hourmediumWriteDeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDRFull set
29Measure the beacon's average intervalmediumWriteDeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDRFull set
30Detect MFA fatigue: denials followed by an approvalmediumWriteSigninLogs, SC-200: Configure detectionsFull set
31Complete the query: map risk levels to severities with case()mediumCompleteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
32Pull the implant's DLL path out of a command linemediumWriteDeviceProcessEvents, SC-200: Respond to alerts and incidents in Microsoft Defender for EndpointFull set
33Complete the query: each admin account's last sign-in (arg_max)mediumCompleteSigninLogs, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
34Build one timeline from sign-ins and audit events with unionmediumWriteSigninLogs, AuditLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set
35Complete the query: who gave which role to whom (dynamic columns)mediumCompleteAuditLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set
36MFA fatigue followed by directory changes: a two-table detectionhardWriteSigninLogs, AuditLogs, SC-200: Configure detectionsFull set
37Prove the beacon is regular: two levels of summarizehardWriteDeviceNetworkEvents, SC-200: Detect threats by using Microsoft Defender XDRFull set
38One list of failing IPs from cloud and Windows logonshardWriteSigninLogs, SecurityEvent, SC-200: Detect threats by using the Microsoft Sentinel platformFull set
39Label the attack stages on one device with union and case()hardWriteDeviceProcessEvents, DeviceNetworkEvents, SC-200: Respond to alerts and incidents in Microsoft Defender XDRFull set
40Where was the real user just before the suspicious sign-in?hardWriteSigninLogs, SC-200: Investigate Microsoft 365 activities to identify threatsFull set