# AyeOS × AyeFire — Sovereign Defense & Critical-Infrastructure Edge Resilience Brief

**Document ID:** `AYEOS-DEFENSE-BRIEF-001`  
**Version:** `1.0`  
**Date:** `2026-11-28`  
**Accountable Steward:** Chris Chenoweth (Hue) / `8b-is`  
**Related Artifacts:** [Trust Center](https://ayeos.com/trust/) · [ISMS Charter & 3-of-4 Key Ceremony SOP](https://ayeos.com/trust/isms-charter.md) · [CycloneDX 1.5 JSON SBOM](https://ayeos.com/trust/sbom.cdx.json) · [Conformance Statement v1.3](https://ayeos.com/conformance/statement.json) · [Zero-Float Verifier](https://ayeos.com/conformance/verify-conformance.py)

> **Epistemic Honesty & Non-Certification Boundary (`Record ≠ Admit ≠ Commit`):**  
> AyeOS × AyeFire is **not** claiming DoD Authority to Operate (ATO / cATO), FIPS 140-3 CMVP laboratory validation, SOC 2 CPA attestation, or accredited ISO/IEC 27001 certification. Every table below separates **implemented, code-verified bare-metal architecture** and **live hardware endurance telemetry** from **open pre-pilot gates** (`V-01`, `O-HOME-03`, `IR-01..03`, `V-02`).

---

## 1. The Edge-Router Threat Crisis (Salt Typhoon · Volt Typhoon · CISA ED 25-03 / BOD 26-02)

Joint NSA, CISA, FBI, and DoD Cyber Crime Center (DC3) advisories across 2024–2026 document systemic, persistent compromise of commercial and SOHO/enterprise routers across defense-adjacent networks, telecommunications edges, and the Defense Industrial Base (DIB). Five recurring architectural root causes enable these campaigns:

| # | Legacy Router Failure Mode | AyeOS × AyeFire Architectural Mechanism | Current Verification Basis |
|---|---|---|---|
| 1 | **Memory-unsafe C/C++ firmware RCEs** (stack/heap overflows in packet parsers, conntrack, TLS/HTTP daemons) | **100% Zero-C `#![no_std]` pure-Rust UEFI bootloader (`ayeboot`) & kernel (`ayeos-kernel`)** enforced by `check_zero_c_boot.sh` (`0` `.c`/`.h` files, `0` `cc`/`libc` crates across `92` unique crates) | Verified by `check_zero_c_boot.sh`, CycloneDX 1.5 JSON SBOM (`sbom.cdx.json`), and live bare-metal endurance (`seq=149`, `13h 31m+` uptime, `11,409,010,132` heap allocs / `0` failed, `288,204 MB` WAN bytes) |
| 2 | **OS command injection & "Living off the Land" (LotL)** inside router Linux/POSIX shells | **Zero Linux kernel, zero POSIX userland, zero `/bin/sh`**, plus local AI (`AYETLM01`) bound to `0` authority bits (`CAP_SHELL \| CAP_NET_EGRESS \| CAP_LEDGER_SIGN \| CAP_FIREWALL_MUTATE == 0`) | Code-verified (`ayefire-stress: iso42001-ai-governance`, `0` authority breaches) |
| 3 | **Firmware & boot persistence across reboots** (unsigned/single-key image tampering) | **`AYEKSIG2` / `AYEOTA01` 3-of-4 continental Ed25519 quorum** (`QUORUM_THRESHOLD = 3`, strictly monotonic anti-rollback `seq`) | Enforced in `ayeboot` + `ayeos-ota-core` (`36/36` host unit tests, `test_signing.py` pass); open custody gap `V-01` explicitly tracked below |
| 4 | **Centralized cloud/conductor compromise** ("keys to the kingdom" blast radius) | **Zero cloud control plane required** (`Π_home` / `NodeProfile::Defense` operates autonomously on bare metal with local DNSSEC/NTP/firewall/Wi-Fi control) | Live household fiber router (`172.16.47.67`, `5/5` UniFi devices, `0` cloud controller dependency) |
| 5 | **Field bricking during emergency CISA KEV patching** & covert C2 egress | **Dual-slot `SlotA <-> SlotB` (`AYEBST01` CRC32C ping-pong BCB) + 30 s Intel iTCO hardware watchdog auto-rollback**, strict DNS/DoT/NTP egress filtering, `BLAKE3` `ELDR/1` audit chain, and **exact zero-float `p/q` arithmetic** (`#![deny(clippy::float_arithmetic)]`) | Code-verified in `ayeos-ota-core` + `ayefire-sentinel` (`6/6` tests); live SNAT DNS/NTP gate patched in `wan_router.rs` (`4b-2`) for `seq=150` re-probe; physical reboot drill `IR-01` scheduled |

---

## 2. Non-Downgradeable `NodeProfile::Defense` Zero-Trust Profile & Exact `p/q` Posture

Implemented in `#![no_std]` `#![forbid(unsafe_code)]` `#![deny(clippy::float_arithmetic)]` (`boot/crates/ayeos-ota-core/src/security_policy.rs`) and wired into `ayeos-kernel` (`frag_tunnel.rs`, `main.rs`, `network.rs`):

- **Activation:** `profile=defense` (aliases: `zero-trust`, `zerotrust`, `tactical`, `dod`) in `EFI\BOOT\TUNNEL.CFG`.
- **Non-Downgradeable Invariants (ignores weaker config overrides):**
  1. `telnet = off` — TCP `:2323` is **never bound** in `NetworkInterface::new()`.
  2. `http_admin = off` & `http_redirect = false` — Cleartext TCP `:80` admin is **never bound**.
  3. `https_admin = auth` — Native `#![no_std]` TLS 1.3 `:443` requires constant-time Bearer token or `id1.is` Ed25519 passkey session (strictly fail-closed when unconfigured).
  4. `console_lock = true` — Local serial/HDMI console boots locked.
  5. `porch_honeypot = false` — Unauthenticated Living Porch endpoints are completely disabled.
  6. **Out-of-Band Management Allowlist (`mgmt_subnet=<ip>/<prefix>`):** Exact integer bitmask CIDR gate rejects non-management peers fail-closed with `403 Forbidden` (`{"ok":false,"error":"mgmt_subnet_denied"}`) before admin dispatch.
- **Exact `p/q` Rational Posture (`RationalPQ`):** `/api/status` reports both unreduced `(hardening_passed, hardening_total)` and exact GCD-reduced `hardening_pq: {"p": p, "q": q}` (`0/1` default home, `2/3` cloud-ns, `5/6` defense without token, `1/1` (`6/6`) full `Defense` + credentials).

---

## 3. Unified Nine-Domain Crosswalk (SOC 2 · ISO 27001/27701/42001 · NIST SP 800-53 Rev 5 · CMMC 2.0)

Synchronized with `ayefire-stress v0.210000.0` (`soc_iso_compliance.rs` / `gov_enterprise.rs`):

| # | Domain ID | SOC 2 / ISO Clauses | NIST SP 800-53 Rev 5 (RMF / cATO) | CMMC 2.0 Alignment | Automated / Live Verifier | Honest Posture |
|---|---|---|---|---|---|---|
| 1 | `SOC2-CC6-CC8` | SOC 2 `CC6.8`, `CC8.1` · ISO `A.8.32`, `A.8.28` | `CM-5` · `SI-7` · `SR-3` | `CM.L2-3.4.3`, `SI.L2-3.14.1` | `ayeos-ota-core` (`36/36`) · `soc2-cc-access-change` · `gov-cmmc-supply-chain` | **CODE-VERIFIED · GATE: `V-01`, `V-02`** |
| 2 | `SOC2-A1-PI1` | SOC 2 `A1.1–A1.3`, `PI1.3` · ISO `A.8.6`, `A.8.14` | `SC-24` · `CP-10` · `SC-5` | `SC.L2-3.13.5` | `boot_state` rollback tests · `soc2-a1-pi1-resilience` · live `11.4B` allocs / `288 GB` WAN | **CODE-VERIFIED · GATE: `IR-01` REBOOT** |
| 3 | `ISO27001-A8-15` | SOC 2 `PI1.1–PI1.4` · ISO `A.8.15` | `AU-9` · `AU-10` · `SI-10` | `AU.L2-3.3.8` | `ELDR/1` BLAKE3 chain · `merkle-blake3-ledger` · `quorum-108k-merkle-witness` | **CODE-VERIFIED** |
| 4 | `ISO27001-A8-22` | SOC 2 `CC6.1`, `CC6.6` · ISO `A.8.20`, `A.8.22` | `SC-7` · `AC-4` · `AC-17` | `SC.L2-3.13.1`, `AC.L2-3.1.14` | `NodeProfile::Defense` · `ayefire-sentinel` (`6/6`) · `wan_router.rs` `4b-2` SNAT gate · `asm-fasm-l2-pkt-gate` | **CODE-VERIFIED · GATE: `O-HOME-03` `seq=150` RE-PROBE** |
| 5 | `ISO27701-PRIV` | SOC 2 `C1`/`P3` · ISO `A.5.34`, `27701` | `PT-2` · `SI-12` · `MP-6` | `MP.L2-3.8.3` | `observer-90d-ram-sec05` · `webrtc-mdns-privacy` | **CODE-VERIFIED** |
| 6 | `ISO42001-AIGOV` | ISO `42001:2023` · SOC 2 `CC6.1` | `SC-39` · `AC-6` · `SA-8` | `AC.L2-3.1.5` | `iso42001-ai-governance` · `ternary-ayetlm01-gemv` · `/.well-known/ard.json` | **CODE-VERIFIED** |
| 7 | `WEB-EDGE-SEC` | SOC 2 `CC6.6`, `CC6.7` · ISO `A.8.9`, `A.8.12`, `A.8.24` | `SC-8` · `SC-12` · `SC-13` | `SC.L2-3.13.8`, `SC.L2-3.13.11` | `6/6` live wire checks on `ayeos.com` · `crypto-rfc-compliance` · `gov-cnsa2-pqc-hybrid` | **LIVE-VERIFIED (`6/6`) · GATE: FIPS CMVP** |
| 8 | `RFC9116-VDP` | SOC 2 `CC2.3`, `CC7.1–7.4` · ISO `A.5.24`, `A.8.8`, `A.8.16` | `IR-3` · `IR-4` · `SI-4` | `IR.L2-3.6.1`, `SI.L2-3.14.6` | `/.well-known/security.txt` · `statement.json` · `verify-conformance.py` (`mismatches=0`) | **LIVE-VERIFIED · GATE: `IR-01..03`** |
| 9 | `SOC2-CC1-CC2-GOV` | SOC 2 `CC1–CC5` · ISO Clauses `4–10` | `PL-2` · `PM-1` · `RA-3` · `CM-9` | `CA.L2-3.12.4`, `RA.L2-3.11.1` | `/trust/isms-charter.md` · `/trust/sbom.cdx.json` · `gov-ohome03-mgmt-hardening` | **DRAFT v1.0 · PRE-ATO / STEWARD GATE** |

---

## 4. Reproducible Software Bill of Materials (CycloneDX 1.5 JSON) & Zero-C Proof

Published in compact JSON (never XML) at [https://ayeos.com/trust/sbom.cdx.json](https://ayeos.com/trust/sbom.cdx.json) (`50,629 B`, SHA-256 `069d8fa731aff784df31e00f0d0fe58eb2b0c63f8727ddb7e58e7f9b4e0931f4`):

- **Bootloader (`ayeboot-uefi`, `x86_64-unknown-uefi`):** `33` crates, `0` `.c`/`.h` files, `0` `cc`/`libc` dependencies (`114,688 B`, SHA-256 `08c616a438ab77417a7a279bef658c4730bc8bd7593c2103aa1914ba420a387a`).
- **Kernel (`ayeos-kernel`, `x86_64-unknown-none`, `seq=151`):** `84` crates, `0` `.c`/`.h` files, `0` `cc`/`libc` dependencies (`7,355,248 B`, SHA-256 `373f2b1cccf50b64eca94bb569beb8e71e36c38d21f7852ba68c4eb040d1bfeb`, BLAKE3 `1aa98046…`).
- **Combined Unique Crates:** `92` pure-Rust crates (`0` C/C++ toolchain dependencies).

---

## 5. FIPS 140-3 & NSA CNSA 2.0 Cryptographic Roadmap

- **Current Implemented Cryptographic Primitives:** Pure-Rust Ed25519 (`ed25519-dalek`, strict verification), BLAKE3, SHA-256 / HMAC-SHA256, X25519, ChaCha20-Poly1305 / AES-GCM (TLS 1.3), and constant-time comparison (`ct_eq`). These are **not** FIPS 140-3 CMVP-validated modules.
- **Regulated DoD / NSS Migration Boundary:**
  1. **Dual-Signature / Hybrid Post-Quantum Quorum (`AYEKSIG3`):** Pair Ed25519 with **ML-DSA-87 (FIPS 204)** and **SHA-384** across the 3-of-4 continental quorum manifest while preserving exact zero-float verification.
  2. **Transport & Key Exchange:** Add **ML-KEM-1024 (FIPS 203)** hybrid key exchange and **AES-256-GCM** preference in `ayeos-tls` for CNSA 2.0 alignment.
  3. **Hardware Security Boundary:** Isolate regulated cryptographic operations behind a FIPS 140-3 validated hardware security module (TPM 2.0 / HSM / PIV smartcard) for key custody and attestation where required by RMF / cATO evaluators.

---

## 6. Explicit Pre-Pilot Open Gates & Recommended Dual-Use Pilot Path

Before any formal AFWERX, DIU, or DIB customer demo, four verifiable gates remain open and publicly tracked:

1. **`V-01` (4-Custodian Hardware Key Separation):** Migrate the 4 Ed25519 witness keys off single host `8bsov` onto 4 physically distinct hardware keys/custodians per [ISMS Charter §2](https://ayeos.com/trust/isms-charter.md).
2. **`O-HOME-03` (Deploy & Re-Probe `seq=150`):** Our `2026-11-28` live hardware probe on `seq=149` honestly caught a real SNAT fast-path gap where `172.16.47.48 -> 1.1.1.1:53` bypassed `SENTINEL` (`106 B` reply received). The fix is implemented and compiled in `wan_router.rs` (`4b-2`) alongside `NodeProfile::Defense`; closing `O-HOME-03` requires flashing `seq=150` during a maintenance window and archiving the live `DROPPED_TIMEOUT` + `ext_dns_blocked` increment receipt.
3. **`IR-01..03` (Scheduled Bare-Metal Fault Receipts):** Execute and archive signed physical hardware logs for `SlotB -> SlotA` 30 s iTCO watchdog rollback (`IR-01`), 1-of-4 witness revocation (`IR-02`), and edge region drop (`IR-03`).
4. **`V-02` (Independent Non-Author Reproduction):** Public Apache 2.0 kernel build/flash/verify run reproduced by an independent engineer outside `8b-is`.

### Fastest Realistic Adoption Tracks
- **Track 1 (Fastest — Commercial & DIB / CMMC 2.0 Edge):** Unclassified small-office / remote-engineer / DIB contractor edge gateways where CISA BOD / Salt-Volt Typhoon exposure is immediate and zero-Linux bare-metal isolation delivers instant risk reduction without multi-year classified ATO waits.
- **Track 2 (AFWERX SBIR Phase I Open Topic & DIU CSO):** Dual-use tactical/base-edge resilience pilot pairing `NodeProfile::Defense`, reproducible CycloneDX JSON SBOM, and live bare-metal endurance receipts.
