Part 5: Misbehavior detection, how???

In my last blog, we talked about the difficulties of certificate revocation and discussed that vehicles in V2X communication use short-term certificates rather than actively revoking them1.

In this blog, we continue our discussion on a closely related topic: misbehavior detection. Misbehavior of vehicles is one of the reasons why certificates need to be revoked in the V2X context2. Once certificates are revoked, receiving vehicles reject all messages sent by the affected vehicle until it runs out of all outstanding valid certificates. Then the natural question becomes – how does misbehavior can/would be detected?

In my past blog, we’ve already covered the discussion that certificate-based message integrity is the only security solution in basic safety services in V2X. Misbehaving vehicles – as a result of being compromised or for some other reasons – can negatively influence road safety, such as transmitting incorrect information in basic safety messages. Incorrect information in CAM or BSM may include wrong position, speed, direction, acceleration, etc., or reporting non-existent hazardous situation in DENM. Those incorrect information can mislead surrounding vehicles to judge safe situations as unsafe, or vice versa. For example, if a misbehaving vehicle sends a position information that indicates that it is right in front of another vehicle and is braking hard (even though its actual position is farther away in a safe distance), the trailing vehicle may perceive that it also needs to apply hard braking, causing an unnecessary and potentially dangerous situation for trailing vehicles. To maintain the overall integrity of the V2X communication, those misbehaving vehicles need to be properly detected and evicted from the communication channel.

Implications of revocation (due to misbehavior)

At this point an important distinction needs to be made between revocation and the resulting implication to the V2X communication.

Based on the natural expiration of short-term certificates for vehicles, they become invalid and can no longer be used. However, there is a time gap between the point where the V-PKI system declares that the certificates for a vehicle are revoked and the point where all outstanding valid (i.e., currently in-use) certificates expire. During this gap period, this vehicle will continue to use these still-valid certificates and will not voluntarily stop transmitting V2X messages using those valid certificates until they expire (see Fig.5-1 below). Because those certificates are perfectly valid, all messages have valid signatures, and will be accepted by all receiving vehicles as a result. This is the side effect of the vehicle in question not being notified of its own revocation situation until such time that it contacts the V-PKI system to refresh a new set of certificates at the end of the current batch of certificates. In other words, invalidating certificates, invalidating a vehicle, and evicting that vehicle are not the same thing (see Fig.5-2 below). Furthermore, if a compromised vehicle’s behavior is modified in such a way that it continues to transmit messages using expired certificates, it can certainly (illegitimately) occupy the communication channel (i.e., garbage messages). As a result, strictly speaking, it may not be possible to completely evict misbehaving vehicles from the communication channel. In other words, the act of restraining itself from further message transmission is left up to the good will of the vehicle in question rather than disabling it from transmitting messages further.

Fig. 5.1 Time gap of misbehavior detection and revocation
Fig.5.2 Misbehavior and its implications

How misbehavior can be detected

At this point, the question that beg to be answered is – how do we know if a vehicle is misbehaving? It might be intuitive in the context of human behavior to see if someone is misbehaving or not based on specific situations and contexts, societal norms, etc. But how do we define misbehavior in the context of V2X communication? More generally, how do we accurately and reliably determine if a vehicle is misbehaving or not?

One very predictable (rather obvious) answer is to use AI for this purpose, and I would consider it likely to be the case in reality. After all, the use of AI is ubiquitous in almost any topic and context nowadays. But there are problems in the use of AI, and they are equally applicable in the V2X context as well. If we apply machine learning (ML) – either supervised, unsupervised, or reinforcement learning – how can we be sure that the trained AI model does what it’s supposed to do under all circumstances in 100% certainty and accuracy? In the ML visual recognition context, there is a number of research work that shows that a small innocuous perturbation of traffic signs can trick AI-based visual recognition systems to misunderstand them, although those small perturbations have absolutely no effect on human eyes. For example, a small sticker applied on a stop sign causes ML to perceive it something completely different. In cyber-physical systems (CPS) such as V2X, the negative consequences of such an absence of reliability can be a compromise in road safety or even accidents. In a broader context, this discussion is the same as the use of AI in autonomous driving cars – a case where the use of AI technology potentially causes harm in real life if it makes a wrong judgment in vehicle navigation (a well-known trolley problem).

To apply AI in misbehavior detection (or for any usage), there needs to be a way to ensure the trained model has exhaustive coverage of misbehavior situations in order to be considered usable in the real world. For us to be confident that it is exhaustive (i.e., humans as opposed to AI algorithms), it requires defining a list of exhaustive observable signs that positively indicate misbehavior. Then the question becomes – what are these observable behaviors, and how to separate true positives from false positives (and true negatives from false negatives), how do we judge one observation being a misbehavior or not, how do we define the threshold or borderline between them, etc.? In other words, the question is what are we trying to catch and how exactly we go about it? Unless we have a clear answer to these questions, we don’t know what we’re trying to achieve, hence we don’t have a workable and reliable misbehavior detection.

What is misbehavior anyway?

Considering these points essentially leads to this fundamental question – what is misbehavior anyway? Misbehavior in vehicles probably stems from multiple root causes, including both active compromise of a vehicle by adversaries or unintentional results of inadvertent sensor malfunctions or inaccuracies due to poor product quality of vehicle sensors, etc. Do we aim to cover the former only (i.e., proactive compromise), or do we try to cover both (i.e., sensor malfunction, etc.)? Covering either of them involves (different) tricky questions.

Furthermore, we need to define what kind of manifestations constitute misbehavior. Is it sending inaccurate or wrong information in basic services, or transmission behaviors that do not conform to the standard-defined message contents or patterns, etc? How do we know what all the possible conditions for sure?

To reiterate, if we don’t have answers to these questions, we don’t have effective misbehavior detection. What we will have, in effect, is half-working, half-broken detection systems. Ideally, standards (e.g. IEEE 1609.2, SAE J2735, ETSI ITS, etc.) should cover these points clearly and unambiguously to make it truly effective in real-world situations. However, it is unlikely that we can expect standards to nail this point. Then the solutions will become an implementation-dependent matter, effectively leaving these points to device manufacturers and OEMs. This will naturally result in uneven levels of effectiveness from one vehicle model to another, etc. in reality.

What happens after revocation?

Related to misbehavior detection and subsequent revocation of certificates, there are several unclear points – what happens after the misbehaving condition has been fixed, or if it is of a temporary nature that no longer exist?

Suppose a vehicle’s transmission behavior is considered questionable, thus judged as misbehaving by receiving vehicles, and subsequently its certificates are revoked. Further suppose, in this case, that this misbehavior was caused by an unreliable sensor device after a minor bumper-bender type accident. In that case, the correct way to address this problem is to fix or replace this faulty device. Once this is done, this vehicle is no longer misbehaving. Similarly, when a compromised malicious vehicle is fixed by re-installing and re-initializing the affected firmware, this vehicle is no longer misbehaving, at least technically speaking. Under this condition, how are these vehicles’ states restored to normal use? Standards (IEEE 1609.2 and ETSI ITS) do not cover this case. They specify the misbehavior as a concept with corresponding procedures and messages. But that appears to be incomplete; they don’t cover how those revoked vehicles are put back in use after the problem gets fixed. One obvious approach is to re-do the enrollment and certificate issuance procedures from scratch. At least, from standard perspective, it is the only way.

Closing remark

Reading back what I wrote in this post, I realize that I’ve ranted quite a bit on the shortcomings of revocation and misbehavior detection. But I consider that leaving these points unaddressed will one day lead to a consequence that may become too late.

In my next blog, I plan to cover privacy protection solution in V2X communication.

  1. CA certificates (i.e., certificates for Registration Authority (RA), Authorization Authority (AA), and Misbehavior Authority (MA) are revoked using CRL).
  2. We mentioned that certificates for vehicles are left untouched to naturally expire due to the use of short-term certificates rather than proactively revoke them. In this sense, strictly speaking, use of the word “revoke” may be misleading. However, to keep the discussion simpler, I’m extending the semantic meaning of “revoke” to include natural expiration of short-term certificates.
takahitoyoshizawa Avatar

Leave a Reply