Workflow:7onez Cti expert MISP Dissemination
| Knowledge Sources | |
|---|---|
| Domains | Threat_Intel, Information_Sharing, Detection_Engineering |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Two-step, gated dissemination of a finished case to a MISP instance — offline export of a reviewable event, then a separately-gated push and publish — ensuring no indicator leaves the analyst's control without an explicit, informed decision at each irreversible step.
Description
This workflow covers the IntelShare skill's two-step rail for turning a finished case into a MISP event and sharing it with a detection community. The sh_export.py tool produces the MISP event JSON offline (zero network code), classifying every artifact as AUTO, REVIEW, or NEVER based on the case's intake ownership class and per-artifact rules. The sh_misp.py client then handles the gated push (organisation-only, unpublished) and the separately-gated publish (raises distribution, flips published — the irreversible step). Each gate requires explicit confirmation; the publish step additionally requires the INTEL_MISP_PUBLISH=1 environment lock that an agent loop cannot set for itself.
Goal: A MISP event containing the case's operator-attributed indicators, shared with the appropriate audience, with personal data and third-party noise held back — produced through a process where every irreversible action requires an explicit human decision.
Scope: From a finished case directory through offline MISP event generation, classification, review, gated push to the analyst's own MISP instance, and separately-gated publish to sync servers and subscribers.
Strategy: The export and push are deliberately separated — the export writes a JSON file with no network code, so the analyst can review the event before anything leaves. The push creates the event on the analyst's own instance only (distribution 0, unpublished — nobody outside the org can see it, it can be deleted). The publish raises distribution and flips published — that is the irreversible one, and it requires both the analyst's confirmation and the environment lock.
Usage
Execute this workflow when:
- Input State: You have a finished case (assessment + raw collection + clusters in
cases/<case>/) and you need to share the attributed indicators with a MISP-consuming detection community. - Desired Output: A MISP event pushed to your instance, reviewed, and — if appropriate — published to sync servers and subscribers.
- When to use: When the case has reached a state where the indicators are stable enough to share (the operator is attributed, false positives are excluded) and the detection community would benefit from blocking or alerting on them.
Execution Steps
Step 1: Ownership Classification
Before any per-artifact rule fires, the export tool reads cases/<case>/scope.json to determine the intake ownership class. On a victim_host, the page's WHOIS, favicon, cert, and analytics belong to the VICTIM — they may not be shared as operator indicators. On a benign_check, nothing is shareable. With no scope, the class is unknown and every artifact is downgraded to REVIEW (requires a human for every value). This ownership question comes first because it overrides per-artifact classification.
Key considerations:
- The ownership-comes-first rule is the sharing-side analog of the victim-profile workflow's victim-vs-operator separation.
- An unknown intake class is the safe default — every artifact needs a human, nothing is auto-shared.
Step 2: Per-Artifact Three-Way Classification
The export tool maps each pivot artifact through references/misp.json and splits it three ways:
- AUTO — operator-provisioned infrastructure (domains, IPs, hosting the operator set up). These may be shared without per-value review.
- REVIEW — personal data (registrant name, phone), identity handles (emails, Telegram), and third-party-derived values. These are held back until a human says yes to those specific values.
- NEVER — page context, generated candidates, shared platform noise (CDN ranges, managed DNS), and our own operational data. These never leave.
The tool reuses tools/kb/noise_filters.py where it can find it. When the KB cannot be found (skill imported standalone without the repo's KB), it does NOT fall back to publishing everything — every AUTO artifact is downgraded to REVIEW and the reduced state is stated in the export's warnings.
Key considerations:
- A filter that quietly stops filtering is how bad indicators get shared — the never-fail-open-silent discipline.
- The
to_idsflag on an artifact means it will end up in a subscriber's blocklist — getting this wrong blocks legitimate traffic.
Step 3: Offline MISP Event Generation
The export tool writes the MISP event as a JSON file. There is no network code at all in sh_export.py — pushing is sh_misp.py's job, gated separately. The event JSON contains the classified attributes, the event metadata, and any warnings (e.g., noise filter unavailable, AUTO downgraded to REVIEW). The analyst can now open the file and review exactly what would be shared before any network call.
Key considerations:
- The export/push separation is the first guardrail — you can review the event before anything leaves.
- The warnings section documents any degraded state so the reviewer knows if the classification is operating at full or reduced capacity.
Step 4: Read-Only Pre-Check (Optional)
Before pushing, the analyst can run sh_misp.py keycheck (verify the MISP API key works) and sh_misp.py search <value> (check whether an indicator is already known to the instance). A value the community already has does not need re-sharing; a value nobody has is the one worth the trouble. These calls send nothing of the case — they are read-only.
Key considerations:
- Search-before-publish prevents redundant sharing — re-sharing known indicators wastes community attention.
- The read-only calls are the single most useful step before deciding to publish.
Step 5: Gated Push (Organisation-Only, Unpublished)
The analyst runs sh_misp.py push <event.json> --confirm-push. Without --confirm-push, the tool returns a briefing and sends nothing — the briefing states the instance, exact audience, attribute counts by type, how many carry to_ids (i.e., how many will end up in a blocklist), which values are personal data, and what cannot be undone. With confirmation, the event is created or updated on the analyst's OWN instance, always at distribution 0 (organisation only), always with published: false. Nobody outside the org can see it; no sync has happened; it can be deleted.
Key considerations:
- The push is reversible — the event exists only on your instance, unpublished, deletable.
- The staging clamp (enforced in code from
misp.json) means a caller asking for distribution 3 at push time gets an organisation-only event and is told so. - The harness adds a second lock:
engage_submit-style audit gate — an agent loop cannot reach the push on its own.
Step 6: Separately-Gated Publish (Irreversible)
The analyst runs sh_misp.py publish <event_id> --confirm-publish. This step raises the distribution level and flips published to true — MISP pushes to every sync server and notifies subscribers. Deleting your copy afterwards deletes nothing of theirs. This step requires both the analyst's --confirm-publish AND the environment lock INTEL_MISP_PUBLISH=1 — which an agent loop cannot set for itself. Without both, the tool returns a briefing and sends nothing.
Key considerations:
- This is the only irreversible action in the workflow — once published, the indicators are on every sync server and cannot be recalled.
- The
INTEL_MISP_PUBLISH=1environment lock is the second gate beyond the in-code confirmation flag — gated twice, on purpose (CLAUDE.md RULE 6). - The briefing (not a summary) shows the decision: counts, audience,
to_idscount, personal-data values, and the irreversibility statement.