Design a Threat Intelligence Aggregator

Medium45 min
1 / 30
System design answer

Design a Threat Intelligence Aggregator

Medium45 min30 sections
understanding•9 min read

Problem Statement: Aggregating Threat Intelligence at Scale

Frames the aggregator as an indicator supply chain: ingest, normalize, deduplicate, score, and push indicators to enforcement points, not as a simple blocklist cache.

Problem statement

Design a Threat Intelligence Aggregator that continuously and periodically fetches indicators of compromise (IoCs) — malicious IP addresses, domains, URLs, and file hashes — from external vendors, open-source feeds, and internal detection systems; merges duplicates into canonical indicators; assigns a weighted severity and confidence score; and pushes the resulting block decisions to enforcement points such as WAFs, network firewalls, DNS sinkholes, and EDR policies. Indicators must expire or be re-checked so that legitimate infrastructure is not blocked forever, and a security team needs a console to investigate, override, and whitelist.

This is not a key-value lookup cache. It is an indicator supply chain with five properties that make it distinctive. First, inputs are hostile and noisy: feeds disagree, overlap heavily, occasionally publish false positives, and can themselves be poisoned. Second, outputs have physical consequences: a bad auto-block of a shared CDN range or a partner API endpoint can take down production traffic, so the write path to enforcement is more safety-critical than the read path. Third, freshness is tiered: a botnet command-and-control IP seen in a live campaign should reach the WAF in minutes, while a stale spam hash can wait for the nightly rebuild. Fourth, correctness is asymmetric: a missed indicator costs a detection; a false block costs an outage, so allowlists must always win over feed data. Fifth, the data is mostly immutable events plus a small mutable current-state projection.

Public operating baseline

The category is real and large. Microsoft's public security materials state that its ecosystem processes tens of trillions of signals daily, with 65 trillion signals per day cited in 2022 publications, which are distilled into curated indicators in Defender Threat Intelligence. VirusTotal, part of Google, publishes that it aggregates detection verdicts from 70+ engines and hundreds of partners for files, URLs, domains, and IPs. AT&T's AlienVault Open Threat Exchange describes community pulses contributing millions of indicators per day in its public materials. Cloudflare's Radar Year in Review reported blocking 172 billion threats per day in 2023, illustrating enforcement-side scale. These are cited company figures for context, not requirements for our fictional system.

Design assumptions for capacity planning

Unless tied to a citation, every number in this answer is an explicit design assumption: 50 million active indicators, 400 million historical records over 13 months, 120 feeds (25 commercial TAXII, 60 open-source CSV/JSON, 35 internal), an average of 4,000 indicator events per second with a 20,000/s peak during mass feed refreshes, 8,000 enforcement devices, and a central lookup API at 8,000 QPS average with edge snapshots absorbing most enforcement traffic.

The four architectural planes

  1. Ingestion plane: feed connectors, raw staging, format parsing, source trust tracking.
  2. Refinement plane: normalization, dedup/merge, scoring, policy filtering.
  3. Enforcement plane: snapshot compilation, versioned distribution, device acknowledgement, expiry sweeps.
  4. Analyst plane: investigation console, overrides, whitelist, audit, evidence.

A strong answer keeps these planes separate: a dead feed degrades refinement freshness but never breaks enforcement of already-compiled lists, and an analyst override is a strongly consistent write that outranks every feed signal.

Key Highlights

  • •The system is an indicator supply chain: hostile noisy inputs, safety-critical enforcement outputs, tiered freshness.
  • •Microsoft reports 65 trillion signals/day distilled into curated indicators; Cloudflare reported blocking 172 billion threats/day in 2023.
  • •Assumed scale: 50M active indicators, 120 feeds, 4K events/s average, 8,000 enforcement devices.
  • •Allowlists must always win over feed data — false blocks cost outages, misses cost detections.
  • •Four planes: ingestion, refinement, enforcement, analyst; degradation never flows upward into safety.
Lead With the Write Path
State in the first two minutes that pushing a wrong block to 8,000 firewalls is an outage, not a data error. This instantly reframes the problem from 'database with feeds' to 'safe distribution system' and separates you from candidates who only design the lookup.
Do Not Design a Passive Blocklist Cache
A design that stores indicators and answers lookups but never explains how block decisions reach WAFs, how duplicates merge, or how a bad indicator gets unblocked will fail a serious interview. The supply chain is the product.

Section Rescue Kit

Buzzwords to use:

Indicator of Compromise (IoC)Indicator Supply Chain

Safe statements:

  • "I will separate indicator freshness from enforcement correctness: compiled lists stay valid even when every feed is down."
  • "Before choosing storage, let me define which writes are safety-critical and which reads can be eventually consistent."
Design a Threat Intelligence Aggregator - System Design | WinJob | WinJob