files-from-malicious-sender
Description
This query checks devices for the presence of files that have been sent by a known malicious sender. To use this query, replace the email address with the address of the known malicious sender.
Query · kql
//Get prevalence of files sent by a malicious sender in your organization EmailAttachmentInfo | where SenderFromAddress =~ "MaliciousSender@example.com" | where isnotempty(SHA256) | join ( DeviceFileEvents | project FileName, SHA256 ) on SHA256