← Lab /Security & privacy

Monitoring TOR exit node activity is feasible using Elastic ingest pipeline and hourly API pulls

Pulling TOR exit node data from the Onionoo API every hour and ingesting it into Elastic enables detection of TOR-based malicious activity on a network

Security & privacy Elastic Security Labs 27 Oct 2025 Tooling Prototype evidence

Published as “TOR Exit Node Monitoring Overview”

Why it matters

Enables organizations to surface TOR-based malicious activity using existing Elastic Stack tooling

Summary

The writeup describes how to configure an Elastic ingest pipeline, index template, and Elastic Agent (or Filebeat) to query the Onionoo TOR API every hour for exit node details. The retrieved data is indexed into a logs-* index, allowing analysts to create rules, visualizations, and dashboards to monitor TOR traffic. The authors claim this setup provides visibility into anonymized reconnaissance, C2, and data exfiltration attempts. No quantitative evaluation is presented, so the evidence is limited to a step-by-step configuration guide.

What they found 2

  1. An Elastic integration that pulls TOR exit node information hourly and indexes it for SIEM monitoring

    “We will create an index template and an ingest pipeline. We will then hit the TOR API endpoint every 1 hour to request the most recent detailed information.”

  2. The indexed TOR data can be used with Elastic SIEM threat-intel IP match rules

    “The beautiful thing about the naming convention for this index, is that it will automatically function with your Threat Intel IP Address Indicator Match rule available in the Elastic SIEM.”

Caveats 1

  • The writeup does not provide any real-world detection results, performance metrics, or false-positive/false-negative analysis

What’s new here 4

  • Provides a ready-to-use Elastic ingest pipeline for TOR exit node data
  • Defines an index template with high priority to store TOR node fields
  • Offers Elastic Agent and Filebeat integration options for automated hourly pulls
  • Shows how to leverage existing Threat Intel IP match rules with the new index