Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
let Lookback = 1h;
let PreC2Behaviour =
DeviceNetworkEvents
| where Timestamp > ago(Lookback)
| where RemoteUrl has "api.ipify.org"
| distinct DeviceName;
DeviceNetworkEvents
| where Timestamp > ago(Lookback)
| where not(ipv4_is_private(RemoteIP)) and RemoteIP != "127.0.0.1"
| where RemotePort == 7712
| where DeviceName has_any(PreC2Behaviour)