Query Details

IC Tor Exit Browser Hunting Based On Device Events

Query

//Author Sergio Albea 18-11-2025
let TorExitNodesHistoric = externaldata(IP:string, ActiveDates:string, Source:string) ['https://firewalliplists.gypthecat.com/lists/kusto/kusto-tor-exit-historic.json.zip'] with(format="multijson"); 
TorExitNodesHistoric 
| extend ActiveDates = split(ActiveDates, ','), Country = tostring(geo_info_from_ip_address(IP)['country'])
| summarize ActiveDays = array_length(make_set(ActiveDates)) by Country,IP,Source
| join kind=inner (DeviceNetworkEvents) on $left.IP == $right.RemoteIP
| summarize  by Source,DeviceName,TOR_Exit_Node= LocalIP,Country,ActiveDays,RemoteUrl, InitiatingProcessAccountName, InitiatingProcessVersionInfoProductName, ActionType, Timestamp,ReportId
| order by ActiveDays

About this query

MITRE ATT&CK Technique(s)

Technique IDTitle
T1090.003Proxy: Multi-hop Proxy

Author: Sergio Albea (18/11/2025)


[IC] -Tor Exit Browser hunting based on Device Events

MITRE ATT&CK Technique(s)

Technique IDTitle
T1090.003Multi-hop Proxy
AuthorSergio Albea (30/10/2025)

Description: A Tor exit node is the last server in the Tor network that your traffic passes through before it reaches the public internet so it is the one that actually makes the connection to website. In this particular query, I am getting the devices with connections to Tor Exit Nodes, to list to which node are connecting and possible suspicious URLs with connections to the mentioned servers.

Explanation

This query is designed to identify devices that are connecting to Tor exit nodes, which are the final servers in the Tor network before traffic reaches the public internet. The query uses a list of historic Tor exit nodes and matches them against device network events to find connections to these nodes. It then provides details about these connections, including the device name, the specific Tor exit node being connected to, the country of the exit node, the number of days the node has been active, any suspicious URLs involved, and information about the process initiating the connection. The results are sorted by the number of active days for each Tor exit node.