Query Details
//This query identifies the source URL for downloaded files //Tracks Mark of the Web (MOTW) written events DeviceNetworkEvents | where EventSimpleName == "MotwWritten" | project ComputerName, FileName, HostUrl, ReferrerUrl
This query is designed to track events related to the "Mark of the Web" (MOTW), which is a security feature in Windows that flags files downloaded from the internet. Specifically, the query looks for events where a MOTW has been written to a file. It retrieves and displays the following information for each event:
In summary, this query helps identify the origin of downloaded files by tracking when and where a MOTW is applied.

User Submission
Released: November 10, 2024
Tables
Keywords
Operators