Last active
October 27, 2021 23:16
-
-
Save Shivammalaviya/5039c99e472809123e7aa522fd4a0de6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let AIPBlacklist = externaldata(Number:string,IP: string,values:dynamic) [@"https://mcfp.felk.cvut.cz/publicDatasets/CTU-AIPP-BlackList/Todays-Blacklists/AIP_blacklist_for_IPs_seen_last_24_hours.csv", | |
@"https://mcfp.felk.cvut.cz/publicDatasets/CTU-AIPP-BlackList/Todays-Blacklists/AIP_historical_blacklist_prioritized_by_newest_attackers.csv",@"https://mcfp.felk.cvut.cz/publicDatasets/CTU-AIPP-BlackList/Todays-Blacklists/AIP_historical_blacklist_prioritized_by_repeated_attackers.csv"] | |
with (format="csv",ignoreFirstRecord=true) | |
| where IP !startswith "#" | |
| project IP; | |
AIPBlacklist | |
| join (DeviceNetworkEvents | |
| where ActionType in ("ConnectionSuccess","InboundConnectionAccepted","ConnectionFound") | |
) | |
on $left.IP == $right.RemoteIP | |
| project Timestamp,LocalIP,RemoteIP,DeviceName,RemoteUrl, InitiatingProcessFileName,ActionType |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment