Heuristic:7onez Cti expert Prevalence Ceiling
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Attribution, Optimization |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Indicators carried by more than `max_prevalence` (default 8) domains are treated as generic infrastructure noise and excluded from clustering — raise it for large cases, lower it for tighter attribution.
Description
The `max_prevalence` parameter (default 8) is a KB-wide ceiling: any indicator shared by more than this many domains is considered generic noise (shared hosting, CDN, parking infrastructure) and is dropped from the cluster partition. Unlike the fanout caps (which operate on the union-find binding step), `max_prevalence` operates earlier — it filters which indicators are even considered as cluster bindings. It is used by `query.py`'s `_components()`, `intel.py`'s `_write_clusters()`, and `reference.py`'s `ingest_case()`.
The landlord rule works alongside this: an IP that the case's own reverse lookups show answering more than `SHARED_HOSTING_MAX_COHOSTS` distinct apexes is a landlord (shared/bulk hosting), and a `hosted_on` edge to it is co-tenancy, not ownership. Analyst-approved edges bind past this rule.
Usage
Use this heuristic when tuning clustering noise sensitivity:
- Raise `max_prevalence` (e.g. to 15-20) when investigating a large case where the operator legitimately controls many domains sharing one infrastructure indicator. Useful when the KB is large and diverse.
- Lower `max_prevalence` (e.g. to 4-5) when you need tight attribution and the KB is small. This drops more indicators as noise, reducing false merges at the cost of missing some true links.
- Keep default (8) for standard cases — it balances false-merge prevention against link coverage.
The Insight (Rule of Thumb)
- Action: Set `--max-prevalence` on `hypothesize.py`, `query.py`, `intel.py clusters`, and `reference.py ingest`.
- Value: Default 8. Range 4-20 depending on case scale and KB diversity.
- Trade-off: Higher = more links retained but more false merges. Lower = fewer false merges but more missed true links.
- Landlord interaction: The landlord rule (IP co-host count) is a separate cap (`SHARED_HOSTING_MAX_COHOSTS`, default 12) that applies specifically to IP-hosted_on edges. Analyst-approved edges bind past both caps.
Reasoning
An indicator on 2-3 domains is likely a discriminating signal. An indicator on 50 domains is shared infrastructure. The boundary between these is the prevalence ceiling. The default of 8 was calibrated to catch the common case: a small operator cluster sharing an indicator that is also on a handful of unrelated domains (a parking IP, a shared template). Setting it too high would let CDN edges and bulk-hosting IPs drive clustering, manufacturing false operators. Setting it too low would drop legitimate binding artifacts on larger portfolios. The landlord rule provides a second, IP-specific layer because IP co-tenancy has a different noise threshold than general indicator prevalence.