Service

Network & Router Firmware Hardening

Custom firmware, secure boot and hardware root of trust for the routing and edge devices that sit underneath everything else you protect.

Home Services Router & firmware hardening

  • Hardware root of trust
  • Secure boot
  • Custom firmware
  • Zero-trust routing

In plain terms

Routers and network equipment are computers too, and they are usually the oldest and least watched computers you own. We rebuild their internal software to remove everything you do not use, and set them up so the device checks — using a chip that cannot be rewritten — that its own software has not been tampered with before it starts.

An endpoint agent is worthless if the router beneath it is running vendor firmware from 2019 with a hardcoded support account. The network edge is where we start.

Hardware root of trust

Hardware root of trust boot chainA silicon anchor verifies the bootloader, which verifies the kernel, which verifies the application image. Below, the circular-trust failure that occurs without a hardware anchor.each stage is verified by a stage that was itself verifiedSilicon anchorsecure element / TPMimmutable keysBootloadermeasured, signedKernelverified imageApplicationrouter firmwareverifiesverifiesverifiesWHAT BREAKS WITHOUT A HARDWARE ANCHORRootkit loads firstIt answers the integrity checkCheck returns green
Software cannot verify software that has already been subverted. The bottom of the chain has to be silicon.

Software cannot verify software that has already been subverted. A rootkit that loads before your integrity checker will pass every check the integrity checker makes.

The fix is an anchor in silicon: a secure element or TPM holding keys that firmware cannot rewrite, validating each stage of boot before it hands control on. We design the chain — hardware anchor, bootloader, kernel, application image — and the key ceremony and rotation process behind it.

If your router hardware has no secure element, we will tell you that plainly and scope a replacement rather than pretend signed firmware alone is equivalent. It is not.

Custom firmware builds

  • Vendor services you do not use, removed rather than disabled — an attack surface that is not compiled in cannot be re-enabled by a misconfiguration.
  • Management planes bound to out-of-band interfaces only.
  • Cryptography brought to current standards, with the algorithm inventory documented for FIPS 140-3 review where that applies to your program.
  • Reproducible builds with a published manifest, so a field device can be attested against a known-good hash.

Zero-trust routing

Routing decisions made on identity and posture rather than position in the topology. Being inside the perimeter stops being an authorization. Practically this means per-device policy enforced at the first hop, mutual authentication between network elements, and a default-deny posture between segments that most estates have never actually had.

Encrypted transit and device isolation

Traffic encrypted between segments with keys the device proves it holds, and the ability to isolate a single device at the port or VLAN level on demand — the control plane that makes automated quarantine possible.

Specifying hardware you can actually trust

RequirementAcceptableNot acceptable
Key storageOTP fuses, or a discrete secure element / TPM 2.0Keys in rewritable SPI flash
Boot verificationEach stage verifies the next, anchored in ROMBootloader verifies itself
Anti-rollbackMonotonic counter enforced in hardwareVersion check in software
Key rotationDocumented field procedure, tested"Contact support"
AttestationDevice signs a measurement a remote verifier checksDevice reports its own status as a string
Debug portsJTAG/UART fused off in productionPresent, "protected by obscurity"

The rollback question is the one that exposes the most vendors. If keys cannot be rotated on deployed hardware, a key compromise means physically replacing every device in the field — price that in now.

Firmware build and release

Reproducible build and signing pipelineSource through hermetic build, SBOM generation, offline signing, attestation and verified deployment, producing a byte-identical artifact.Sourcegit, reviewedsigned commitsHermetic buildpinned depsno networkSBOMevery componentenumeratedSignoffline keyHSM ceremonyAttesthash publishedto your registryDeploydevice verifiesbefore installreproducible: the same source produces byte-identical output on your machine and oursWHY THIS MATTERSIf you cannot rebuild the artifact and get the same hash, you cannot prove what is running on the device — and neither can your assessor.
Reproducibility is the difference between trusting a supplier and verifying one.

Worked example — 400 branch routers, mixed vendor, 9-year average age

Starting position: four router models across three vendors, two of them past end-of-support. Management interfaces reachable from the corporate LAN. A shared enable password known to roughly thirty people. No configuration backup that anyone had restored from.

  1. Inventory and triageEvery device fingerprinted, firmware version recorded, and classified: 140 devices could take hardened vendor firmware, 190 could take a custom build, 70 had no secure element and were scheduled for replacement. We said so plainly rather than pretending signed firmware alone would substitute.
  2. Out-of-band managementManagement moved to a dedicated VRF unreachable from user VLANs. This single change removed the largest exposure before any firmware work began — sequencing matters, and the cheapest high-impact change goes first.
  3. Custom buildFor the 190: services stripped to routing, DHCP relay and monitoring. Telnet, HTTP admin, SNMPv1/2c and the vendor's cloud-management daemon removed from the build rather than disabled — an attack surface not compiled in cannot be re-enabled by a misconfiguration.
  4. CredentialsPer-device credentials from a managed vault, TACACS+ where supported. The shared enable password was retired in a single scheduled window, with a documented fallback.
  5. Secure bootEnabled on hardware that supported it, keys generated in the client's custody during a witnessed ceremony. Anti-rollback counters set after 30 days of stable running — not immediately, because a counter burned on a bad image is unrecoverable.
  6. AttestationEach device measures its boot chain and reports to a verifier. Any device whose measurement changes unexpectedly is flagged and quarantined automatically.
  7. Result70 devices replaced, 330 hardened. Mean time to detect an unauthorized firmware change went from "never" to under five minutes.

Zero-trust routing in practice

The principle is that position in the topology confers no authorization. In implementation terms:

  • Per-device identity — a certificate in the secure element, not a MAC address, which is trivially spoofed.
  • Posture as a routing input — a device failing attestation is routed to remediation regardless of which port it is plugged into.
  • Mutual authentication between network elements — routing adjacencies authenticated, so a rogue device cannot inject routes.
  • Default deny between segments — with every exception logged and reviewed on a schedule, because unreviewed exceptions accumulate until the policy means nothing.

What breaks, and how we stage around it

ChangeWhat typically breaksMitigation
Removing SNMPv1/2cLegacy monitoring, printer discoveryParallel SNMPv3 for 30 days before removal
Disabling TelnetScripts with hardcoded sessionsAudit automation first; most of it is undocumented
Secure bootField techs' rescue images no longer bootSign a maintenance image, issue before enforcement
Anti-rollbackCannot downgrade from a bad releaseDelay 30 days; keep one device unfused as a canary

Scope your endpoint and network architecture

Bring us the estate you actually have — mixed OS fleets, ageing routers, unmanaged IoT — and we will tell you what can be unified under one agent and what needs custom work.

Request a FREE consultation