Historical proposal draft. Preserved working material. Claims of compliance, validation, authority, budget or partnerships in this historical draft are not established by publication. Current plans and evidence limits take precedence. Read current implementation options.

RESILIENCE-MESH Cyber, Physical & Supply Chain Threat Model

Standard Identifier: RM-STM-v1.0.0
Classification: Threat Modeling & Civil-Cyber Risk Architecture Specification
Regulatory Alignment: Australian Security of Critical Infrastructure Act 2018 (SOCI Act), ACSC ISM, AS/NZS 3500.1, AS/NZS 2845.1
Status: Authoritative Threat Specification


1. Executive Summary & Threat Framing

1.1 The Critical Infrastructure Asymmetry Problem

Modern critical infrastructure exhibits a dangerous structural asymmetry: physical systems historically insulated by air-gaps, mechanical valves, and manual human operations are increasingly networked through low-cost Internet of Things (IoT) hardware, shared cloud message brokers, and centralized demand-management software. While digital interconnection offers real-time resource optimization during extreme climate events (such as the strengthening 2026 El Niño Southern Oscillation), it creates unprecedented leverage for malicious actors.

An adversary does not require state-tier exploit kits or military-grade cyber capabilities to induce widespread physical devastation. By targeting a single shared dependency—such as an unauthenticated cloud telemetry broker, a vendor firmware update pipeline, or an unhardened broadcast command interface—a low-tier adversary can orchestrate synchronized physical actuations across thousands of distributed edge devices.

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                             CRITICAL INFRASTRUCTURE ASYMMETRY LEVERAGE                          │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

 [Low-Capability Threat Actor]
  (Stolen API Token / CI-CD Poisoning / LoRa Replay / Rogue Relays)
                │
                ▼ (Exploits single shared dependency)
 [Centralized Telemetry Broker / Shared Firmware Channel]
                │
                ▼ (Propagates synchronized directives across 10,000+ edge gateways)
 ┌─────────────────────────────────────────────────┬─────────────────────────────────────────────────┐
 │                                                 │                                                 │
 ▼                                                 ▼                                                 ▼
[Synchronized Valve Closure (<50ms)]             [Synchronized Motor Tripping]     [Indefinite Water Cutoff]
 │                                                 │                                                 │
 ▼                                                 ▼                                                 ▼
[Joukowsky Water Hammer Shockwave]               [Substation Voltage Swell / RoCoF] [Domestic Sanitary Loss /
 (Ruptures Trunk Reticulation Mains)              (Cascading Grid Blackout)          Bushfire Asset Exposure)

1.2 The RESILIENCE-MESH Architectural Antidote

The RESILIENCE-MESH framework neutralizes this asymmetric threat through four non-negotiable defensive pillars: 1. Mathematical Anti-Synchronization: Cryptographic dither and hardware slew-rate limiting that guarantee no two actuators can execute synchronized transitions capable of exciting distribution pipe resonance or electrical feeder transients. 2. Three-Tier Trust Domain Isolation: Physical and cryptographic boundaries separating utility policy dispatch, local edge gateway arbitration, and untampered domestic potable plumbing. 3. Fail-Safe Mechanical Primacy: Time-bounded cryptographic leases, capacitive normally-open safe states, and un-bypassable manual quarter-turn hydraulic overrides. 4. Zero-Trust Asymmetric Authentication: Strict rejection of shared symmetric keys, enforcing individual device cryptographic identities (IEEE 802.1AR) and multi-tier public key verification.


2. Single Points of Failure (SPOF) Analysis

A comprehensive assessment of commercial smart water and smart home ecosystems reveals critical architectural vulnerabilities:

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                 SINGLE POINTS OF FAILURE (SPOF) MAP                              │
├─────────────────────────┬───────────────────────────────────┬────────────────────────────────────┤
│ Architectural Component │ Systemic Single Point of Failure  │ Physical / Operational Impact      │
├─────────────────────────┼───────────────────────────────────┼────────────────────────────────────┤
│ 1. Cloud Telemetry      │ Centralized multi-tenant MQTT     │ Broker outage or DDoS drops remote │
│    Brokers              │ brokers (AWS IoT Core, Azure IoT) │ control, leaving devices in        │
│                         │ without edge autonomy.            │ indeterminate restricted states.   │
├─────────────────────────┼───────────────────────────────────┼────────────────────────────────────┤
│ 2. Firmware Update      │ Shared vendor CI/CD pipelines     │ Poisoned binary push can brick     │
│    Pipelines (OTA)      │ with single-signature checks.     │ tens of thousands of edge gateways │
│                         │                                   │ ahead of forecasted heatwaves.     │
├─────────────────────────┼───────────────────────────────────┼────────────────────────────────────┤
│ 3. Cryptographic Key    │ Global symmetric fleet keys or    │ Compromise of one device extracts  │
│    Custody              │ hardcoded API authorization tokens│ root key, enabling state-wide      │
│                         │ stored in microcontroller flash.  │ unauthorized valve shutoff.        │
├─────────────────────────┼───────────────────────────────────┼────────────────────────────────────┤
│ 4. Telecommunications   │ Shared commercial cellular APN or │ Cellular carrier outage or RF      │
│    Backhaul             │ single LoRaWAN network server.    │ jamming blocks critical emergency  │
│                         │                                   │ release and fire-preemption frames.│
├─────────────────────────┼───────────────────────────────────┼────────────────────────────────────┤
│ 5. Physical Hydraulic   │ Remote actuation valves installed │ Cyber exploit cuts drinking water, │
│    Installation         │ directly on the property main     │ toilets, medical life-support, or  │
│                         │ potable supply line.              │ firefighting hose reels.           │
└─────────────────────────┴───────────────────────────────────┴────────────────────────────────────┘

3. STRIDE Threat Matrix Across 5 Surface Layers

The RESILIENCE-MESH threat model evaluates vulnerabilities across five distinct layers against the STRIDE taxonomy (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege):

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                     END-TO-END ATTACK SURFACES                                   │
├──────────────────────────────────────────────────────────────────────────────────────────────────┤
│ [Layer 5: Utility Core, CI/CD & Supply Chain]  ◄── Key Ceremony, Build Pipelines, Root CAs       │
│                                │                                                                 │
│ [Layer 4: Cloud Message Broker & Telemetry]    ◄── MQTT/REST Ingestion, Webhooks, API Gateways   │
│                                │                                                                 │
│ [Layer 3: Wide Area Network & Telecoms]        ◄── Cellular APN, LoRaWAN Backhaul, Wi-Fi HaLow   │
│                                │                                                                 │
│ [Layer 2: Local RF, Wireless Link & Field Bus] ◄── 915 MHz ISM, BLE Coded, RS-485 Modbus         │
│                                │                                                                 │
│ [Layer 1: Physical Edge Hardware & Hydraulics] ◄── Microcontrollers, Secure Elements, Plumbing   │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

3.1 Comprehensive STRIDE Threat Table

Layer STRIDE Category Threat Description Threat Actor Impact Severity Architectural Mitigation in RESILIENCE-MESH
Layer 1: Physical Edge Tampering Attacker connects 24VAC or 12VDC directly to solenoid leads, bypassing gateway controls. Property resident / Unauthorized third party MODERATE Hardware flow meter detects anomalous flow; asserts FAULT_VALVE_STUCK_OPEN and alerts utility.
Layer 1: Physical Edge Information Disclosure Attacker attaches JTAG/SWD debug probe to dump flash and extract private keys. Sophisticated local attacker CRITICAL Private keys reside exclusively within Common Criteria EAL6+ Secure Element with active tamper mesh.
Layer 1: Physical Edge Tampering Strong neodymium magnet placed on pulse flow meter to stall hall-effect sensor. Resident seeking unbilled/unmonitored water HIGH Gateway 3-axis magnetometer detects magnetic distortion >50G, asserting TAMPER_MAGNETIC_DETECT.
Layer 2: Local RF/Bus Denial of Service High-power RF carrier jamming on 915 MHz band blinds gateways from receiving release commands. Malicious local actor / Extortionist HIGH Edge watchdog enforces Autonomous Hold ($t_{\text{grace}} \le 24\text{h}$) decaying to Auto-Restore.
Layer 2: Local RF/Bus Tampering / Replay Attacker sniffs legitimate PAUSE_SCHEDULE frame and replays it repeatedly to maintain cutoff. Vandal / Disgruntled party HIGH Three-Point Anti-Replay: 64-bit monotonic sequence counter, ±120s UTC window, and 128-bit nonce cache.
Layer 2: Local RF/Bus Spoofing Rogue repeater node injects fraudulent Modbus FC65 frames on RS-485 commercial loop. Insider on commercial campus CRITICAL All frames require asymmetric cryptographic signature verification (Ed25519/P-256) at endpoint.
Layer 3: WAN / Telecom Denial of Service DDoS attack on carrier private APN drops cellular NB-IoT/LTE-M backhaul. Criminal syndicate / Extortionist HIGH Outbound-only connectivity; gateways operate fully autonomously offline via battery-backed RTC.
Layer 3: WAN / Telecom Tampering Man-in-the-Middle DNS redirection routes gateway telemetry to rogue server. Advanced Network Threat Actor HIGH Mutual TLS (mTLS) with pinned utility root certificates rejects rogue TLS endpoints.
Layer 4: Cloud Broker Elevation of Privilege Broker plugin memory exploit allows attacker to execute arbitrary code on MQTT server. Nation-state / Advanced cybercriminal CRITICAL Even with full broker control, attacker lacks HSM private keys; cannot sign valid command payloads.
Layer 4: Cloud Broker Information Disclosure Intercepting unencrypted telemetry exposes granular residential occupancy habits. Cyber stalker / Commercial profiler HIGH Telemetry packets are encrypted end-to-end; data aggregated at district level prior to reporting.
Layer 4: Cloud Broker Repudiation Rogue operator issues unauthorized shutoffs without audit logging. Malicious insider HIGH Multi-signature m-of-n approval required for district dispatch; immutable append-only audit trail.
Layer 5: Utility & Supply Spoofing Exfiltration of operational Tier 2 private signing key from developer server. Targeted APT group CRITICAL Ephemeral 30-day key lifespans; Tier 1 Signed Key Revocation Broadcast (SKRB) blacklists key within minutes.
Layer 5: Utility & Supply Tampering Poisoned open-source library in CI/CD pipeline pushes malicious firmware OTA. Sophisticated supply-chain actor CATASTROPHIC Hardware Secure Boot with cryptographic signature verification; downgrade protection eFuses.
Layer 5: Utility & Supply Denial of Service Corrupted bootloader update pushed across entire municipal fleet to permanently brick nodes. Hostile state actor / Cyber terrorist CATASTROPHIC Dual-bank A/B flash partitioning; bootloader rollbacks to golden factory image if boot fails 3 times.

4. Formal Attack Trees

The following attack trees detail the formal logical paths an adversary would need to execute to achieve four catastrophic system failures.

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ATTACK TREE 1: Coordinated Fleet-Wide Water Shutoff (Drought Weaponization)                      │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
└── [OR] 1.0 Force Coordinated False Curtailment Across Entire District
    ├── [AND] 1.1 Compromise Utility Central Signing Authority
    │   ├── 1.1.1 Spear-phish Utility SCADA / Dispatch Operator credentials
    │   ├── 1.1.2 Bypass multi-factor authentication on Cloud KMS
    │   ├── 1.1.3 Exfiltrate Tier 2 Dispatcher Private Key from HSM memory
    │   └── 1.1.4 Broadcast validly signed high-tier shutoff payload to fleet broker
    │       └── [COUNTERMEASURE: SKRB Revocation Broadcast + 72h Max TTL Clamp + Manual Override]
    ├── [AND] 1.2 Subvert Fleet Over-The-Air (OTA) Firmware Mechanism
    │   ├── 1.2.1 Compromise vendor CI/CD pipeline or build server
    │   ├── 1.2.2 Inject malicious valve-closing payload into FreeRTOS firmware image
    │   ├── 1.2.3 Forge firmware signature using stolen release key
    │   └── 1.2.4 Disable device hardware watchdog timer in software
    │       └── [COUNTERMEASURE: Hardware Secure Boot + Write-Locked Bootloader + NC Fallback]
    └── [AND] 1.3 Local RF Exploitation at Scale
        ├── 1.3.1 Capture historical valid signed emergency curtailment packet
        ├── 1.3.2 Defeat sequence counter and timestamp checks
        └── 1.3.3 High-power directional RF broadcast across suburb
            └── [COUNTERMEASURE: Monotonic Counter + ±120s UTC Window + Nonce Ring Buffer]
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ATTACK TREE 2: Induced Cross-Domain Infrastructure Shock (Water Hammer & Grid Instability)       │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
└── [OR] 2.0 Trigger Synchronized Multi-Asset Actuation
    ├── [AND] 2.1 Water Distribution Rupture via Water Hammer
    │   ├── 2.1.1 Discover identical scheduling delay / cron trigger across fleet
    │   ├── 2.1.2 Issue synchronized "Instantaneous Close" command to 10,000 solenoids
    │   ├── 2.1.3 Exploit fast-acting solenoids (<50ms closing time)
    │   └── 2.1.4 Induce acoustic shockwave superposition exceeding PN16 (1.6 MPa) pipe rating
    │       └── [COUNTERMEASURE: Mandatory >5.0s Slow Traverse + Deterministic HMAC Dither]
    └── [AND] 2.2 Electrical Distribution Network Tripping
        ├── 2.2.1 Target large commercial/agricultural bore pumps controlled by smart relays
        ├── 2.2.2 Simultaneously trip or start 50 MW of aggregate inductive pump motors
        ├── 2.2.3 Induce acute localized reactive power surge / severe voltage sag (<0.85 pu)
        └── 2.2.4 Trigger distribution feeder RoCoF relays (>0.5 Hz/s) leading to blackouts
            └── [COUNTERMEASURE: Staggered Sub-DMA Dispatch Tokens + Soft Motor Slew Limiting]
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ATTACK TREE 3: Firmware Supply Chain Hijack & Fleet Bricking Prior to Severe Weather             │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
└── [OR] 3.0 Render Edge Gateways Inoperable Ahead of Extreme Bushfire Event
    ├── [AND] 3.1 Flash Memory Wear-Out Attack
    │   ├── 3.1.1 Flood gateway with validly signed micro-updates requiring NVRAM writes
    │   └── 3.1.2 Exhaust EEPROM/Flash write endurance (100k cycles) causing device crash
    │       └── [COUNTERMEASURE: Hardware Rate Limiting + Wear-Leveling Shadow Flash Driver]
    └── [AND] 3.2 Malicious Brownout / Oscillatory Relay Hammering
        ├── 3.2.1 Rapidly cycle solenoid actuation commands at 10 Hz
        ├── 3.2.2 Induce mechanical fatigue, coil thermal burnout, or contact welding
        └── 3.2.3 Lock valve in failure state
            └── [COUNTERMEASURE: Minimum 300s Inter-Actuation Holdoff Enforced in Hardware]
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ATTACK TREE 4: Telemetry Falsification & Extortion (Man-in-the-Middle)                           │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
└── [OR] 4.0 Subvert Audit & Evidence Integrity
    ├── [AND] 4.1 Falsify Sprinkler Breach Reports to Extort Residents / Councils
    │   ├── 4.1.1 Intercept unauthenticated Type D monitor-only telemetry
    │   ├── 4.1.2 Inject synthetic flow pulses indicating non-roster irrigation
    │   └── 4.1.3 Trigger automated statutory fines and enforcement escalation
    │       └── [COUNTERMEASURE: DevID Hardware Signature on every Telemetry Record]
    └── [AND] 4.2 Conceal Catastrophic Distribution Leakage
        ├── 4.2.1 Compromise aggregation gateway forwarding municipal meter data
        └── 4.2.2 Clamp reported consumption to baseline during massive physical pipe burst
            └── [COUNTERMEASURE: Cross-Verification with District Bulk Flow Supply Meters]

5. Cascading Grid-Water Cross-Domain Failure Dynamics

5.1 Joukowsky Hydraulic Water Hammer Formulation

When moving fluid in a pressurized pipe is abruptly halted by rapid valve closure, its kinetic energy converts instantaneously into an acoustic pressure wave. This fundamental fluid mechanics phenomenon is governed by the Joukowsky Equation:

$$\Delta P = \rho \cdot c \cdot \Delta v$$

Where: * $\Delta P$ is the instantaneous pressure surge (Pascals, Pa). * $\rho$ is the fluid density (for water at 20°C, $\rho = 998.2 \text{ kg/m}^3 \approx 1000 \text{ kg/m}^3$). * $\Delta v$ is the magnitude of the instantaneous change in fluid velocity (m/s). * $c$ is the acoustic wave speed (m/s) in the fluid-pipe conduit system:

$$c = \sqrt{\frac{K / \rho}{1 + \left(\frac{K}{E}\right)\left(\frac{D}{e}\right)}}$$

Where: * $K$ is the bulk modulus of elasticity of water ($K \approx 2.15 \times 10^9 \text{ Pa}$). * $E$ is the Young's modulus of elasticity of the pipe material: * Polyvinyl Chloride (uPVC): $E \approx 3.0 \times 10^9 \text{ Pa}$ * Medium-Density Polyethylene (MDPE): $E \approx 0.8 \times 10^9 \text{ Pa}$ * Ductile Iron: $E \approx 170 \times 10^9 \text{ Pa}$ * $D$ is the internal pipe diameter (m). * $e$ is the pipe wall thickness (m).

Wave Speed Reference Values:

The Catastrophic Synchronized Closure Scenario:

In a typical suburban District Metering Area (DMA) comprising 2,000 households, evening irrigation draws an average of $24 \text{ L/min}$ ($0.4 \text{ L/s}$) per active property, corresponding to a localized water velocity $\Delta v = 1.8 \text{ m/s}$ in a standard DN20 service connection.

If 1,000 commercial solenoids snap closed simultaneously in $\Delta t < 40 \text{ milliseconds}$: 1. Individual Service Line Surge: $$\Delta P = 1000 \text{ kg/m}^3 \times 450 \text{ m/s} \times 1.8 \text{ m/s} = 810,000 \text{ Pa} = 8.1 \text{ bar} \ (117.5 \text{ psi})$$ 2. Mainline Acoustic Wave Reflection & Superposition: Because the acoustic wave travels back into the distribution main in $t = 2L / c$ ($<0.1\text{s}$ for a 20m connection), thousands of individual shockwaves enter the street reticulation main simultaneously. Through constructive wave interference, localized peak pressure surges exceed: $$P_{\text{peak}} = P_{\text{operating}} + \sum \Delta P_{\text{reflected}} \ge 4.5 \text{ bar} + 22.0 \text{ bar} = 26.5 \text{ bar} \ (2.65 \text{ MPa})$$ 3. Physical Damage: Standard suburban reticulation mains are rated for PN12 (1.2 MPa) or PN16 (1.6 MPa). A 2.65 MPa shockwave causes immediate longitudinal fractures in aging asbestos-cement (AC) and PVC pipes, blown bell-and-spigot joints, and ruptured service saddles. 4. Secondary Contamination via Vacuum Cavitation: When the positive pressure wave reflects off a reservoir or dead end, it inverts into a severe negative pressure wave ($P < -0.8 \text{ bar}$). This transient vacuum cavitates the water column and sucks contaminated external soil groundwater through compromised seals back into the potable drinking supply.

                   JOUKOWSKY ACOUSTIC SUPERPOSITION SURGE
 Pressure (bar)
   30 ┌                                              /\  <-- Constructive Wave Superposition
      │                                             /  \     (26.5 bar - Exceeds PN16 Burst)
   20 ├                          /\                /    \
      │                         /  \              /      \
   10 ├       /\               /    \  /\        /        \
      │  /\  /  \  /\         /      \/  \      /          \
    5 ├──/--\/----\--\-------/------------\----/------------\--- Normal Operating Main (4.5 bar)
    0 └──────────────────────────────────────────────────────────
   -1 ├───────────────────────────────────────────────────────── Vacuum Cavitation (-1.0 bar)
                                                                 (Contaminant Back-Siphonage)
               Time (milliseconds) ────────────────►

Engineering Mitigations Mandated by RESILIENCE-MESH:

  1. Mandatory Slow Actuation Traverse Time ($t_{\text{valve}} \ge 5.0\text{ seconds}$): Motorized ball valves MUST operate with an actuation time strictly greater than $5.0 \text{ seconds}$. By stretching closure over multiple reflection cycles ($t_{\text{close}} \gg 2L/c$), the pressure rise is throttled to negligible levels: $$\Delta P_{\text{slow}} \approx \frac{2 \rho L \Delta v}{t_{\text{close}}} < 0.05 \text{ bar}$$
  2. Staged PWM Step-Down on Solenoid Drivers: For high-speed solenoids, edge gatekeeper firmware enforces staged pulse-width modulation closure over 6 discrete stages, capping deceleration: $$\frac{dv}{dt} \le 0.05 \text{ m/s}^2$$

5.2 Water-Energy Nexus: Distributed Pumping Rejection & Power Grid Instability

In peri-urban, rural, and pressurized groundwater bore zones (such as the Gnangara and Jandakot mounds in Western Australia), private irrigation relies on dedicated electric pumps operating from single-phase or three-phase residential power connections.

Electrical Transient Dynamics:

  1. Aggregated Inductive Load: A standard residential garden bore pump draws $1.1 \text{ kW}$ to $2.2 \text{ kW}$ with an inductive power factor ($\cos \phi \approx 0.78 - 0.82$). A commercial turf booster pump draws $5.5 \text{ kW}$ to $11.0 \text{ kW}$.
  2. Instantaneous Fleet Load Rejection: If an automated curtailment directive trips 2,500 pumps offline simultaneously at the top of the hour: * Active Power Rejection ($\Delta P_{\text{grid}}$): $2,500 \times 1.5 \text{ kW} = 3.75 \text{ MW}$ active power instantly shed. * Reactive Power Rejection ($\Delta Q_{\text{grid}}$): $\approx 2.8 \text{ MVAR}$ inductive reactive power instantly dropped.
  3. Substation Voltage Swell & Inverter Cascades: On long rural fringe feeders (11kV / 22kV) or suburban distribution feeders characterized by high penetrations of residential rooftop solar PV, this sudden drop in load causes: * Severe localized voltage swell ($V > 1.12 \text{ pu}$), exceeding statutory inverter limits (AS/NZS 4777.2). * Over-voltage protection trips disconnect hundreds of neighboring rooftop solar inverters simultaneously. * Secondary loss of generation flips the feeder into a steep power deficit, triggering severe Rate of Change of Frequency (RoCoF) swings ($>0.5 \text{ Hz/s}$) that trip feeder circuit breakers.

5.3 Deterministic Cryptographic Dither Formulation

To mathematically eliminate the possibility of synchronized hydraulic shockwaves and electrical grid transients, RESILIENCE-MESH forbids instantaneous synchronous fleet execution. Every edge gateway enforces Deterministic Cryptographic Dither:

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                DETERMINISTIC CRYPTOGRAPHIC DITHER                                │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

 t_actuation = t_target + HMAC-SHA256(K_device, PayloadNonce || EpochID || ZoneID) mod W

   Where:
   - K_device      = 256-bit Device Private Identity Key (in Secure Element)
   - PayloadNonce  = 128-bit Cryptographic Nonce from Utility Dispatch Directive
   - EpochID       = 32-bit UTC Hourly Restriction Epoch Identifier
   - ZoneID        = 16-bit Target Irrigation Zone Index
   - W             = Mandatory Dither Dispersion Window:
                     * Routine Roster Window Enforcement:  W = 600 seconds (10 Minutes)
                     * Acute Drought Demand Shaving:       W = 900 seconds (15 Minutes)
                     * Priority Grid Stress Shaving:       W = 300 seconds (5 Minutes)

Mathematical Proof of Anti-Synchronization:

  1. Uniform Pseudorandom Dispersion: Under the cryptographic pseudorandom function (PRF) assumption of HMAC-SHA256, the output values $t_{\text{offset}}$ for $N$ edge devices are independent, identically distributed uniform random variables across the interval $[0, W - 1]$: $$\mathbb{P}(t_{\text{offset}} = k) = \frac{1}{W} \quad \forall k \in {0, 1, \dots, W - 1}$$
  2. Flattened Fleet Load Step-Response: For a fleet of $N = 10,000$ actuators scheduled to close over $W = 600 \text{ seconds}$, the expected number of valve actuations per second is: $$\lambda = \frac{N}{W} = \frac{10,000}{600} \approx 16.6 \text{ actuations/sec}$$ Distributed across 50 municipal reticulation sub-mains, each street pipe experiences fewer than $0.33 \text{ closures/sec}$. Hydraulic acoustic shockwaves disperse without constructive interference ($R^2 > 0.98$ flat distribution), and electrical power ramps smoothly at: $$\frac{dP_{\text{grid}}}{dt} \le \frac{3.75 \text{ MW}}{600 \text{ s}} = 0.00625 \text{ MW/s}$$ well within sub-station automatic voltage regulator (AVR) compensation limits.

6. Hardware Trust Domain Separation & Physical Plumbing Isolation

To ensure that no software exploit, firmware bug, or network takeover can compromise human life safety, domestic drinking water, or civil fire protection, RESILIENCE-MESH establishes Three Mutually Isolated Trust Domains:

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ DOMAIN 1: UTILITY COMMAND & POLICY GOVERNANCE (CYBER TRUST DOMAIN)                               │
│ - Water Corporation / Local Council Authorized Dispatch Engines                                  │
│ - FIPS 140-3 Level 3 Hardware Security Module (HSM) Root of Trust                                │
│ - Cryptographically signs policy directives; Zero direct network access to edge valve coils     │
└────────────────────────────────────────┬─────────────────────────────────────────────────────────┘
                                         │ Unidirectional Authenticated Leases (mTLS / CBOR / JWS)
                                         ▼
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ DOMAIN 2: EDGE GATEWAY & CONTROLLER ARBITRATION (ARBITRATION DOMAIN)                             │
│ - Utility-Certified Edge Node / Type A-C Smart Controller Bridge                                 │
│ - Common Criteria EAL6+ Secure Element (ATECC608A / NXP SE050 / Optiga Trust M)                  │
│ - Local Policy Arbiter: Verifies PKI signatures, checks TTL, enforces dither, monitors telemetry  │
│ - Controls isolated low-voltage 24VAC Triacs / 9V DC latching pulses                             │
└────────────────────────────────────────┬─────────────────────────────────────────────────────────┘
                                         │ Isolated Low-Voltage Actuation (Downstream of RPZD)
                                         ▼
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ DOMAIN 3: DOMESTIC POTABLE & CIVIL SAFETY (CIVIL SAFETY DOMAIN)                                  │
│ - Domestic Drinking Water, Kitchen, Bathrooms, Toilets, Hot Water, Medical Life-Support          │
│ - Dedicated Bushfire APZ Fire Hose Reels & Drenching System                                      │
│ - 100% UN-VALVED, UN-MANAGED, PHYSICALLY ISOLATED FROM REMOTE CONTROL                            │
│ - Certified Reduced Pressure Zone Backflow Preventer (RPZD per AS/NZS 2845.1)                    │
│ - Mechanical Padlockable Quarter-Turn Yellow Manual Override Bypass Valve                        │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

6.1 Physical Plumbing Schematic & Cross-Connection Elimination

               MUNICIPAL RETICULATION WATER MAIN
                              │
                              ▼
                   [Utility Boundary Meter]
                              │
                              ▼
            [Main Household Isolation Ball Valve]
                              │
                              ├─────────────────────────────────────────────────┐
                              │                                                 │
                              ▼ (UNTOUCHABLE POTABLE LINE)                      ▼ (ISOLATED IRRIGATION BRANCH)
               [Domestic Drinking & Sanitation]                   [AS/NZS 2845 RPZD Backflow Assembly]
               - Kitchen & Bathroom Taps                                        │
               - Toilets & Showers                                              ▼
               - Medical Life-Support / Dialysis                  [Mechanical Manual Override Ball Valve]
               - Dedicated Fire Hose Reels                                      │
               (NO REMOTE ACTUATORS PERMITTED)                                  ├─────────── [Manual Bypass Loop]
                                                                                │                   │
                                                                                ▼                   ▼
                                                                  [RESILIENCE-MESH Actuator] (Parallel Path)
                                                                  (Normally-Open Motorized / NO Solenoid)
                                                                                │                   │
                                                                                ├───────────────────┘
                                                                                │
                                                                                ▼
                                                                  [Non-Essential Garden Reticulation]
                                                                  - Lawn Sprinklers & Dripper Zones

Mandatory Plumbing Standard Requirements:

  1. Branch Takeoff Location: The dedicated irrigation circuit MUST branch off downstream of the property boundary water meter and main isolation valve, but strictly prior to any internal branch feeding domestic fixtures.
  2. AS/NZS 2845.1 & AS/NZS 3500.1 Backflow Prevention: A certified Reduced Pressure Zone Device (RPZD) or Double Check Valve (DCV) assembly must be installed immediately upstream of the automated actuator. This eliminates cross-contamination risks and complies with Western Australian plumbing regulations.
  3. Fire Hose Reel Air-Gap: All hose bibs designated for bushfire defense (painted safety red) must be plumbed to the unmanaged potable main, completely air-gapped from automated shutoff hardware.

6.2 Mechanical Manual Override Protocol

Under statutory common law and Australian emergency management frameworks, property owners and emergency services maintain an absolute right to physical water access. All RESILIENCE-MESH edge valve assemblies incorporate Mechanical Manual Primacy:

  1. Tool-less Quarter-Turn Yellow Bypass Valve: A brass full-bore quarter-turn ball valve with an ergonomically distinct yellow handle is plumbed in parallel with the automated actuator.
  2. Instant Physical Restoration: Rotating the handle by $90^\circ$ bypasses the electronic actuator, restoring full hydraulic flow in $<2.0\text{ seconds}$ without requiring electrical power, radio connectivity, or digital credentials.
  3. Tamper-Evident Microswitch Logging: The manual bypass valve integrates a dry-contact microswitch. When the bypass is opened, the gateway logs a local "Manual Bypass Engaged" event and includes status code 503 ERR_MANUAL_BYPASS_ENGAGED in subsequent telemetry receipts. This protects resident rights while maintaining full audit transparency.

6.3 Capacitive Return Normally-Open (NO) Electrical Safe State

Standard commercial irrigation uses Normally Closed (NC) solenoids that snap shut upon electrical power failure. In a civil resilience framework, this creates a catastrophic failure mode: a cyberattack or grid brownout during extreme summer heatwaves would cut all garden watering, causing street tree death, vegetation die-off, and heightened bushfire ignition risk.

RESILIENCE-MESH Mandate: 1. Normally-Open (NO) Hydraulic Biasing: Edge shutoff valves are configured with Normally-Open (NO) mechanical biasing or bi-stable latching mechanics. 2. Capacitive Return Power Fail-Safe: Motorized ball valves utilize internal supercapacitor storage banks (1000µF / 16V). If the gateway loses main power or suffers battery exhaustion during an active restriction, the discharged supercapacitor energizes the actuator back to the Full OPEN position within 15 seconds. 3. Loss of Signal Default: Loss of RF carrier or cellular communication NEVER snaps the valve shut.


7. 4-State Cryptographic Lease State Machine & Auto-Restoration

All utility commands operate as Time-Bounded Leases bound by cryptographic expiration timestamps ($t_{\text{expire}}$), rather than permanent toggles.

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                            4-STATE CRYPTOGRAPHIC LEASE STATE MACHINE                             │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

                 ┌──────────────────────────────────────────────┐
                 │               STATE 0: NORMAL                │
                 │  Valve: UNRESTRICTED (Open / Local Schedule) │
                 │  LED: Solid Green | Lease: None / Inactive   │
                 └──────────────────────┬───────────────────────┘
                                        │
                                        │ Valid Signed Curtailment Lease Received
                                        │ [Verify Ed25519/P-256 + Nonce + Dither]
                                        ▼
                 ┌──────────────────────────────────────────────┐
                 │             STATE 1: RESTRICTED              │
                 │  Valve: RESTRICTED (Isolated / Zone Capped)  │
                 │  LED: Amber Pulse | Lease: Active (t < t_exp)│
                 └──────────────┬────────────────────────┬──────┘
                                │                        │
               Communication    │                        │ Lease Expired OR
               Loss Detected    │                        │ Renewal Missed OR
               (Jamming / Down) │                        │ Manual Override Engaged
                                ▼                        ▼
       ┌────────────────────────────────┐       ┌────────────────────────────────┐
       │    STATE 2: AUTONOMOUS HOLD    │       │     STATE 3: AUTO-RESTORE      │
       │ Valve: Maintain Current Lease  │       │ Valve: Return to UNRESTRICTED  │
       │ Timer: t_grace (Max 24 Hours)  │       │ LED: Fast Green Flash -> Solid │
       │ LED: Alternate Amber/Red Flash │       │ Telemetry: Log Expiry Receipt  │
       └────────────────┬───────────────┘       └────────────────┬───────────────┘
                        │                                        │
                        │ t_grace Expires WITHOUT Renewal        │
                        └────────────────────────────────────────┘

7.1 State Machine Transition Logic Table

State Index State Name Valve Position Permitted Duration Entry Conditions Exit Conditions
0 NORMAL Fully Open / Following Resident Schedule Indefinite Device boot; lease expiration; RESUME_SCHEDULE command; EMERGENCY_RELEASE. Receipt of authenticated, validly signed PAUSE_SCHEDULE or ENFORCE_WINDOW lease.
1 RESTRICTED Restricted (Isolated or Flow Capped) Clamped to max 72h ($t_{\text{expire}}$) Valid Ed25519/P-256 signature; monotonic sequence check passed; nonce valid. (a) Expiration ($t \ge t_{\text{expire}}$); (b) RESUME_SCHEDULE; (c) Communication loss.
2 AUTONOMOUS HOLD Maintains Restricted State Strictly capped to $t_{\text{grace}} \le 24\text{ hours}$ Consecutive missed keepalives; RF jamming asserted; cellular bearer loss. (a) Connection restored with valid lease renewal; (b) $t_{\text{grace}}$ expires.
3 AUTO-RESTORE Actuator driven to FULL OPEN Transient ($<15 \text{ seconds}$) Watchdog timer triggers; $t_{\text{grace}}$ elapses; manual bypass detected. Actuation complete $\rightarrow$ transitions immediately to State 0 (NORMAL).

7.2 Emergency Priority Release (EPR) Fast-Path

The edge microcontroller continuously monitors an out-of-band high-priority hardware interrupt or RF beacon channel for an Emergency Priority Release (EPR) frame (issued by emergency services during catastrophic fire conditions). * Receipt of a validly signed EPR immediately bypasses all states, forces an unconditional jump to State 3 (AUTO-RESTORE), and drives the valve actuator to full OPEN in $<2.0\text{ seconds}$. * Edge firmware locks out all utility curtailment commands for a mandatory cooling-off period of 86,400 seconds (24 hours).


8. Threat Modeling Synthesis & Residual Risk Assessment

Through this multi-layered defensive posture, RESILIENCE-MESH reduces systemic civil infrastructure risk to ALARP (As Low As Reasonably Practicable) levels:

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                    RESIDUAL RISK PROFILE SUMMARY                                 │
├──────────────────────────┬──────────────────────┬──────────────────────┬─────────────────────────┤
│ Threat Vector            │ Unmitigated Risk     │ Residual Risk Level  │ Dominant Defense        │
├──────────────────────────┼──────────────────────┼──────────────────────┼─────────────────────────┤
│ Water Hammer Trunk Burst │ CATASTROPHIC         │ NEGLIGIBLE           │ HMAC Dither + Slew Rate │
│ Power Feeder Blackout    │ CRITICAL             │ LOW                  │ Staggered Dither Ramp   │
│ Cloud Broker Takeover    │ CATASTROPHIC         │ LOW                  │ Zero-Trust Asymmetric PK│
│ RF Jamming Denial        │ HIGH                 │ NEGLIGIBLE           │ Autonomous Watchdog TTL │
│ Potable Contamination    │ CATASTROPHIC         │ ZERO                 │ AS/NZS 2845 RPZD Air-Gap│
│ Domestic Sanitation Cut  │ HIGH                 │ ZERO                 │ Dedicated Retic Circuit │
│ Indefinite Valve Lockout │ HIGH                 │ NEGLIGIBLE           │ Mechanical Manual Bypass│
└──────────────────────────┴──────────────────────┴──────────────────────┴─────────────────────────┘

By guaranteeing physical safety at the plumbing level and cryptographic integrity at the silicon level, RESILIENCE-MESH establishes an authoritative standard for responsible, lawful, and resilient demand management in critical urban infrastructure.