Zero-day Phish Detections Trend
Description
This query visualises total emails with Phish detections over time summarizing the data daily by Phish detection technologies/controls used for detecting unknown-unique phish
Query · kql
let TimeStart = startofday(ago(30d)); let TimeEnd = startofday(now()); let baseQuery = EmailEvents | where Timestamp >= TimeStart | where DetectionMethods has "Phish"; let fd=baseQuery | project Timestamp,RecipientEmailAddress,NetworkMessageId, DT=parse_json(DetectionMethods) | evaluate bag_unpack(DT) | where Phish has 'File detonation' and Phish !has 'File detonation reputation' | make-series Count= count() default = 0 on Timestamp from TimeStart to TimeEnd step 1d | extend Details = "File detonation"; let ud=baseQuery | project Timestamp,RecipientEmailAddress,NetworkMessageId, DT=parse_json(DetectionMethods) | evaluate bag_unpack(DT) | where Phish has 'URL detonation' and Phish !has 'URL detonation reputation' | make-series Count= count() default = 0 on Timestamp from TimeStart to TimeEnd step 1d | extend Details = "URL detonation"; union fd,ud | project Count, Details, Timestamp | render timechart