File footprint (1)
Description
Query #1 - Find the machines on which this file was seen. TODO - set file hash to be a SHA1 hash of your choice...
Query · kql
// Query # 2 - Shows you a list of distinct IP addresses and DNS names the endpoint had network communication with through a specific file. // Use this list to whitelist/blacklist IP addresses or understand if there are communication with IP you are not aware of. // Update the filename to the name you wish to investigate network communication. let filename = "FILENAME GOES HERE"; // Builds table for distinct URLs based off filename DeviceNetworkEvents | where InitiatingProcessFileName =~ filename and ( isnotempty(RemoteIP) or isnotempty(RemoteUrl) ) | project DNS=RemoteUrl, IP=RemoteIP | distinct IP, DNS