Skip to content

Threat Verification Matrix

Chris Sutton edited this page Nov 28, 2026 · 6 revisions

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

KnetSentry — Threat Verification and Ownership Matrix

Issue: M0.3 / GitHub #3 Status: Original M0.3 test specifications retained; at that baseline, no tests listed here have yet been implemented or executed. As of M3.8, selected subsets are implemented and qualified (see progress below). Threat source: THREAT_MODEL.md and THREAT_REGISTER.md. Existing network-specific cases: NETWORK_SCOPE_VERIFICATION_PLAN.md.

Verification method and acceptance evidence

Tests should run against deterministic fixtures or isolated test networks; never probe unrelated Internet systems or alter the developer's normal firewall. Future security reviews must record environment, threat IDs, requirement IDs, expected/observed outcomes, regressions, and any uncovered limitations. A passing unit test is not sufficient evidence for a Linux host-enforcement claim; systemd/nftables effectiveness needs integration verification on Ubuntu 26.04. Real agentless capture acceptance requires actual visibility from a supported sensor/source, not an invented flow.

The TV-## IDs are verification work items, not GitHub issue numbers.

M3.8 progress: TV-08 has partial evidence from local IPC lifecycle tests and desktop scope inspection. TV-09 has partial evidence from fail-closed authorization, firewall and adversarial tests. These do not qualify a privileged administrative API, operational transport, monitoring, or deployed end-to-end enforcement. TV-27 has partial confinement evidence from systemd. No TV item is closed by this refresh; see accepted baseline.

M4.1 implementation: KSAP 1.0 adds offline framing and connection-local sequence regression coverage for TV-07. M4.1 target acceptance passed; cross-connection replay and authenticated ingestion remain unqualified. No threat is closed.

M4.2 implementation: identity contract adds partial TV-06 evidence for protected key storage, explicit trust roots, certificate purpose, validity and pinned public-key identity. Target M4.2 acceptance passed. Issuance, enrollment, rotation and revocation remain required. No threat is closed.

M4.3 implementation: mutual TLS adds partial TV-06 proof-of-possession and invalid-peer handshake evidence; operational network binding and enrollment/revocation remain unqualified. Target M4.3 acceptance passed.

M4.4 implementation: explicit enrollment adds partial TV-01/TV-06 evidence for administrator-approved unique ID/pin bindings and TLS-backed admission. Unknown or mismatched endpoints deny; passive discovery cannot create approvals. Production RBAC, revocation and network integration remain unqualified. No threat is closed.

M4.5 implementation: credential lifecycle adds partial TV-06 evidence for persistent retired pins, explicit rotation and revocation, established-session expiry and terminal admission revalidation. Production issuer, trusted time, manager trust distribution and operational session invalidation remain unqualified. No threat is closed.

M4.6 implementation: agent heartbeat and health adds partial TV-06/TV-07/TV-13 evidence for authenticated reports, bounded framing, current enrollment, missing/degraded health and retry scheduling. No threat is closed.

Test ID Expected observable security outcome Planned owner Proposed evidence
TV-01 Approved segment supports agentless observation; unapproved interface/payload retention denied; passive discovery never grants management M3.1 / M5.10 Approved/denied scope fixture, consent and permission logs
TV-02 Spoofed/reassigned local IDs stay uncertain; non-mirrored switch and dropped data produce incomplete coverage state M5.10 / M9.2 / M9.6 DHCP/IP/MAC change fixtures, loss counters, coverage screenshot
TV-03 Forged/unauthorized gateway, DHCP, syslog and export records cannot inherit trusted identities M5.10 / M9.4 Spoofed source fixtures and source trust labels
TV-04 Crafted packets and device-export inputs cannot trigger unchecked access, crash or unbounded parse M5.10 / M13.3 Fuzz seed corpus, sanitizer results, parser limits
TV-05 Floods result in bounded queues/CPU/disk and explicit loss/backpressure reporting M6.1 / M14.3 Rate-driven load test and queue metrics
TV-06 Bad/stolen/revoked certs, rogue enrollment and wrong identities do not acquire trusted agent rights M4.2–M4.8 Controlled PKI/enrollment negative tests and revocation record
TV-07 Replay, reordered, duplicated and malformed agent messages are rejected or safely deduplicated M4.1 / M4.8 Protocol transaction corpus and sequence assertions
TV-08 Unauthorized local IPC peers cannot read or modify sensitive manager resources M2.3 / M2.8 Unix peer identity/role negative tests
TV-09 Invalid policy, hostile data, route changes and firewall changes fail closed for affected operations M3.1–M3.7 Isolated namespace route/firewall and rollback evidence
TV-10 Malformed timestamps, types, encodings and injections are rejected/annotated without corrupting trusted event state M6.1–M6.9 Schema and timestamp fixtures, fuzz/sanitizer results
TV-11 Evidence changes, unauthorized incident edits and audit gaps are detectable and appropriately attributed M6.5 / M11.2 / M11.8 Integrity checks, audit regression, tamper fixtures
TV-12 Rule changes and suppression require authorization; poisoned events do not silently erase detection evidence M7.5 / M7.8 / M10.8 Positive/negative fixtures and rule audit trails
TV-13 Dropped frames, failed exports, disabled sources and overload are surfaced as degraded visibility M5.10 / M14.3 Sensor impairment test, health telemetry and UI state
TV-14 DNS rebinding, unapproved redirect/proxy, TLS error and internal IP targets cannot bypass provider restriction M3.9 Local mock HTTPS/DNS; egress capture and deny logs
TV-15 Oversized/malicious/stale feeds cannot corrupt storage or present stale indicators as fresh M10.9 / M13.3 Provider fixtures, validation and cache-version tests
TV-16 External sync is opt-in and never uploads raw private telemetry; queried indicator disclosure is explained M3.9 / M10.9 Outbound capture, privacy settings, request audit
TV-17 Hostile log content cannot cause AI privileged operations or unaudited evidence claims M12.6 / M12.9 Prompt-injection corpus, tool authorization denials
TV-18 Untrusted model files do not execute outside restricted, approved model interface M12.2 / M12.3 Malformed model fixtures, provenance and isolation test
TV-19 AI worker remains offline and within resource/IPC budgets under hostile inputs M12.2 / M12.9 OS network denial test, resource cap and fault injection
TV-20 Response disabled by default; false alert never triggers action absent independently approved scope M11.5 Authorization negative tests and response audit
TV-21 Exports obey authorization, redaction and path handling rules M11.6 / M11.8 Sensitive fixture, unauthorized export denial
TV-22 OUI/IP-only device cannot be assigned confirmed firmware or CVE applicability M9.2 / M10.9 Ambiguous asset/firmware and CVE matching fixtures
TV-23 Passive collection never scans; separately enabled local discovery is rate/scope bounded M3.1 / M9.5 Packet capture of passive and authorized active tests
TV-24 Third-party dependency/CI/package inputs are inventoried and verified against accepted provenance M0.6 / M13.7 / M15.5 Dependency locks, SBOM, build/release evidence
TV-25 Secrets are redacted from logs, traces and diagnostics M1.6 / M13.1 Secret marker fixtures and CI artifact inspection
TV-26 Disk-full, quota, retention and recovery behavior is bounded and visible M6.7 / M14.4 Filesystem capacity/fault tests and recovery logs
TV-27 GUI/capture/manager permissions prevent unintended privilege escalation M2.7 / M13.6 Service capability/unit inspection, adversarial checks
TV-28 Administrative IPC never binds publicly or exposes remote management endpoints M2.3 / M3.5 Socket/listener inspection and namespace network tests
TV-29 Lost administrator sessions cannot silently expand source approvals or access controls M2.3 / M11.1 Authentication/authorization and audit tests
TV-30 Interrupted migrations preserve consistency and support tested recovery M6.4 / M14.4 Transaction rollback and restore fixtures

Traceability and lifecycle rules

  1. M0.3: The threat model, register, and this matrix are complete only when every threat ID maps to a proposed mitigation, requirement, owner, and test.
  2. M0.4 (design complete): The architecture traceability index maps TB-01–TB-12 and TH-001–TH-042 to proposed component and interface ownership, including data origin, parser isolation, and egress. Deployment and control-effectiveness verification remain future work.
  3. M3–M7: Build the network, identity, ingestion, agentless, and detection tests, recording CI or controlled laboratory evidence. The roadmap's additional M3.9, M5.10, M7.10 and M10.9 issues are proposed IDs until confirmed in GitHub.
  4. M9–M12: Expand asset provenance, uncertainty, response safety, and optional AI risks as new interfaces are delivered.
  5. M13–M15: Reassess likelihood and impact after actual controls exist; record any residual risk rationale and block release on unresolved release-blocking findings.

No missing sensor data, unimplemented control, unexecuted test, or unknown residual risk may be reported as a successful security assurance result.

Baseline contract cross-check

KS-NET-001–KS-NET-042 are authoritative network requirements in NETWORK_SCOPE_REQUIREMENTS.md; not every requirement has its own threat-row because some define permitted capabilities rather than specific attacks. The existing NETWORK_SCOPE_VERIFICATION_PLAN.md provides individual MON-*, CTL-*, INT-* and OPS-* cases. Threat tests supplement, not replace, those requirements or their verification plan.

M4.7 partial interface evidence

Desktop enrollment management adds read-only authorization, bounded roster validation, and explicit unavailable-state evidence at TB-05 / I-01 / I-23, supporting TV-01, TV-06 and TV-13 without claiming operational agent or administrative GUI qualification.

M4.8 composed authentication and transport evidence

The M4.8 regression contract adds mandatory controlled TLS, enrollment and KSAP failure tests for TV-06 and TV-07, with health invalidation supporting partial TV-13 evidence. Target-host qualification is pending; operational adapters and full threat closure remain outside this scope.

M5.2 local journal metadata and checkpoint evidence

The M5.2 journal contract introduces partial bounded-input, provenance, privacy and recovery evidence for the future TB-06/TB-07 ingestion/storage boundaries. It exercises native selected journal records, message exclusion, checkpoint recovery and a fixed capacity; this supports TV-13, TV-25 and TV-26 (including TH-033 and TH-034), not full coverage, disk-fault or production-storage qualification. DEP-008 introduces an additional TB-10/TV-24 dependency review responsibility. No operational TB-04 transport or authorization is introduced. Target-host acceptance is pending.

M5.3 authentication observations

The M5.3 contract adds partial evidence for TB-06/TB-07 and TV-13/TV-25/TV-26 (bounded untrusted messages, provenance, recovery and minimization). Classification is advisory; source spoofing, completeness, correlation, and production evidence integrity are not closed by this test. No additional privileges or external transport.

M5.4 Linux Audit observations

The M5.4 contract contributes partial TB-06/TB-07, TV-13/TV-25/TV-26 evidence for structured audit provenance, minimization, recovery and unavailable-source handling. No direct audit control, rule mutation or privileged helper is introduced. Complete coverage, event assembly and production evidence integrity remain unqualified.

M5.5 secure telemetry buffering and delivery

The M5.5 contract adds partial TB-04/TB-06/TB-07, TV-06/TV-07/TV-13/TV-25/TV-26 evidence for bounded FIFO, current enrollment, authenticated ACK, duplicate handling, backpressure and protected state. No operational socket, complete ingestion or storage security qualification is claimed.

M5.6 initial file integrity monitoring

The M5.6 contract adds partial TB-06 and TV-13/TV-25 evidence for explicit file scope, bounded untrusted filesystem inputs, fixed diagnostics and privacy minimization. No new privileges, raw content persistence or operational transport; polling and race limitations remain documented rather than claiming complete filesystem confinement.

M5.7 privacy and data-minimization controls

The M5.7 contract contributes partial TB-06/TB-07 and TV-13/TV-25/TV-26 evidence for explicit source/permit checks, exclusion precedence, no denied-file content access, acquisition-time redaction and rejection of old or differently bound state. Native auth fixture and actual agent tests use synthetic data. No threat is closed; independent policy administration, receiver-side enforcement and operational consent remain future qualification responsibilities.

M5.8 collector failure recovery

The M5.8 contract adds partial TB-06/TB-07 and TV-13/TV-26 evidence for source failures, malformed and duplicate records, permissions, pending-file collisions, abrupt process exit and queue backpressure, and partial TB-04/TV-06/TV-07 evidence for failed durable TLS receipt/ACK transactions. Synthetic-only tests preserve TV-25 privacy controls. No threat closure, power-loss proof or operational delivery is claimed.

M5.9 local status presentation

The M5.9 contract adds representative partial TB-06/TB-07 and TV-13/TV-25 evidence for minimized aggregate status and bounded validation of untrusted local reports. Descriptor provenance is launcher-controlled, not independently authenticated. No raw records or private source values are published; counts/timing may be sensitive. No operational I-07, independently authenticated status or threat closure is claimed.

M6.1 authenticated ingestion

The M6.1 contract adds partial TB-04/TB-06/TB-07 and TV-06/TV-07/TV-13/TV-25/TV-26 evidence for current enrollment revalidation, canonical source binding, bounded in-flight admission, reject-only invalid input handling and durable receipt retry. Counters are local library evidence, not operational health telemetry. No threat closure or generic source ingestion qualification is claimed.

M6.2 event normalization

The M6.2 contract contributes partial TB-06/TB-07, TH-015 and TV-10/TV-25 evidence through shared canonical validation, bounded typed mapping, exact minimized evidence retention, explicit unknown/redacted states and durable-acceptance result gating. No independent schema export, storage, operational ingestion or threat closure is claimed.

M6.3 event storage abstraction

The M6.3 contract provides partial TV-10/TV-26 evidence for canonical admission, bounded capacity and query results, conflicting evidence rejection, explicit pending/visible separation, revision-checked retention, and held-evidence exclusion. TV-25 fixtures are synthetic. TB-07 durable storage, legal-hold authorization, mount safety, integrity, disk failure, persistent retention audit and threat closure remain unqualified. The reference backend cannot authorize a durable receipt.

M6.4 SQLite event storage

The M6.4 contract provides partial TB-07, TV-10/TV-25/TV-26 and TB-10/TV-24 evidence: controlled development SQLite access, strict schema validation and migration, bounded transaction and query processing, checked numeric mode decoding, and protected file activation. Production independent raw-volume durability, hostile storage integrity, mount-race safety, complete retention authority and threat closure remain outstanding.

M6.5 original evidence integrity

The M6.5 integrity model contributes partial TB-07, TV-10/TV-25/TV-26/TV-30 evidence via immutable record commitments, explicit legacy baselines, bounded transactional verification, mismatch refusal and retention consistency. Unkeyed same-database digests do not establish authenticity, complete tamper resistance, anti-rollback or threat closure.

M6.6 event search

The M6.6 search contract contributes partial TB-07 and TV-10/TV-25/TV-26/TV-30 evidence for bounded typed queries, fixed SQL with bound values, index migration and integrity refusal even outside the filter. No query authorization or production throughput qualification is claimed.

The M6.7 contract contributes partial TB-07, TV-10/TV-25/TV-26/TV-30 evidence: quota refusal without eviction, receiver-time cleanup, holds/pending protection, revision checking, real SQLite page-limit and failed-cleanup-commit rollback, and integrity refusal. No threat closure or production volume/reserve qualification is claimed.

The M6.8 contract contributes partial TB-05/TB-07 and TV-10/TV-25 evidence for authenticated same-UID/GID, explicitly opted-in audited query access, bounded response validation, snapshot invalidation and integrity refusal. This is not independent analyst authorization, raw-volume isolation or operational ingestion qualification.

M6.9 ingestion and storage recovery

The M6.9 regressions contribute partial TB-04/TB-06/TB-07 and TV-06/TV-07/TV-10/TV-13/TV-25/TV-26/TV-30 evidence for malformed input refusal, authenticated durable acceptance and retry, source versus receiver time, interruption recovery, bounded allocation and migration rollback. All evidence is synthetic. The receipt adapter is test-only; no production ACK authority, physical disk-exhaustion or power-loss qualification, independent integrity trust anchor or threat closure is claimed.

M6.10 independently approved split storage

The M6.10 foundation contributes partial TB-07/TV-10/TV-25/TV-26/TV-30 evidence for boot-scoped mount identity, descriptor-relative raw publication, independent minimized projection, bounded refusal and committed-prefix validation. Real private mount detachment/replacement and distinct local filesystem qualification passed. Persistent UUID validation, independent trust anchors and operational authorization remain open.

M7.1 deterministic detection

The M7.1 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for bounded typed rule evaluation, explicit unknown handling, immutable evidence references and caller-provided trust. No rule administration, suppression authorization, operational coverage or response authority is qualified.

M7.2 rule schema

The M7.2 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for bounded rule validation, atomic refusal, static diagnostics and evidence preservation. Rule authorization, persistent history and operational activation remain outstanding. M7.2 accepted.

M7.3 authentication patterns

The M7.3 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for bounded scoped correlation, unknown barriers, evidence linkage and snapshot refusal. Caller authorization and trust, endpoint truthfulness, operational scheduling and alert persistence remain separate. M7.3 accepted.

M7.4 privilege and system integrity

The M7.4 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for exact native Audit predicates, bounded scope, evidence references and fail-closed snapshot refusal. Audit outcome, durable FIM evidence, caller authorization and operational alerting remain separate.

M7.5 scheduling and persistent state

The M7.5 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for scoped bounded rule scheduling, private checkpoint persistence, corruption refusal, duplicate management and historical batch replay. A trusted caller remains responsible for authorization, state and volume identity, clock, evidence revalidation and durable consumer deduplication.

M7.6 alert lifecycle

The M7.6 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for private alert state, evidence revalidation, generation deduplication and bounded lifecycle updates. Caller authorization, note privacy, evidence holds and production volume identity remain outstanding.

M7.7 alert interface

The M7.7 contract contributes partial TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 evidence for bounded same-user IPC, persistent audit, revision-checked acknowledgement and exact evidence linkage. Production RBAC, stable mount identity and operational integration remain outstanding.

M7.8 deterministic detection and alert regressions

The M7.8 contract adds composed regression evidence for existing TB-06/TB-07 and TV-10/TV-12/TV-13/TV-25/TV-26 coverage: exact evidence links, source isolation, duplicate refusal, deterministic timing and durable lifecycle replay. No trust-boundary or privilege expansion; target qualification passed for M7.8.

M7.9 technique mapping metadata

The M7.9 contract extends TV-12 evidence with exact version/identity matching and explicit abstention. No new authority, evidence mutation, trust-boundary change or KS-NET-016 egress is enabled.

Clone this wiki locally