Questions to Ask an Embedded Firewall Vendor Before the Filter Becomes a Single Point of Failure

A firewall placed between CAN-FD domains and the automotive Ethernet backbone becomes a new single point of failure on paths that carry braking and steering requests. So the first question for any vendor is about failure, not throughput: what does the device do with traffic when its own filter engine, key store or PQC verifier stops responding? Each question below points to a technical risk that you can check on paper, in the vendor's configuration files and failure analysis, without a test bench.

What happens to a frame when the filter engine hangs?

Ask the vendor to say, for each traffic class, whether the device blocks everything (fails closed), passes everything (fails open) or falls back to a fixed whitelist enforced in hardware. If the vendor gives one answer for all traffic, treat it as a red flag. Failing closed on the diagnostic port is correct, but failing closed on the chassis CAN-FD bus means a watchdog reset of the firewall cuts off actuator commands, and that is a safety event as well as a security one. The risk is a security component that ends up in the safety case with nobody responsible for the conflict between the two. Good vendors answer with a hardware lookup table, usually in the switch or CAN controller, that keeps forwarding approved identifiers while the main processor reboots. They can also tell you how long that reduced mode lasts and which checks it skips.

Where are the freshness counters kept after a reset?

SecOC authentication depends on freshness values, which are message counters, and a firewall that checks authenticated messages has to store those counters somewhere. If they live only in RAM, a brief power drop on the gateway leaves it with stale counters. Every authenticated frame after that fails the check, and the firewall drops traffic that is perfectly legitimate. Most shortlists miss this failure mode, because in the logs it looks like an attack. Ask how the counters are saved, what triggers resynchronisation, and whether the resync messages are authenticated themselves, because an unauthenticated resync path is an easy way in for replay attacks. Then ask how long the bus stays degraded during resynchronisation, and insist on a worst-case figure, not an average.

Where the shortlist splits

Ask each vendor for the failure analysis they produced under the automotive cybersecurity and functional safety engineering standards, such as ISO/SAE 21434 and ISO 26262, and drop any candidate whose analysis does not state, for every safety-relevant traffic class, the fallback behaviour, its maximum duration and which component enforces it while the main firewall is down, because that is the one document you can check without a lab and the one that best predicts how the vehicle behaves when things go wrong.

Does post-quantum verification sit on the per-frame path?

Lattice-based signatures are large, and the cost of verifying them depends heavily on the implementation, so a vendor that promises PQC ingress filtering at full Ethernet line rate needs to explain where that work runs. The safe design verifies PQC signatures only when a session or key is set up, on a separate core or HSM. Per-frame filtering then uses symmetric MACs with a guaranteed worst-case latency, which you should get as a hard figure, for example 10 µs per frame including queueing, rather than a typical throughput number. The next question is what happens if the PQC verifier is overloaded or fails: do established sessions keep running on their current symmetric keys, or are they torn down? Tearing them down turns a fault in the crypto accelerator into a network outage. As an estimate, a PQC handshake on a midrange automotive microcontroller without hardware acceleration takes tens of milliseconds. That is fine at startup, but not if it repeats on every key renewal under load. Keeping sessions alive on old keys during a verifier fault has a cost too: it gives an attacker more time with any compromised key, and only your own threat analysis can say how long that window may last.

Is fail-open ever acceptable for an in-vehicle firewall?

Yes, for traffic classes where availability matters more than anything else and the receiving ECU still checks SecOC MACs itself. In that case the firewall is only one layer of defence, and passing traffic during its own fault does not remove the authentication. It is not acceptable where the firewall is the only point that checks authentication, because a reset there silently turns protected traffic into unprotected traffic.

Back to EmbeddedWall · Domains

← Back to EmbeddedWall
Engineering & Architecture Brief

Questions to Ask an Embedded Firewall Vendor Before the Filter Becomes a Single Point of Failure

A firewall placed between CAN-FD domains and the automotive Ethernet backbone becomes a new single point of failure on paths that carry braking and steering requests. So the first question for any vendor is about failure, not throughput: what does the device do with traffic when its own filter engine, key store or PQC verifier stops responding? Each question below points to a technical risk that you can check on paper, in the vendor's configuration files and failure analysis, without a test bench.

What happens to a frame when the filter engine hangs?

Ask the vendor to say, for each traffic class, whether the device blocks everything (fails closed), passes everything (fails open) or falls back to a fixed whitelist enforced in hardware. If the vendor gives one answer for all traffic, treat it as a red flag. Failing closed on the diagnostic port is correct, but failing closed on the chassis CAN-FD bus means a watchdog reset of the firewall cuts off actuator commands, and that is a safety event as well as a security one. The risk is a security component that ends up in the safety case with nobody responsible for the conflict between the two. Good vendors answer with a hardware lookup table, usually in the switch or CAN controller, that keeps forwarding approved identifiers while the main processor reboots. They can also tell you how long that reduced mode lasts and which checks it skips.

Where are the freshness counters kept after a reset?

SecOC authentication depends on freshness values, which are message counters, and a firewall that checks authenticated messages has to store those counters somewhere. If they live only in RAM, a brief power drop on the gateway leaves it with stale counters. Every authenticated frame after that fails the check, and the firewall drops traffic that is perfectly legitimate. Most shortlists miss this failure mode, because in the logs it looks like an attack. Ask how the counters are saved, what triggers resynchronisation, and whether the resync messages are authenticated themselves, because an unauthenticated resync path is an easy way in for replay attacks. Then ask how long the bus stays degraded during resynchronisation, and insist on a worst-case figure, not an average.

Where the shortlist splits

Ask each vendor for the failure analysis they produced under the automotive cybersecurity and functional safety engineering standards, such as ISO/SAE 21434 and ISO 26262, and drop any candidate whose analysis does not state, for every safety-relevant traffic class, the fallback behaviour, its maximum duration and which component enforces it while the main firewall is down, because that is the one document you can check without a lab and the one that best predicts how the vehicle behaves when things go wrong.

Does post-quantum verification sit on the per-frame path?

Lattice-based signatures are large, and the cost of verifying them depends heavily on the implementation, so a vendor that promises PQC ingress filtering at full Ethernet line rate needs to explain where that work runs. The safe design verifies PQC signatures only when a session or key is set up, on a separate core or HSM. Per-frame filtering then uses symmetric MACs with a guaranteed worst-case latency, which you should get as a hard figure, for example 10 µs per frame including queueing, rather than a typical throughput number. The next question is what happens if the PQC verifier is overloaded or fails: do established sessions keep running on their current symmetric keys, or are they torn down? Tearing them down turns a fault in the crypto accelerator into a network outage. As an estimate, a PQC handshake on a midrange automotive microcontroller without hardware acceleration takes tens of milliseconds. That is fine at startup, but not if it repeats on every key renewal under load. Keeping sessions alive on old keys during a verifier fault has a cost too: it gives an attacker more time with any compromised key, and only your own threat analysis can say how long that window may last.

Technical FAQ: Is fail-open ever acceptable for an in-vehicle firewall?

Yes, for traffic classes where availability matters more than anything else and the receiving ECU still checks SecOC MACs itself. In that case the firewall is only one layer of defence, and passing traffic during its own fault does not remove the authentication. It is not acceptable where the firewall is the only point that checks authentication, because a reset there silently turns protected traffic into unprotected traffic.

Related Architecture Specifications (PQCECOSYSTEM): medicaltpm.com · mlkemguard.com · mlkemshield.com

More Technical Articles on embeddedwall.com

On-Chip Interconnect Security: Protecting Automotive Gateways and Defense SoCs →Mathematical Proof of Zero-Bypass: Formally Verifying Hardware Access Control Logic →Ask the Firewall Vendor What Happens When the Firewall Dies →