Threat Intelligence: Collection to Context
Turn observations into useful context with provenance, confidence, deduplication and careful indicator handling.
Educational reference drafted for the Nullwire archive. This is not a claim of completed training or original research; verify examples and customise before presenting it as finished work.
Objective
Understand how security intelligence becomes actionable. A list of IP addresses or hashes is not automatically intelligence; without context it is difficult to assess relevance.
A practical lifecycle
Direction: Define the question: which threats are relevant to the organisation or lab?
Collection: Gather authorised internal observations and reliable public reporting.
Processing: Normalise timestamps, preserve source attribution and deduplicate repeated indicators.
Analysis: Assess confidence, relationships, freshness and uncertainty.
Dissemination: Communicate findings in language suitable for defenders or engineers.
Feedback: Track which findings improved decisions and which produced noise.
Example indicator record
{
"indicator": "198.51.100.24",
"type": "ipv4",
"source": "example training dataset",
"first_seen": "2026-01-01T00:00:00Z",
"confidence": "low",
"context": "Illustrative record, not a malicious verdict"
}
The address uses a reserved documentation range. Never label a real address malicious without defensible context.
Common engineering issues
An indicator can age out, be reassigned, point to shared hosting or be a false positive. A confidence score should not become an unexplained magic number. Store the reason for the assessment.
Lab exercise
Create a local JSON dataset with duplicate, expired and conflicting entries. Implement a normaliser that retains provenance and marks disagreements for review rather than silently dropping them.
Publication checklist
Before sharing findings, check licensing, personal information, lawful collection, source credibility and whether disclosure could harm an ongoing investigation.
Related: Detection Engineering.