Skip to content

Asset Correlation M92

Chris Sutton edited this page Nov 29, 2026 · 1 revision

Published documentation mirror. Edit the source through a repository PR. See Project status.

M9.2 — Asset identification and correlation (#79)

Status: accepted and merged; offline native correlation foundation. Builds on the accepted M9.1 inventory. No operational collector, manager report adapter, network lookup, evidence attachment or GUI is added.

Confidence contract (version 1)

Evidence / state Result
Valid passive observation, even with matching hostname/interface/IP Ok, None, no endpoint ID
Malformed observation Invalid, None, no endpoint ID
Current manager-side TLS proof equals current approved endpoint pin Ok, AuthenticatedIdentity, enrolled ID
Missing inventory or metadata from retired pin AuthenticatedIdentity; inventory unavailable; no comparison
Current-pin inventory AuthenticatedIdentity; hostname/interface agreement independently reported
Wrong, unknown, revoked or retired identity proof Denied, None, no endpoint ID; abort session
Unsafe, busy, corrupt or inaccessible registry/inventory Failure, None, no endpoint ID; abort session

Confidence describes authenticated source attribution, not verified physical identity, control of an IP, host metadata truth, monitoring consent or coverage. No numerical probability or heuristic merge is provided. The passive overload never reads storage or accepts a claimed ID. A trusted adapter must use the second overload only for a current decoded observation from the same manager-side TLS session, never for unrelated packets, historical events or third-party claims. The session and input storage must not be concurrently mutated by the caller. No replay or historical event attribution semantics are added by this read-only API; future transport must enforce framing, authorization, sequencing and provenance.

Metadata and bounded processing

Observation contains optional canonical zero-padded hostname (64 bytes) and interface label (16 bytes), plus an optional borrowed numeric IPv4/IPv6 literal. The address is checked using inet_pton after a bounded copy into a NUL-terminated buffer. Embedded NUL, oversize, DNS names, ports, CIDR and zone suffixes are rejected; numeric syntax is not a unicast, on-link, ownership or scope verdict. No DNS, probing, interface discovery, network connection or packet capture occurs. Address is neither returned nor persisted, and never participates in identity selection. Exact case-sensitive hostname/interface comparison against the current credential's inventory yields Matches, Differs, NotReported or NotCompared. Differences do not update inventory, change identity or authorize an interface. Missing fields are not matches. Existing M9.1 admission is the only metadata update path and still requires permitted policy and an increasing sequence.

Both entry points use fixed bounded inputs; authenticated correlation uses the existing private directory reopen guards, shared registry lock, enrollment lookup, validated record load and a second session proof check. No full inventory scan or new persistence format is needed. Results are point-in-time, not cached grants; rotation/revocation can invalidate them as soon as the lock is released. A future consumer must revalidate under an appropriate transaction when attaching evidence. No credential fingerprints, address or metadata strings are included in results.

Security and qualification

Supports the existing TB-01/TB-04, TH-001/TH-029 and I-14 separation of observation from authenticated identity. KS-NET-006/034/036/037/038/040/042 remain independent scope/consent requirements; no operational network gate is bypassed. The existing protected storage and same-UID trust assumptions remain applicable.

knetsentry_asset_correlation_contract uses real mutual TLS with two distinct approved peers reporting identical address, hostname and interface hints. It checks separate IDs, renames and address changes, absent/malformed hints, read-only inventory invariance, wrong/unknown/untrusted peers, unsafe descriptors and files, lock contention, pending transaction and corrupt record refusal, same-key metadata update, rotation and revocation. Both mandatory runtime markers must pass in the repeated Release and sanitizer gates. verify_m92_correlation.py checks source contracts; runtime tests remain required.

Operational agentless observation correlation, ambiguity resolution, temporal history, durable provenance and production manager/GUI integration remain open. No existing issue's operational acceptance is implied by this foundation.

Maintainer qualification (2026-11-29 UTC): 189 local gates, 611 CTests, 83 structural verifiers, nine hosted checks on 536ed1d and reported visual review/merge. Operational scope remains open.

Clone this wiki locally