Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Workflow:7onez Cti expert Domain Investigation

From Leeroopedia
Knowledge Sources
Domains OSINT, Threat_Intel, Attribution
Last Updated 2026-10-28 14:00 GMT

Overview

End-to-end LLM-driven investigation of a domain seed, from prior-knowledge recall through WebPivot collection, KB correlation, falsifiable attribution assessment, and a schema-forced Intelligence Assessment.

Description

This workflow is the primary interactive investigation path invoked by /cti <domain>. It uses the IntelHarness orchestrator — a phased LLM agent loop — to run a multi-round investigation against a single domain seed, spending model reasoning on judgment while delegating deterministic collection to the WebPivot skill's tools.

Goal: A validated, schema-forced Intelligence Assessment that names the operator behind the domain (or the strongest honest substitute), persisted to cases/<case>/assessment.{md,json}.

Scope: From target classification and prior-knowledge check, through full DOM/WHOIS artifact extraction, KB ingestion, falsification-board clustering, timeline contemporaneity checks, and the final ICD-203-style assessment.

Strategy: The orchestrator pins one skill body per phase as the system prompt (WebPivot for Collect, IntelAnalysis for Correlate/Assess) and exposes only that phase's tool subset. Correlate and Assess run in a fresh session reading facts from the KB, keeping the expensive judgment transcript small. A per-round proposal gate approves or rejects each pivot before credit is spent.

= Usage

Execute this workflow when:

  • Input State: You have a single domain (or IP) that you suspect is part of a scam, fraud, or malicious infrastructure campaign, and you need to identify and attribute the operator behind it.
  • Desired Output: A persisted, evidence-backed assessment that names the responsible actor with calibrated confidence, plus a case graph, network visualization, and timeline.
  • When to choose this over Deterministic_Case_Pipeline: When you want adaptive, LLM-driven judgment (the orchestrator chooses the next pivot based on what it has found) rather than a fixed deterministic sequence. This path is preferable for a single high-value target where reasoning about what to collect next matters more than running the same pipeline on a batch.

Execution Steps

Step 1: Recall and Target Classification

Before spending any credits, the workflow checks the knowledge base for prior coverage of the seed (the recall step). If the domain is already part of an existing case or the operator registry, the investigation resumes from known state rather than starting cold. The target is then classified by type — a domain routes into the full WebPivot collection pipeline.

Key considerations:

  • Recall is mandatory and runs before collection — it prevents redundant spending and surfaces cross-case links.
  • Target type determines which collection sub-skill activates; a domain seeds WebPivot, a binary seeds BinaryPivot, a social URL seeds the social-intake flow.

Step 2: Plan Phase

The orchestrator's Plan phase reads the case scope and prior KB state, then formulates a collection plan: which pivot dimensions to cover, which enrichment sources to try, and what the first round of collection should target. The plan is constrained by the keyless-by-default capability report — the orchestrator knows which tools are available without API keys and which would spend credits.

Key considerations:

  • The plan accounts for what keys are present (keyless tools always run; keyed tools are proposed, not assumed).
  • A per-round proposal gate must approve the plan before collection begins.

Step 3: Collect Phase (WebPivot)

The WebPivot skill is pinned as the system prompt. The orchestrator drives pivot_extract against the target — fetching the page, extracting DOM/HTML artifacts (favicon mmh3 hash, GA4/GTM/UA IDs, verification tokens, affiliate/referral codes, JS-bundle hashes, embedded wallet handles), building ranked pivot queries, and running live enrichment when keys are present (WHOIS spine via whois_enrich, reverse-search via recon clients). Each collection result is persisted to cases/<case>/raw/<host>.json in WebPivot-shaped JSON.

Key considerations:

  • Collection is keyless by default — extraction, query generation, keyless-RDAP WHOIS, and passive Wayback/urlscan all run with zero API keys.
  • Platform boilerplate (Wix/Shopify defaults) is filtered so it cannot create false same-operator clusters.
  • The proposal gate approves or rejects each new pivot target before it is collected.

Step 4: Ingest Phase (KB Adapter)

The ingest_webpivot adapter turns the raw collection JSON into atomic, provenance-carrying facts and edges in the knowledge base. Each shared artifact (favicon, analytics ID, verification token, registrant email, nameserver) becomes an indicator entity, and the domain gets an attributed edge to it. Domains sharing an indicator are auto-linked. Noise filters (managed DNS, privacy proxies, CDN ranges) are applied during ingestion so shared-infra artifacts do not manufacture false clusters.

Key considerations:

  • Ingestion is idempotent — re-running a host updates its rows, never duplicates.
  • The rung table (rungs.json) splits artifacts into owner (may seed edges), kit (facts only), and neighbour (collected, never attributed) — same-kit is not same-operator.

Step 5: Correlate Phase (IntelAnalysis)

A fresh LLM session reads the KB via the query tool. The hypothesize scaffold clusters domains sharing KB indicators via union-find, classifies binding artifacts through _tier() into attribution-grade / corroborating / noise, and emits testable hypotheses: HYPOTHESIS (these domains are one operator, bound by specific artifacts), CONFIDENCE (assessed/likely/lead), DISCONFIRM (an artifact that should NOT be shared if the hypothesis is true, plus the check to run), and QUESTIONS (open analyst questions).

Key considerations:

  • uses_nameserver is conditional: delegation to a managed DNS provider is noise; delegation to a self-hosted nameserver is attribution-grade.
  • The timeline tool (case_timeline) must be run before believing a cluster — a shared artifact only links two hosts if both carried it at the same time (contemporaneity test).

Step 6: Assess Phase (Schema-Forced)

The Assess phase is schema-forced via output_format — the LLM must emit a validated Assessment object. This is rendered to the terminal and persisted to cases/<case>/assessment.{md,json}. The assessment follows ICD-203 analytic standards: BLUF, Key Judgments with words of estimative probability and calibrated confidence, a clean split between reported fact and analytic assessment, and source/collection summary.

Key considerations:

  • The schema force is the guardrail that prevents the LLM from delivering a vague narrative instead of a structured judgment.
  • The assessment names the operator, or the strongest honest substitute (persona, or unnamed-but-characterised operator), with evidence and confidence.

Step 7: Verify and Report

The Verify phase checks the assessment against the convergence criteria — has every attribution-grade lead been confirmed or killed, are there outstanding disconfirmation checks, is the confidence calibrated. The case is then rendered: the house-style PDF/DOCX (house_report), the case graph and interactive network HTML (render_network), and the timeline figure. Everything is persisted to the case folder — a run is only "done" when it is on disk.

Key considerations:

  • The convergence/stop-condition check prevents premature closure.
  • The house report runs with zero LLM — it composes the editorial deliverable from what the case directory already holds.

Execution Diagram