← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Firewall TOR Exit Node Outbound Connection Dataset

This hunt uses a simulated perimeter firewall dataset (firewall_tor_exit_2022-10-17T220000.json) capturing T1090.003: Proxy (Multi-hop Proxy / TOR), where an internal host establishes outbound connections to known TOR entry/guard nodes, either as an attacker's anonymized C2 channel or as a compromised host being used to relay traffic for the attacker.

Step 1: Hypothesis Formation

Hypothesis: An internal host establishes repeated, sustained outbound TCP connections to IP addresses on the public TOR node consensus list (guard/relay nodes), on ports commonly associated with TOR (9001, 9030, 443) with connection patterns (periodic, low-and-slow) inconsistent with normal web browsing - indicating either direct attacker TOR-based C2 usage or unauthorized TOR client installation. Indicators:

Null Hypothesis: A security researcher or privacy-conscious employee has installed the TOR Browser for legitimate, policy-permitted anonymized browsing (e.g., competitive intelligence research). Invalidate by confirming the process is the TOR Browser Bundle used interactively during business hours and cross-checking against any documented exception.

Rationale: TOR provides attackers with a resilient, encrypted, attribution-resistant C2 and exfiltration channel; because TOR node IPs are less well policy-restricted than obviously malicious IOCs, and legitimate uses do exist, distinguishing automated/beaconing usage from interactive human browsing is the key differentiator.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm SRV-BUILD-06 - a headless CI/CD build server with no legitimate browsing use case - established periodic, low-jitter outbound connections to five distinct TOR guard nodes over 90 minutes, driven by an unrecognized binary.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-10-17 22:02:11SRV-BUILD-06Firewall (allow, TCP/9001)Connection to 51.15.43.205, matched against TOR consensus list as an active guard nodeTOR-Node IOC: the destination is confirmed present in the current published TOR relay consensus, not a coincidental IP match.
2022-10-17 22:02:11 - 23:28:47SRV-BUILD-06Firewall (aggregate)47 connections across 5 distinct TOR node IPs, occurring at near-exact 2-minute intervals (jitter < 3 seconds)Beaconing IOC: this regular, low-jitter interval pattern is characteristic of automated C2 check-in behavior, not human interactive browsing.
2022-10-17 22:02:09SRV-BUILD-06(EDR process check)Unsigned binary bldhelper.exe (not the TOR Browser Bundle) responsible for the connections, running as a Windows serviceTooling-Mismatch IOC: the process is not the legitimate, interactive TOR Browser; a headless service-context binary making TOR connections is a strong indicator of a TOR-based C2 client embedded in malware.
--(host role check)SRV-BUILD-06 is a headless CI/CD build agent with no interactive user sessions logged in the past 30 daysConfirms there is no plausible legitimate business justification for TOR browsing on this host.
2022-10-17 22:05:33SRV-BUILD-06(EDR process check)bldhelper.exe was created 4 days prior via a compromised CI pipeline credential, not part of the documented build toolchainCompromise-Origin IOC: ties the TOR-connecting binary back to a prior CI/CD credential compromise as its installation vector.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - a compromised CI/CD build server was communicating with attacker infrastructure through a TOR-based C2 channel, beaconing to five TOR guard nodes at regular two-minute intervals via an unrecognized service binary!