Heuristic:7onez Cti expert Landlord IP Detection
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Attribution, Debugging |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
An IP answering more than `SHARED_HOSTING_MAX_COHOSTS` (default 12) distinct registrable apexes is a landlord — co-tenancy, not ownership — and `hosted_on` edges to it are excluded from clustering.
Description
A "landlord" IP is a shared/bulk hosting server or CDN edge: many unrelated domains resolve to it because they all rent space there, not because one operator controls them all. The `landlord` rule identifies these IPs using the case's own reverse lookups: when an IP's co-host count (distinct registrable apexes answering on it) exceeds `SHARED_HOSTING_MAX_COHOSTS` (default 12, from `noise_filters.json`), the IP is classified as a landlord.
The rule has three effects:
- Ingest: `ingest_webpivot.py` records the `hosted_on` edge as a fact (the KB is a fact store), but logs a caveat: "shared/bulk hosting, not an owner link."
- Clustering: `query.py`'s `_components()` and `intel.py`'s `_write_clusters()` exclude landlord IPs from the cluster partition — co-tenancy is not ownership.
- Frontier: `case_state.py` holds landlord co-tenants back as a lead, not a cluster member.
Analyst-approved edges bind past the landlord rule: if the analyst explicitly approved a `hosted_on` edge (via `case_state.approved_edge_allow`), it clusters regardless of the landlord classification — the approval IS the evidence.
Usage
Use this heuristic when:
- Debugging false clusters driven by shared IPs: If two domains cluster only on a shared `hosted_on` IP, check whether that IP is a landlord (co-host count > 12). If so, the edge should have been excluded — the cluster is a false merge.
- Investigating origin IPs: The landlord rule applies to the CDN edge, not the origin. Use `wp_origin_history.py` to find the true backend IP behind the CDN — a shared origin IP (not a CDN edge) is a real signal.
- Overriding the rule: Analyst-approved edges bind past the landlord rule. Use this when you have independent evidence (e.g. WHOIS history showing the same registrant) that the co-tenancy is actually ownership.
The Insight (Rule of Thumb)
- Action: Tune `SHARED_HOSTING_MAX_COHOSTS` in `noise_filters.json` (the ONE number the frontier and KB share).
- Value: Default 12 distinct registrable apexes. Above this, the IP is a landlord.
- Trade-off: Raising the threshold → more IPs cluster (risk of false merges on VPS hosts). Lowering → fewer IPs cluster (risk of missing true co-hosted operator domains).
- Approval overrides: Analyst-approved edges bind past the landlord rule AND the `max_prevalence` cap. The approval is the evidence.
Reasoning
A VPS or shared-hosting server routinely hosts 20-50 unrelated domains. An IP answering 30 apexes is almost certainly a landlord, not an operator controlling 30 domains. The case's own reverse lookups (passive DNS, urlscan) provide the co-host count — the same data the ingester uses to record `hosted_on` edges. By reading this count at ingest time and storing the landlord classification, the KB, the cluster partition, and the frontier all agree on which IP is a landlord. This prevents the most common IP-driven false cluster: two scam domains that happen to share a Hostinger VPS. The threshold of 12 was calibrated against real hosting densities — a small operator might have 5-10 domains on one IP, but 12+ is the zone where shared hosting dominates. The approval override exists because sometimes a landlord IP genuinely hosts one operator's entire portfolio — the analyst's independent evidence (WHOIS, wallet, template) should override the statistical default.