The useful part, up front

What you’ll take away

  • Authentication, replay checks, destination matching and permission answer different questions.
  • In the nine-record paper example, only rows 1, 4, 7 and 9 are accepted; rejected candidates leave the saved counter unchanged.
  • A strict counter rule can reject an unseen late record and does not establish elapsed message age.
  • Restarted reference state and changed permissions can alter acceptance while a message’s authentication remains valid.
  • A dated standard or a valid tag does not certify an unspecified vehicle’s complete behavior.
01

A valid authentication result is only one part of acceptance

A message can arrive with a valid authentication result and still be unsuitable for use. It might repeat a previously accepted message, belong to another receiver, or request an operation that its source is not permitted to request. These are different problems. NIST's explanation of message authentication explicitly separates it from protection against replay. Its access-control guidance also distinguishes authentication from permission. [2][4] A useful security explanation must say which question each check answers instead of turning one successful check into a general approval.

This distinction matters in vehicles because electronic information can influence physical systems. NHTSA's 2022 guidance discusses replay, integrity compromise and spoofing within a broader protection strategy; it describes itself as voluntary, non-binding guidance. [1] We will use an original paper example involving an imaginary display, with no connection to a real car. Every record, counter and verification result is supplied for the lesson. The example shows how acceptance decisions depend on retained history and current rules; it does not test a vehicle or provide a complete communication design.

The invented record binds five fields into one protected message. Original field grouping, with an assumed clear encoding. These are paper labels, not a real vehicle frame or a computed MAC.
Original field grouping, with an assumed clear encoding. These are paper labels, not a real vehicle frame or a computed MAC. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
02

Specify the whole record that authentication covers

A MAC is a value calculated from a message and a secret key. Verification checks the supplied message and MAC against the relevant key. [2] That relationship is more specific than a reassuring label such as 'secure message'. If an important field lies outside the protected content, a successful check cannot establish its association with the protected fields. Start by naming exactly what belongs to the record. Our imaginary record contains a session label, an intended receiver, a requested purpose, a counter and a display value.

For this lesson, assume those five fields have one clear, agreed encoding and are authenticated together. A record might belong to session S, address display A, request update-display, carry counter 41 and supply a value. We will write 'valid' or 'invalid' for its supplied verification result, without inventing a real tag. The display value is part of the protection even though we do not need its contents for the decision table. A check over the counter alone would answer a different question from a check over the complete record.

03

A shared key does not identify one unique physical sender

The secret key's distribution changes what a valid result can mean. In a symmetric MAC arrangement, parties with the required key and generation access can produce valid tags. NIST's replay discussion even considers a verifier encountering a message that the verifier itself generated earlier. [2] If two imaginary modules share the same generation capability, a valid tag alone cannot tell us which physical module created a particular record. The claimed source label must be interpreted within the system's trusted key and role arrangement.

There is another limit: verification gives cryptographic assurance, not a promise that guessing or implementation failure is impossible. NIST discusses the conditions behind that assurance. [2] We do not need to choose a tag length or calculate an attack probability to follow this lesson. We only need to keep the conclusion narrow. A valid record is still subject to its intended context, the receiver's history and permission rules. Nor does authentication prove that an authenticated display value accurately describes the physical world; protection of a statement is different from evidence that the statement is true.

04

Give the paper receiver an explicit acceptance rule

Set the display's active session to S and its own name to A. Its current permission rule allows update-display but does not allow clear-display. Give it a notebook containing 40, the counter of its last accepted record. A new candidate must have a valid authentication result, match session S, name receiver A, request the allowed purpose and carry a counter greater than the notebook value. These are our invented rules. They illustrate the separate message-history and permission questions described by NIST. [2][4]

Only when every condition passes does the display accept the record and replace its notebook value with that record's counter. If any condition fails, the old notebook value stays. We consider one record at a time and use ordinary positive integer counters without a wraparound limit. The notebook is assumed trustworthy at the start. This deliberately simple ordering rule will reject some late records that were never accepted before. That is part of its defined behavior, not a claim that every real vehicle uses the same rule.

The invalid high counter does not disqualify the next valid record. Original rows 3 and 4. Row 3 begins with L = 41; all context and permission fields match in both rows. Only acceptance changes L.
Original rows 3 and 4. Row 3 begins with L = 41; all context and permission fields match in both rows. Only acceptance changes L. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
05

Follow nine candidates without skipping the rejected ones

Start with 40 in the notebook. Row 1 is a valid S/A/update-display record with counter 41: accept it and write 41. Row 2 repeats that same record: its authentication still passes, but 41 is no longer greater than 41, so reject it. Row 3 claims counter 500 but has an invalid authentication result: reject it and keep 41. Row 4 is a valid, correctly addressed and permitted record with counter 43: accept it and write 43. Row 5 is a similarly valid record with counter 42: reject it because our strict rule now requires more than 43.

Row 6 has valid authentication and counter 44, but asks for the forbidden clear-display purpose, so the notebook stays 43. Row 7 is a valid permitted update with counter 45: accept it. Row 8 has valid authentication and counter 46, but names receiver B: reject it and keep 45. Row 9 is a valid S/A/update-display record with counter 47: accept it. Four rows were accepted: 1, 4, 7 and 9. Five were rejected for different reasons. These are outcomes of the supplied paper rules, not a measured security success rate.

06

An unaccepted high number must not become accepted history

Row 3 is a useful check on the meaning of the notebook. It contains 500, much larger than 41, but the record fails authentication. If we wrote 500 into the notebook anyway, the valid row 4 with counter 43 would then look too old. That would make an unaccepted claim control later decisions. Under our declared rule, 500 never becomes the last accepted counter. The notebook remains 41 until row 4 passes every condition and advances it to 43. This is why the update rule belongs in the explanation, not just the test for a large number.

Row 5 reveals a different tradeoff. Counter 42 is not a duplicate of an earlier accepted counter, yet it arrives after 43 and is rejected. A strict order rule can exclude delayed or reordered records as well as exact repeats. NIST identifies replay, out-of-sequence messages and missing messages as related but distinct matters for a controlling protocol. [2] Other designs can retain a more detailed history and allow selected out-of-order arrivals. Our notebook does not do that. A rejection here establishes failure of this rule, not proof that someone acted maliciously.

07

A higher counter does not tell you how many seconds have passed

After row 9, the notebook holds 47. Consider two separate alternatives, each with a valid, permitted S/A record carrying counter 48. In the first, a supplied creation time is 100 seconds and arrival is at 700 seconds. In the second, creation is at 694 seconds and arrival is again at 700 seconds. Both counters exceed 47. Their ages are very different: 600 seconds and 6 seconds. Passing the counter test alone cannot distinguish those ages because that test never reads a clock.

Now add a separate, invented age rule: accept only ages from zero through 30 seconds. Assume the creation timestamp is authenticated with the record and both times use an accurate common clock. The first alternative fails that extra rule; the second passes. NIST lists timestamps as one possible kind of authenticated identifying information. [2] Our 30-second choice is only an explanatory threshold. Without the stated timestamp and clock assumptions, subtracting two displayed times would not automatically establish a trustworthy message age. A first delivery can therefore be new to the receiver's counter history and still be old in elapsed time.

The same newer counter can accompany two different message ages. Separate original alternatives: L = 47, n = 48, receipt time 700 s. Creation times are authenticated; an accurate common clock is assumed.
Separate original alternatives: L = 47, n = 48, receipt time 700 s. Creation times are authenticated; an accurate common clock is assumed. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
08

The intended receiver and purpose need their own checks

Return to row 8, which names receiver B. Its authentication is valid under the imaginary shared association, and 46 exceeds display A's current notebook value of 45. It still does not belong at A. Because the receiver name is protected together with the other fields, A can read an authenticated statement that the intended receiver is different. Authentication supplies useful information here, but the destination comparison must actually use it. Merely carrying a receiver field is not the same as enforcing that field.

The operation field works in a similar way. Row 6 authentically requests clear-display, while the current permission allows only update-display. A genuine request can exceed its allowed scope. NIST's access-control treatment bases permission on the subject, protected object, requested operation and relevant context. [4] In our model, the key association supplies the trusted role context; an arbitrary name written inside a message does not grant a new role. Keeping destination and permission distinct also makes the rejection reason useful: a request for a different receiver is not identical to a forbidden request for this receiver.

09

Restarting the notebook changes the replay result

Take the old valid row 1 record with counter 41 after the main trace has finished. With 47 still in the notebook, that old record is rejected. Now imagine the notebook is erased to zero while session S and the permission remain unchanged. The very same old record passes our counter rule because 41 is greater than zero. Its tag did not change and no new tag had to be invented. What changed was the receiver's memory of the past. This is a logical comparison between two starting states, not a procedure for resetting a real device.

Preserving trustworthy history would retain the rejection. A separately established new session T would also make this particular S record fail the session check, even with a new counter history. But merely typing a different session label is not a complete solution: the system would need a trustworthy way to establish, authenticate and distinguish the active session. NIST's replay discussion places identifying information within the controlling protocol. [2] The lesson is that replay protection depends on how a record relates to live reference state, including what happens when that state is restarted or replaced.

An unchanged old record meets different reference states. Original replay of the valid S/A/update record with counter 41. Session T is separately trusted; establishing it is outside this model.
Original replay of the valid S/A/update record with counter 41. Session T is separately trusted; establishing it is outside this model. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
10

Current permission can change while an old tag stays valid

Suppose a separate candidate arrives after the main trace: counter 48, session S, receiver A and the update-display purpose, with valid authentication. If the current permission still allows that purpose, it passes our baseline rule. Now change only the permission: the association is no longer allowed to request updates. The same candidate must be rejected and the notebook remains 47. Withdrawal of permission does not require the old message's tag to become mathematically invalid. The decision changes because the authority to perform the operation has changed.

This is why a successful authentication log and an accepted-action log should not be read as the same statement. NIST describes authorization as a decision governed by applicable policy and context. [4] A system may recognize an authenticated source while denying one of its requests. In the paper example, we can point to the exact rule that changed. In a product claim, useful evidence should similarly identify the permitted operation and the policy used at the time, rather than presenting possession of a recognized credential as unlimited authority.

11

A published protocol example is evidence with a defined scope

The AUTOSAR FO R23-11 SecOC document provides a concrete automotive example: it uses freshness management and includes a data identifier, protected payload and complete freshness value in the authentication input. Its stated AP/CP compatibility scope assumes Ethernet. [3] This supports the importance of binding context and freshness to content, without making our simple notebook rule a description of that protocol. It also does not show that every car, bus type or software version implements the same arrangement.

Broader protection still has architectural questions. NHTSA's dated guidance discusses segmentation and isolation between externally connected functions and lower-level vehicle systems. [1] A message check and a network boundary address different parts of the problem. An authenticated statement might be permitted on one path while being irrelevant or inappropriate on another. Reading a feature claim therefore means preserving its scope: which component, which message, which protected fields and which surrounding controls? A named standard or cryptographic primitive does not, by itself, answer all of those questions.

12

Read an acceptance result with its record, history and policy

Our nine records offer a practical way to read a security explanation. Ask what was authenticated, then ask what state the receiver compared it against. Follow with the intended destination and allowed purpose. A valid repeat failed after 41 was saved; a never-before-accepted 42 failed after 43; a high invalid 500 never became history. Those outcomes make sense only when the acceptance rule and notebook transition are visible. The separate clock example then shows why 'newer than the last accepted counter' cannot stand in for 'created recently'.

Finally, keep the claimed result at the level of the evidence. Authenticity does not prove physical truth, a counter does not supply a clock, and permission for one operation is not permission for every operation. [1][2][4] A real system also needs suitable behavior when data is rejected or missing, which our display puzzle does not determine. The useful conclusion is precise: under declared assumptions, a receiver can correctly reject an authenticated record. Explaining why it rejected that record is more informative than treating every valid tag as an instruction to proceed.

A useful acceptance explanation keeps the evidence together. Original reading sequence for an authentication claim. This paper predicate does not certify a product, a safe fallback or physical data truth.
Original reading sequence for an authentication claim. This paper predicate does not certify a product, a safe fallback or physical data truth. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
Follow the evidence

Sources & further reading

Explore the references behind this guide. External pages may change after our review.

  1. Cybersecurity Best Practices for the Safety of Modern Vehicles — Updated 2022
    National Highway Traffic Safety Administration · Accessed 7 Nov 2026
  2. NIST SP 800-38B: The CMAC Mode for Authentication (2016 update)
    National Institute of Standards and Technology · Accessed 7 Nov 2026
  3. Specification of Secure Onboard Communication Protocol — AUTOSAR FO R23-11
    AUTOSAR · Accessed 7 Nov 2026
  4. NIST SP 800-162: Guide to Attribute Based Access Control Definition and Considerations (2019 update)
    National Institute of Standards and Technology · Accessed 7 Nov 2026

Article updated 7 Nov 2026.

Found something we should revisit?

Good explanations get better with thoughtful feedback.

Suggest a correction