Green Counters, Silent Overrides: Reading SecOC Telemetry When the Freshness Manager Fails

A green SecOC verification counter proves that a verifier ran and returned a result. Nothing more. It does not prove that the freshness value came from a synchronised source, that the MAC key is still the one you provisioned, or that the gateway in the middle forwarded the original frame rather than a re-authenticated copy. Before the review, the engineer has to separate what the ECUs measured from what the dashboard lets everyone assume.

What the counter actually counts

On the receiving ECU, each secured PDU produces a verification outcome. That outcome, tagged with the PDU identifier and a timestamp, is the only thing the telemetry measures directly. The aggregation layer then folds those outcomes into a rate, and the rate is where inference gets in, because it hides which mode the verifier was in when it said yes. AUTOSAR SecOC lets the integrator override the verification status per PDU, a feature meant for development and degraded operation that often survives into production calibration, and while the override is active frames reach the application whatever the MAC check said, so a dashboard that counts deliveries rather than cryptographic results reports them as authentic. What is measured is the per-frame outcome, plus the override state if you log it. What is inferred is everything the word 'authenticated' implies on the slide.

When the Freshness Value Manager drifts

The failure mode that matters most is a quiet one. An ECU resets or goes bus-off, its freshness counter restarts from a persisted value that lags the network, and the synchronisation message that should realign it is lost or arrives after the acceptance window has moved on. Receivers then reject every frame from that sender as stale, which is correct behaviour and looks exactly like a replay attack on the graph. Integrators under pressure to keep the vehicle drivable respond by widening the acceptance window or switching on the override, and the rejection spike disappears. The telemetry measured a burst of freshness failures followed by a return to normal, but it never measured that the fix was a security relaxation, so unless the FVM exports its own sync events and window configuration next to the verification counters, the recovery on the dashboard is an inference, and often the wrong one.

The gateway collapses two results into one

A gateway proxy that verifies on one bus and re-authenticates onto another with a different key turns two independent cryptographic results into a single green status downstream, so the downstream counter proves that the gateway signed the frame and says nothing about whether the original sender was genuine.

Hybrid signatures and the fallback nobody graphs

Post-quantum signatures do not fit in a CAN-FD frame alongside a payload, so practical designs keep a truncated CMAC of 64 bits on every PDU and reserve the lattice-based signature for key updates, session establishment and gateway-to-backend exchanges. The split is sound, but it adds a second path that can fail on its own: when PQC verification on the gateway backs up under load, or a certificate chain will not validate, implementations tend to accept the classical leg alone and carry on. A flag that reads 'hybrid enabled' records configuration, not the path each key update actually took. The decision rule I apply in reviews is blunt: any time window in which a verification override, a widened freshness window or a classical-only fallback was active is reported as unverified rather than passing, and if those states were not logged, the window counts as unverified by default. Automotive cybersecurity engineering standards such as ISO/SAE 21434 expect this kind of evidence chain in the monitoring argument but leave the logging granularity to you. Exporting override and fallback state per PDU costs bandwidth the in-vehicle diagnostic channel rarely has to spare, so the next decision is which ECUs earn that budget before the fleet ships.

Does a falling MAC failure rate mean the network is safer?

Not by itself. A falling rate fits an attacker giving up, a successful resync or an override being switched on equally well, and only the override and FVM sync logs can tell those cases apart.

Back to CANCryptography · Domains

← Back to CANCryptography
Engineering & Architecture Brief

Green Counters, Silent Overrides: Reading SecOC Telemetry When the Freshness Manager Fails

A green SecOC verification counter proves that a verifier ran and returned a result. Nothing more. It does not prove that the freshness value came from a synchronised source, that the MAC key is still the one you provisioned, or that the gateway in the middle forwarded the original frame rather than a re-authenticated copy. Before the review, the engineer has to separate what the ECUs measured from what the dashboard lets everyone assume.

What the counter actually counts

On the receiving ECU, each secured PDU produces a verification outcome. That outcome, tagged with the PDU identifier and a timestamp, is the only thing the telemetry measures directly. The aggregation layer then folds those outcomes into a rate, and the rate is where inference gets in, because it hides which mode the verifier was in when it said yes. AUTOSAR SecOC lets the integrator override the verification status per PDU, a feature meant for development and degraded operation that often survives into production calibration, and while the override is active frames reach the application whatever the MAC check said, so a dashboard that counts deliveries rather than cryptographic results reports them as authentic. What is measured is the per-frame outcome, plus the override state if you log it. What is inferred is everything the word 'authenticated' implies on the slide.

When the Freshness Value Manager drifts

The failure mode that matters most is a quiet one. An ECU resets or goes bus-off, its freshness counter restarts from a persisted value that lags the network, and the synchronisation message that should realign it is lost or arrives after the acceptance window has moved on. Receivers then reject every frame from that sender as stale, which is correct behaviour and looks exactly like a replay attack on the graph. Integrators under pressure to keep the vehicle drivable respond by widening the acceptance window or switching on the override, and the rejection spike disappears. The telemetry measured a burst of freshness failures followed by a return to normal, but it never measured that the fix was a security relaxation, so unless the FVM exports its own sync events and window configuration next to the verification counters, the recovery on the dashboard is an inference, and often the wrong one.

The gateway collapses two results into one

A gateway proxy that verifies on one bus and re-authenticates onto another with a different key turns two independent cryptographic results into a single green status downstream, so the downstream counter proves that the gateway signed the frame and says nothing about whether the original sender was genuine.

Hybrid signatures and the fallback nobody graphs

Post-quantum signatures do not fit in a CAN-FD frame alongside a payload, so practical designs keep a truncated CMAC of 64 bits on every PDU and reserve the lattice-based signature for key updates, session establishment and gateway-to-backend exchanges. The split is sound, but it adds a second path that can fail on its own: when PQC verification on the gateway backs up under load, or a certificate chain will not validate, implementations tend to accept the classical leg alone and carry on. A flag that reads 'hybrid enabled' records configuration, not the path each key update actually took. The decision rule I apply in reviews is blunt: any time window in which a verification override, a widened freshness window or a classical-only fallback was active is reported as unverified rather than passing, and if those states were not logged, the window counts as unverified by default. Automotive cybersecurity engineering standards such as ISO/SAE 21434 expect this kind of evidence chain in the monitoring argument but leave the logging granularity to you. Exporting override and fallback state per PDU costs bandwidth the in-vehicle diagnostic channel rarely has to spare, so the next decision is which ECUs earn that budget before the fleet ships.

Technical FAQ: Does a falling MAC failure rate mean the network is safer?

Not by itself. A falling rate fits an attacker giving up, a successful resync or an override being switched on equally well, and only the override and FVM sync logs can tell those cases apart.

Related Architecture Specifications (PQCECOSYSTEM): fhecipher.com · kybercipher.com · mlkemcompliant.com

More Technical Articles on cancryptography.com

Probabilistic Collision Analysis of Truncated Post-Quantum MACs on 5 Mbps CAN FD →Fulfilling UN Regulation 155 and ISO/SAE 21434 Post-Quantum Threat Assessment Requirements →Reference Architecture for CAN-FD Security: Where Truncated CMAC Ends and Post-Quantum Signatures Begin →CANCryptography: Reference Architecture, Interoperability & Deterministic Telemetry →