Forum Discussion
Sep 19, 2023
Advanced Hunting - Defender for Endpoint
I would like to know how I do a Hunting to identify a machine and which user accessed certain URLs on that device. I know that Sentinel could bring this type of information, but I would like to do th...
2code-monte
Sep 20, 2023Copper Contributor
Hi Diego you need something like this.
DeviceNetworkEvents
| where RemoteUrl == "http://www.badurl.com"
| project Timestamp, DeviceName, ActionType, RemoteIP, RemoteUrl, InitiatingProcessFileName, InitiatingProcessCommandLine
DeviceNetworkEvents
| where RemoteUrl == "http://www.badurl.com"
| project Timestamp, DeviceName, ActionType, RemoteIP, RemoteUrl, InitiatingProcessFileName, InitiatingProcessCommandLine
- Sep 20, 2023In fact, what I was looking for would be this:
I already found it, thanks for sharing and helping.
To collect information from all devices:
DeviceNetworkEvents
| project DeviceName, Timestamp, RemoteUrl, ActionType, Protocol, RemoteIP, RemotePort
| order by Timestamp desc
To collect information from specific devices:
let DeviceName = "Your_Device_Name"; Replace with the name of the specific device you want to investigate
DeviceNetworkEvents
| where DeviceName == DeviceName
| project DeviceName, Timestamp, RemoteUrl, ActionType, Protocol, RemoteIP, RemotePort
| order by Timestamp desc- 2code-monteSep 20, 2023Copper ContributorHappy hunting 🙂