🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Threat Intelligence: IOCs, STIX/TAXII and Hunting

Threat AnalysisThreat IntelligenceđŸŸĸ Free Lesson

Most organizations buy threat intelligence and end up with a larger blocklist. The raw material — file hashes, domains, IP addresses — is abundant and almost free, which is precisely why it stops being valuable: every indicator in a public feed is already in your adversary's toolkit too. Intelligence earns its keep when it changes a decision, whether that decision is a blocking rule, a hunt query, or a budget conversation with the board. That requires curation, context, and a feedback loop from the detection pipeline back to whoever chose to consume the feed in the first place.

Four levels of intelligence, four different audiences

The mistake in most programs is feeding executive summaries to analysts and indicator lists to executives. Each level answers a different question and has a different shelf life, and a program that only produces one of them will be ignored by the other audiences.

LevelAudienceQuestion answeredShelf lifeExample output
StrategicExecutives, boardWhich risks should we fund?1–3 yearsSector-wide ransomware trends and cost
TacticalSecurity leadsWhich adversary techniques must we defend?6–12 monthsTTPs used against peers in our industry
OperationalSOC and hunt teamsIs a specific campaign targeting us now?Days to weeksActive campaign using this loader and C2 range
TechnicalDetection engineersWhat do I block or hunt for today?Hours to daysFresh hashes, domains, and infrastructure

Strategic work protects you from surprises that take years to unfold; technical work protects you from the intrusion starting this afternoon. A healthy program produces all four on a documented cadence, and every technical item should link back upward — an analyst who knows why a domain matters blocks it with more conviction than one who pasted it from a spreadsheet.

Indicators of compromise: cheap to collect, easy to burn

An indicator is a observation, not a fact about intent. Its usefulness depends on specificity, stability over time, and how many other defenders already act on it. A SHA-256 of a known malicious binary is highly specific but trivially changed by the attacker; a freshly registered look-alike domain is moderately specific and lasts until takedown; an IP address may be shared infrastructure or an innocent cloud host that has already been recycled. Weighting each indicator accordingly is what separates a usable store from a noisy allowlist.

python
from dataclasses import dataclass, field
from datetime import datetime, timedelta, timezone

@dataclass
class Indicator:
    type: str            # domain, ipv4, sha256, url, email
    value: str
    confidence: int      # 0-100
    source: str
    first_seen: datetime
    expires: datetime | None = None
    tags: list[str] = field(default_factory=list)

    @property
    def is_expired(self) -> bool:
        return self.expires is not None and self.expires < datetime.now(timezone.utc)

    @property
    def weight(self) -> float:
        # Hashes decay fast because attackers mutate them; infrastructure
        # and tradecraft indicators hold value longer.
        base = self.confidence / 100
        if self.type == "sha256":
            return base * 0.5
        if self.type in ("domain", "url"):
            return base * 0.9
        if self.type == "ipv4":
            return base * 0.6
        return base

def actionable(store, threshold=0.6, min_age_hours=0):
    now = datetime.now(timezone.utc)
    for ind in store:
        if ind.is_expired:
            continue
        if (now - ind.first_seen) < timedelta(hours=min_age_hours):
            continue
        if ind.weight >= threshold:
            yield ind

# A 12-hour-old domain at confidence 90 outranks a week-old hash at 70,
# and both fall out of the blocklist without anyone editing it by hand.

Expiry is not optional. Indicators that never age out accumulate until the blocklist is so noisy that operations demands it be turned down, which takes your detections with it. Give every indicator an owner and a review date, and let confidence decay automatically when a source has not confirmed it recently.

Exchanging intelligence with STIX and TAXII

Sharing with partners, ISACs, or a commercial feed requires a common format, and STIX (Structured Threat Information Expression) with TAXII (Trusted Automated Exchange of Indicator Information) is the standard that makes this possible. STIX objects describe the indicator, its context, and its provenance; TAXII provides the transport — typically a collection endpoint that clients poll on a schedule. Without structure, every exchange becomes a bespoke CSV format that someone has to hand-maintain forever.

{
  "type": "indicator",
  "spec_version": "2.1",
  "id": "indicator--8f3c1a7e-4b2d-4e9a-9c11-2f6d5a8b0e31",
  "created": "2026-02-14T09:30:00.000Z",
  "modified": "2026-02-15T11:05:00.000Z",
  "name": "C2 domain used by finance-themed phishing cluster",
  "description": "Observed in three campaigns targeting our sector since 2026-02-10.",
  "pattern": "[domain-name:value = 'secure-login-cdn.example']",
  "pattern_type": "stix",
  "pattern_version": "2.1",
  "valid_from": "2026-02-14T09:30:00.000Z",
  "valid_until": "2026-03-16T09:30:00.000Z",
  "confidence": 85,
  "labels": ["malicious-activity", "c2"],
  "kill_chain_phases": [
    { "kill_chain_name": "mitre-attack", "phase_name": "command-and-control" }
  ]
}

Two practical points decide whether an exchange works. First, agree on confidence semantics with your partners — a 40 from one organization may mean "speculative" while another means "probable." Second, never auto-block an inbound indicator without a confidence floor; one partner's aggressively labeled feed will otherwise produce a self-inflicted outage. Import to a staging list, watch it for false positives, then promote.

Writing a hunt hypothesis that can be answered

Threat hunting is often described as "looking for suspicious activity," which cannot fail and therefore proves nothing. A usable hunt starts as a falsifiable hypothesis grounded in how an adversary would behave in your environment, and ends with either evidence or a documented rule-out. The example below targets a specific technique — script execution from a user's temporary directory followed by an outbound connection — and encodes the search so the result can be reviewed by someone other than its author.

python
HYPOTHESIS = (
    "An adversary with initial access will execute a script from a "
    "per-user temporary directory and then open an outbound TLS session."
)

HUNT_QUERIES = [
    "process where event.type='start' and process.path:'*/Temp/*.ps1'",
    "process where event.type='start' and process.parent.name:'winword.exe' "
    "and not process.path:'*/Program Files/*'",
    "network where destination.port=443 and process.path:'*/Temp/*'",
    "file where path:'*/Temp/*.lnk' and creator.name != null",
]

def evaluate(results_by_query):
    findings = []
    for query, rows in results_by_query.items():
        hosts = {r["host"] for r in rows}
        if rows:
            findings.append({
                "query": query,
                "matches": len(rows),
                "hosts": sorted(hosts),
                "first_seen": min(r["@timestamp"] for r in rows),
            })
    return findings

def write_up(findings, window="30 days"):
    if not findings:
        return ("Hypothesis not supported in the last " + window +
                ". No host matched the sequence; documented as ruled out "
                "with coverage gaps listed.")
    return ("Hypothesis supported: " + str(len(findings)) +
            " queries matched across " +
            str({h for f in findings for h in f["hosts"]}) + " hosts.")

The negative result matters as much as the positive one. A hunt that finds nothing should record which data sources were missing or which coverage gap prevented a conclusion, otherwise the same hunt gets repeated every quarter with the same blind spot.

Mapping everything to MITRE ATT&CK so findings compound

Technique-level mapping is what makes intelligence accumulate. Without it, each incident produces an isolated report; with it, you can see that four separate investigations all involved credential dumping over a domain controller, which is a control gap rather than four unrelated events. The matrix also gives you a coverage view: list the techniques your detections address against the techniques relevant to your sector, and the white space becomes a prioritized backlog.

ATT&CK tacticRepresentative techniqueDetection source that usually catches it
Initial accessSpearphishing attachmentEmail gateway, sandbox detonation
ExecutionPowerShell with encoded commandEndpoint process logging, script block logging
PersistenceNew scheduled taskConfiguration change auditing
Privilege escalationToken manipulationBehavioral endpoint analytics
Credential accessLSASS memory accessKernel-level EDR hooks, canary credentials
DiscoveryActive directory enumerationDirectory service logs, honey accounts
Lateral movementRemote services with valid accountsAuthentication anomaly baselines
ExfiltrationTransfer over web serviceEgress flow analysis, DLP

Automate the mapping at ingestion: when an indicator arrives carrying kill-chain phases or technique identifiers, store them with the indicator so every detection it later triggers inherits context. The payoff appears in reporting — you can answer "are we better defended against initial access than we were a year ago" with data instead of opinion.

Closing the loop from detection back to source

Intelligence programs die when there is no feedback. If a blocking rule built from a feed causes an outage, that fact must reach the person who selected the feed; if a hunt proves an adversary's infrastructure is already inside your logs, the source deserves higher trust. Capture three events for every indicator: when it was ingested, which control consumed it, and whether that control's outcome was a true positive, false positive, or no action. That ledger is also the only evidence you will have when it is time to renew or cancel a subscription.

â„šī¸Start with your own telemetry

Before buying another feed, mine your own logs for a week: the incidents, blocked deliveries, and EDR alerts you already generate are intelligence with guaranteed relevance. External feeds should fill gaps you have identified, not substitute for looking at what you already collected.

Common Mistakes

Treating every indicator from a premium feed as an automatic block

Fix: Apply a confidence floor, stage new indicators for observation, and promote them only after false-positive review.

Collecting indicators with no expiry, letting the blocklist grow until operations disables it

Fix: Set validity windows, decay confidence automatically, and give each indicator an owner and review date.

Hunting with the goal of finding something rather than answering a question

Fix: Write falsifiable hypotheses up front and document negative results as ruled-out with coverage gaps noted.

Reporting incidents without mapping them to adversary techniques

Fix: Tag every finding with ATT&CK techniques so repeated weaknesses surface as control gaps instead of isolated events.

Buying feeds without a feedback path from controls back to procurement

Fix: Record which control consumed each indicator and what happened, then use that ledger at renewal time.

Best Practices

  • Produce intelligence at all four levels and link technical items upward to the strategic question they support.
  • Weight indicators by type and confidence, and let infrastructure and tradecraft outweigh mutable hashes.
  • Adopt STIX for structure and TAXII for transport so partner exchanges do not require custom integrations.
  • Tie every hunt to a hypothesis, an owner, and a written conclusion — including the conclusion that the hypothesis failed.
  • Track detection coverage against ATT&CK techniques to turn intelligence into a defensible backlog.

Key Takeaways

  • Intelligence is defined by the decision it changes, not by the volume of indicators collected.
  • Indicators decay: hashes fastest, infrastructure slower, and tradecraft slowest — so expiry and weighting are mandatory.
  • STIX and TAXII standardize sharing, but confidence thresholds must be agreed before automated blocking is safe.
  • Falsifiable hunt hypotheses produce evidence; vague curiosity tours produce unverifiable hunches.
  • ATT&CK mapping lets individual findings compound into a view of which controls are structurally weak.
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-12

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert Cybersecurity Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement