Next Article in Journal
WM–STGCN: A Novel Spatiotemporal Modeling Method for Parkinsonian Gait Recognition
Next Article in Special Issue
Performance Evaluation of Carrier-Frequency Offset as a Radiometric Fingerprint in Time-Varying Channels
Previous Article in Journal
Inertial-Sensor-Based Monitoring of Sample Entropy and Peak Frequency Changes in Treadmill Walking during Recovery after Total Knee Arthroplasty
Previous Article in Special Issue
XACML for Mobility (XACML4M)—An Access Control Framework for Connected Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Framework for Cybersecurity Requirements Management in the Automotive Domain

1
School of Automotive Studies, Tongji University, Shanghai 201804, China
2
iSOFT Infrastructure Software Co., Ltd., Shanghai 200125, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(10), 4979; https://doi.org/10.3390/s23104979
Submission received: 25 April 2023 / Revised: 11 May 2023 / Accepted: 18 May 2023 / Published: 22 May 2023
(This article belongs to the Special Issue Security, Privacy and Trust in Connected and Automated Vehicles)

Abstract

:
The rapid development of intelligent connected vehicles has increased the attack surface of vehicles and made the complexity of vehicle systems unprecedented. Original equipment manufacturers (OEMs) need to accurately represent and identify threats and match corresponding security requirements. Meanwhile, the fast iteration cycle of modern vehicles requires development engineers to quickly obtain cybersecurity requirements for new features in their developed systems in order to develop system code that meets cybersecurity requirements. However, existing threat identification and cybersecurity requirement methods in the automotive domain cannot accurately describe and identify threats for a new feature while also quickly matching appropriate cybersecurity requirements. This article proposes a cybersecurity requirements management system (CRMS) framework to assist OEM security experts in conducting comprehensive automated threat analysis and risk assessment and to help development engineers identify security requirements prior to software development. The proposed CRMS framework enables development engineers to quickly model their systems using the UML-based (i.e., capable of describing systems using UML) Eclipse Modeling Framework and security experts to integrate their security experience into a threat library and security requirement library expressed in Alloy formal language. In order to ensure accurate matching between the two, a middleware communication framework called the component channel messaging and interface (CCMI) framework, specifically designed for the automotive domain, is proposed. The CCMI communication framework enables the fast model of development engineers to match with the formal model of security experts for threat and security requirement matching, achieving accurate and automated threat and risk identification and security requirement matching. To validate our work, we conducted experiments on the proposed framework and compared the results with the HEAVENS approach. The results showed that the proposed framework is superior in terms of threat detection rates and coverage rates of security requirements. Moreover, it also saves analysis time for large and complex systems, and the cost-saving effect becomes more pronounced with increasing system complexity.

1. Introduction

The complexity of automotive systems is rapidly increasing due to the incorporation of advanced features and technologies. The automotive industrial sectors are currently confronted with massive difficulties originating from managing the increasing complexity of systems [1]. As more devices become automated, the volume of embedded software is increasing at 10 to 20 percent per year, depending on the domain [2]. As a result, the amount of software code required to operate these systems is also rapidly increasing. This increase in software code introduces a multitude of security risks that must be addressed to ensure the safety and reliability of the vehicle. These risks include potential vulnerabilities that could be exploited by attackers as well as unintended consequences resulting from complex interactions between system components. Xiong et al. [3] collected and analyzed vulnerabilities and software weaknesses in vehicles from the National Vulnerability Database (NVD). The three most common types of vulnerabilities identified were protection mechanism failure, buffer errors, and information disclosure. Among these, the most frequent type of vulnerability was protection mechanism failure, which refers to instances where the vehicle fails to use or improperly uses a protection mechanism that can provide adequate defense against targeted attacks directed at the vehicle. To mitigate these risks, it is essential to accurately and rapidly identify system risks and match them to corresponding security requirements. This requires a comprehensive and systematic approach to risk identification and mitigation that takes into account the entire system architecture and all potential attack vectors. By leveraging advanced techniques such as threat modeling and formal verification, it is possible to gain a deeper understanding of the security risks associated with automotive systems and develop effective strategies for mitigating those risks.
In the current automotive industry, where there is a highly competitive environment and rapid iteration of new functions is required, it is necessary for software engineers to develop engineering code that meets a series of strict security requirements in order to accurately describe and identify threats and risks in complex systems. This requires software engineers to possess both professional coding abilities and a certain level of expertise in information security. However, it is currently unrealistic or significantly increases the human resources costs of original equipment manufacturers (OEMs). Therefore, a cybersecurity requirements management framework tailored to the automotive industry is needed, which can meet the complex threat and risk descriptions of security experts for high-complexity systems to achieve accurate risk identification and can also help software engineers obtain corresponding security requirements before code development to assist them in completing agile development.
Many studies have proposed their own solutions to address this issue. Predrag Filipovikj et al. [4] proposed a pattern-based approach to formally describe security requirements, seeking successful industrial applications of security requirements engineering. The EAST-ADL (i.e., Electronics Architecture and Software Technology—Architecture Description Language) framework language was proposed in [5] to describe the automotive domain in accordance with the ISO 26262 standard. In article [6], a flexible model-driven engineering-based architecture named Flex-eWare was proposed for designing and implementing embedded distributed systems, allowing for relatively complete modeling of embedded distributed systems. However, some of these solutions fail to balance the precision of system threat modeling with the ease of use for software engineers, while others are not specifically designed for the automotive domain and are unable to perform targeted modeling and analysis of automotive domain communication protocols, among other issues.
In this paper, we have proposed a cybersecurity requirements management system (CRMS) as a security requirement analysis framework applied to the automotive industry. The ultimate goal of the CRMS is to assist security experts in OEMs in conducting comprehensive automated threat analysis and risk assessment of the entire system, as well as to help system development engineers obtain the necessary security requirements before implementing software development. In article [7], a complete review of threat analysis and risk assessment methods for automotive systems is presented. This review mentions that the threat analysis and risk assessment methods in the automotive field are mainly divided into two categories: formula-based methods and model-based methods. Model-based methods mainly include Unified Modeling Language (UML) and Systems Modeling Language (SysML) methods, which have the advantage of being able to intuitively display components, communication channels, and attributes in the system, but the description of system details is not sufficiently detailed. Formula-based methods mainly include first-order logic-based methods and Markov decision processes (MDP), which have the advantage of being able to describe the system in detail at a finer granularity, but their learning cost is higher.
Meanwhile, in order to reduce the communication difficulty and time cost between system development engineers and security experts, our proposed cybersecurity requirements management system needs to provide secure interfaces that can adapt to the professional skills of both parties. System development engineers prefer to use graphical and concise descriptions of the system through the UML-based method in the model-based approach, requiring visual views that are easy to understand and use. Security experts, on the other hand, need to model the system more accurately and rigorously for security, enabling them to identify threats more precisely. It is easy to see that the advantages and disadvantages of the two methods of threat analysis and risk assessment described in article [7] match the requirements and abilities of system development engineers and security experts. Therefore, our proposed approach is to allow system development engineers to use the UML-based method in the model-based approach, while security experts use the first-order logic based method in the formula-based approach based on the STRIDE (i.e., Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, and Elevation of privilege) threat analysis model to model the system, and then translate and match between the two to achieve the goal of helping security experts conduct comprehensive automated threat analysis and risk assessment of the entire system and helping software development engineers obtain security requirements that should be added to the system before implementing software development.
Based on the above considerations, a framework for cybersecurity requirements management in the automotive domain called CRMS is proposed in this paper. The contributions of this paper can be summarized as follows:
  • An accurate and fast threat analysis and security requirements system called CRMS, suitable for complex large-scale automotive systems, is proposed;
  • A secure communication framework for the automotive domain, named the component channel messaging and interface (CCMI) framework, which can serve as a middleware for converting formal and informal representation methods, has been proposed;
  • The proposed approach is applied to an autonomous emergency braking (AEB) system. Its risk detection rate, coverage rates of security requirements, and analysis time were evaluated and compared with the HEAVENS method.
The rest of this paper is organized as follows: Section 2 introduces the related work of security requirement management methods. Section 3 introduces the concepts of first-order logic and the formal tool Alloy. Section 4 presents the proposed framework for cybersecurity requirements management in the automotive domain. Section 5 presents an illustration for applying the proposed CRMS framework to the autonomous emergency braking system. Finally, Section 6 concludes this paper.

2. Related Work

There are now many studies on threat risk analysis and security requirements engineering. The methods of threat analysis and risk assessment are mainly divided into formula-based and model-based methods. Formula-based methods can be divided into asset-based methods, vulnerability-based methods, and attacker-based methods. Asset-based methods, such as the EVITA method (i.e., e-safety vehicle intrusion protected applications), evaluate the risk level of each asset in the system by performing an attack assessment and then assessing the potential level of risk that an attack could cause [8]. However, such methods only provide evaluation techniques and do not offer a complete evaluation process. The HEAVENS (i.e., healing vulnerabilities to enhance software security and safety) method complements this limitation and is a suitable assessment method for evaluating information security risks in automotive electronic and electrical systems [9]. The HEAVENS method first requires users to identify their security attributes and security goals and provide corresponding evaluation objects. Then, the Microsoft STRIDE threat analysis model is used for threat analysis. STRIDE associates threats with security attributes, and each type of STRIDE threat is statically mapped to a set of security attributes, including spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege, corresponding to authentication, integrity, non-repudiation, confidentiality, availability, and authority, respectively. Threats and evaluation objects are then categorized by considering both the threat level (TL) and impact level (IL) dimensions, leading to a security level classification. Finally, the four dimensions of threat, evaluation object, security attribute, and security level are integrated to form security requirements. Multi-metric approaches, such as SHIELD [1,10], evaluate the system’s level of security, privacy, and dependability by identifying multiple system configurations that meet established requirements. The SGM (i.e., security guide-word method) method, on the other hand, simplifies the identification of information assets and protection objectives, making it easy for non-security engineers to use [11]. TVRA (i.e., threat vulnerability and risk analysis) defines the risk level of a system based on the probability of an attack occurring and the impact it could have on the system and can output a quantitative measure of system asset risk and a detailed set of security measures to minimize risk [12]. Macher et al. [13] proposed a method called SAHARA (i.e., security-aware hazard analysis and risk assessment), which incorporates the STRIDE threat model. Vulnerability-based methods, such as FMVEA (i.e., failure mode vulnerabilities and effects analysis) [14], analyze a vulnerability’s potential to cause larger vulnerabilities or failures in the system. CHASSIS (i.e., combined harm assessment of safety and security for information systems) defines functionality, safety, and security requirements in two steps [15]. ANP (i.e., analytical network process) is a matrix approach that can effectively consider dependencies and conflicts between attributes for joint evaluation [16]. Attacker-based methods, such as SARA (i.e., security automotive risk analysis) [17], conduct threat analysis and risk assessment based on the knowledge level of possible attackers, attack paths, attack motivations, and resources possessed. SAM (i.e., security abstraction model) [18] combines safety management and model-based system engineering through an abstract description of automotive security modeling. The Bayesian Stackelberg game methodology models the attack and defense processes as a network security Stackelberg game [19].
Model-based methods can be divided into graph-based methods and tree-based methods. Graph-based methods use nodes and directional edges to represent the system’s structure. The STRIDE model, which consists of six categories, namely spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege, has been widely used for threat analysis in software engineering [20]. PASTA (i.e., process for attack simulation and threat analysis) [21], a seven-stage threat analysis method, complements the STRIDE method. Markov chain methods can perform quantitative threat analysis, providing a more intuitive and convincing result for the entire system [22,23,24,25,26]. The GTS (i.e., graph transformation system) method is a formal method of transforming the system structure graph, which can easily and quickly realize the conversion between the overall architecture and the module architecture [27]. UMLsec (i.e., Unified Modeling Language Security), a UML extension, has been used for model-based security engineering in distributed information systems [28,29]. Shah et al. [30] present a method of automatically creating a model transformation based on the original UML2Alloy transformation. Attack tree analysis, a tree-based method, uses a tree structure to represent the hierarchical relationships between nodes and has been widely used for threat analysis. The RISKEE (i.e., risk-tree) [31] method calculates risk through forward propagation of frequencies and backward propagation of risk using the RISKEE propagation algorithm. Moreover, many studies have proposed improvements and extensions to existing methods, such as STPA-Sec (i.e., systems theoretic process analysis—security) [32] and STPA-SafeSec (i.e., systems theoretic process analysis—safety and security) [33]. The advantages and disadvantages of different relevant methods have been summarized in Table 1.
Furthermore, Ansari et al. [34] proposed a methodology named STORE for eliciting security requirements based on security threat analysis. This methodology includes the identification of four key points for effective security attack analysis: the point of attack, the point of belief, the point of conjecture, and the point of dependency. In addition, the article [35] proposes a practical repository model for reusable security requirements that is user-friendly and understandable even for non-security experts. Mouratidis et al. [36] presented a novel security modeling language and a set of original analysis techniques for capturing and analyzing security requirements for cloud computing environments. However, these approaches have not been adapted to the protocols used in the automotive industry and may not be directly applicable to security engineering in the automotive field. Bouskela et al. [37] presented an integrated solution for formally defining system requirements and automating their verification through simulation. Kumar et al. [38] proposed a supervised text categorization approach for automatically extracting and classifying non-functional requirements. However, these methods require a high level of expertise and may be challenging for software developers with limited knowledge of cybersecurity. Therefore, there is an urgent need for a network security requirement analysis and management framework in the automotive industry that can address all of these pain points.

3. Preliminaries of Proposed Approach

3.1. First-Order Logic

First-order logic, also known as first-order predicate calculus, is a branch of mathematical logic that deals with logical systems based on objects, properties, and relations. In first-order logic, there is a set of objects, and these objects can be assigned properties and related to each other. It can be used to describe complex propositions in natural language and provide tools and methods for analyzing and proving these propositions.
The language of first-order logic can be represented by a set of symbols, including constants, variables, predicates, functions, and logical symbols. Constants are symbols that represent fixed objects; variables are symbols that represent any object. Predicates represent relations or properties, and functions map a set of objects to another set of objects. Logical symbols include negation, conjunction, disjunction, implication, biconditional, and quantifiers.
First-order logic has the following characteristics:
  • Precision: First-order logic is a precise mathematical language that can describe complex problems and various relationships clearly and accurately;
  • Completeness: First-order logic is a complete language that can describe any countable thing or relationship;
  • Natural expression: First-order logic has a natural expression form that can express and understand complex problems and relationships in a human-readable form;
  • Computability: First-order logic has computability and can perform automatic reasoning and proof through computers;
  • Scalability: First-order logic has high scalability and can handle new problems and domains by adding new symbols and rules;
  • Wide application: First-order logic is widely used in formal language, formal proof, and formal methods, especially in computer science, artificial intelligence, and human-computer interaction.
By using first-order logic, the accuracy and precision of problems can be improved, the difficulty of reasoning and proof can be reduced, the efficiency of computer automatic reasoning can be improved, and more reliable and effective solutions can be provided in various fields.

3.2. Alloy

Alloy is a formal modeling language and analyzer that is widely used in industry and academia to model and analyze complex systems, particularly in the context of safety and security-critical applications. Alloy’s main advantage over traditional modeling and analysis tools is its ability to integrate high-level, declarative modeling with formal, precise reasoning using first-order logic.
At its core, Alloy is a language for describing abstract models of systems in a way that is both intuitive and precise. The language is based on a subset of predicate calculus, which is a formal language for expressing logical statements about sets and their elements. In Alloy, models are expressed as collections of sets and predicates, which describe the relationships and constraints that govern the behavior of the system.
One of the main advantages of Alloy is its ability to automatically generate and explore the space of possible models that satisfy a given set of constraints. The Alloy analyzer, which is a tool for analyzing Alloy models, uses a SAT solver to explore the space of possible models up to a certain depth or bound and returns a counterexample if the constraints are not satisfied. The analyzer can also generate visualizations of the models and counterexamples, which can help in debugging and understanding the model.
The integration of Alloy with first-order logic provides several advantages over traditional modeling and analysis tools. First, it allows the user to express complex, abstract models in a high-level, declarative way while still being able to reason about their properties using the precise, formal language of first-order logic. This makes it easier for the user to understand and reason about the model, as well as to communicate it to others. Second, it allows the user to take advantage of the powerful tools and techniques developed for first-order logic, such as automated theorem proving and deductive reasoning, to verify the properties of the model.
Alloy’s ability to generate counterexamples is also a powerful tool for detecting design flaws and potential security vulnerabilities in complex systems. By automatically exploring the space of possible models and returning counterexamples when the constraints are not satisfied, Alloy provides a systematic way to check the correctness of the model and identify potential problems. This makes it a valuable tool for modeling and analyzing safety and security-critical systems, where even small design flaws or errors can have catastrophic consequences.
Overall, Alloy is a powerful tool for modeling and analyzing complex systems, particularly in the context of safety and security-critical applications. Its integration with first-order logic provides a formal, precise language for reasoning about the model, while its high-level, declarative syntax makes it easier to specify and understand complex models. The Alloy analyzer provides an automatic solver that greatly reduces the need for the user to manually explore the search space, as well as a counterexample generator and a graphical visualization tool that help in debugging and understanding the model.
Alloy’s ability to integrate high-level modeling with formal, precise reasoning using first-order logic is a key advantage that sets it apart from traditional modeling and analysis tools. By providing a systematic way to check the correctness of the model and identify potential problems, Alloy is a valuable tool for modeling and analyzing safety and security-critical systems.

4. Proposed Approach

4.1. Cybersecurity Requirements Management System (CRMS)

The cybersecurity requirements management system aims to reduce communication difficulties and time costs between system development engineers and security experts by providing security interfaces that adapt to their functional and security-related professional skill levels. System development engineers seek a graphical, clear, and concise description of the system through model-based methods, requiring visual views for easier understanding and use. Security experts require more precise and rigorous security modeling of the system to identify threats more accurately. Therefore, our proposed approach is to allow system development engineers to use the UML-based method of model-based methods and security experts to use the first-order logic-based method of formula-based methods. These methods are translated and matched to enable security experts to perform automated, comprehensive threat analysis and risk assessment of the entire system and to help software development engineers obtain security requirements that should be added to the system’s functionality before implementing software development. This complete process and mechanism are called CRMS, with its architecture diagram shown in Figure 1.
System development engineers use UML to comprehensively model the vehicle system in Eclipse and convert the UML model into Java code using the Eclipse Modeling Framework (EMF). UML model diagrams enable system development engineers to describe the entire vehicle system’s components and communication channels. However, the issue of how UML models can be matched with threat libraries and security mechanism libraries built using formal languages by security experts remains unresolved. To solve this issue, we introduce the concept of middleware to facilitate this conversion process. We have constructed an intelligent CCMI communication model framework exclusively for intelligent connected vehicles. By inputting the Java system model generated by EMF into our CCMI communication model framework, different standardized instantiated models that comply with the CCMI communication model in various application scenarios can be generated. This enables matching with the threat library and security mechanism library built by security experts using formal languages. We will provide a detailed introduction to the CCMI communication model framework in Section 4.2, and the CCMI communication framework expressed in UML diagrams in EMF is shown in Figure 2. The mapping table between the Java system model generated by EMF and the alloy language used in the CCMI system framework is simple, as shown in Table 2. Therefore, the CCMI communication model framework enables the coupling relationship between UML system framework expression and formal verification, greatly reducing conversion difficulty and saving conversion time.

4.2. CCMI Secure Communication Framework

The CCMI secure communication framework consists of four parts, namely component, channel, messaging, and interface, represented in UML diagrams as shown in Figure 2. Component refers to the communication entity, while interface represents the communication interface used by the communication entity. Channel is primarily used to characterize the medium used for communication, such as CAN FD or Ethernet, and may include a protocol attribute to represent the protocol used for communication, such as SOME/IP or MQTT. Messaging refers to the act or process of exchanging information, encompassing a range of activities such as sending, receiving, tampering, and sniffing messages, as well as managing the security properties and related behaviors of messages during the message passing process. On the other hand, a message is a unit of communication that is sent or received between two or more parties and takes various forms such as text, voice, video, or data. It is often used to convey information, instructions, or requests.
In essence, messaging is a broader term that encompasses the entirety of the communication process, while message refers to a discrete unit of information transmitted as part of that process. As a result, messaging can provide a more comprehensive and accurate representation of the complex and heterogeneous communication between ECUs in intelligently connected vehicles. Below is a detailed description of the CCMI secure communication framework:
Definition 1. 
CCMI consists of a quadruple
C C M I = C , ψ , M , J
where
  • C denotes Component, which is a finite set of modules, where each element represents a module in the system;
  • ψ denotes Channel, which is a finite set of communication channels, where each element represents a communication channel that messages pass through to be transmitted between different modules;
  • M denotes Messaging, which is an abstract concept of message passing, describing the dynamic process of messages and their security properties such as sender and receiver modules, communication channels used, message payloads, and message freshness;
  • J denotes a finite set of interfaces, where all messages in the system must communicate between different modules’ interfaces.
Definition 2. 
C  consists of a sextuple
C C | C = J , ψ , D a t a , E q u i p , R , S
where
  • J denotes the set of all interfaces connected to C ;
  • ψ denotes the set of all communication channels connected to C , through which messages are transmitted between different modules;
  • D a t a denotes the set of all data stored in this module, including normal data, sensitive data, and personal data;
  • E q u i p denotes the set of all security devices deployed in this module, such as HSM;
  • R denotes the set of all security mechanisms deployed in this module;
  • S denotes the set of all security attributes of this module.
Definition 3. 
ϕ  is composed of a quadruple
ϕ ϕ | ϕ = T y p e , P , H , M
where
  • T y p e denotes a set of types for the given ψ , including Ethernet, CAN FD, LVDS, etc.
  • P denotes a set of communication protocols used for message exchange over the given ψ . The protocols are organized into 5 layers based on the TCP/IP model: application layer, transport layer, network layer, data link layer, and physical layer. The TCP/IP model is a widely used communication protocol layer model in intelligent connected vehicles. For example, the SOMEIP protocol is an application-layer protocol. By fully including the 5-layer protocols of TCP/IP, we can perform a fine-grained security attribute analysis of the entire vehicle network and thus conduct a comprehensive security assessment of the entire vehicle;
  • H denotes a set of all security attributes of the communication channel;
  • M denotes a set of all messages transmitted over the communication channel.
Definition 4. 
M M | M = S ¯ , S ~ , R ¯ , R ~ , ψ , P ¯ , P ~ , α , β , δ , P S ¯ , P S ~ , P R ¯ , P R ~
where
  • S ¯ denotes the predetermined sending module of the message;
  • S ~ denotes the actual sending module of the message;
  • R ¯ denotes the predetermined set of receiving modules for the message;
  • R ~ denotes the actual set of receiving modules for the message;
  • ϕ denotes the set of communication channels that carry the message;
  • P ¯ denotes the expected data payload of the message when sent by the sending module;
  • P ~ denotes the actual data payload of the message when received by the receiving module;
  • α denotes the actual time when the message is sent;
  • β denotes the actual time when the message is received;
  • δ denotes the freshness value of the message;
  • P S ¯ denotes the expected set of permissions for the message by the sending module;
  • P S ~ denotes the actual set of permissions for the message by the sending module;
  • P R ¯ denotes the expected set of permissions for the message by the receiving module;
  • P R ~ denotes the actual set of permissions for the message by the receiving module.
Definition 5. 
J J | J = N , D
where
  • N is the port number of the interface, which can be set to a default value if the connected protocol does not define the concept of port numbers;
  • D is the message transmission direction of the interface, including input, output, and duplex.

4.3. STRIDE Threat Model Specification

STRIDE is a threat model developed by Microsoft to identify and classify different types of security threats to software systems. It consists of six categories of threats: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege.
Spoofing threats involve a malicious actor pretending to be someone or something else in order to gain access to a system or perform actions they should not be able to perform. Tampering threats involve the unauthorized modification of data or code within a system. Repudiation threats involve a malicious actor denying that they performed a particular action within a system. Information disclosure threats involve the unauthorized exposure or release of sensitive information. Denial-of-service threats involve the disruption or blocking of legitimate access to a system or resource. Elevation of privilege threats involve a malicious actor gaining increased access or permissions within a system.
By considering these six categories of threats, software developers and security professionals can develop security measures to detect and prevent potential attacks. This may include implementing access controls, encryption, auditing, and monitoring systems.

4.3.1. Spoofing

The spoofing threat refers to the malicious act of forging the identity of a legitimate message sender by a malicious node so that the message receiver perceives it as originating from a legitimate node and processes its content accordingly. Since the message is sent by a malicious node, it is likely to contain a malicious payload that can cause damage to the system if executed by the receiver.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of spoofing threats can be realized by:
m ϵ M , ϕ ϵ ψ , C S ϵ C , c s ϵ C S | P ( m , c s ) Q m , c s ¬ S p o o f i n g ϕ
where M denotes the set of messages, ψ denotes the set of all communication channels, and C S denotes the set of all possible senders. P m , c s indicates that message m is designed to be sent by module c s ; Q m , c s indicates that the actual sender of message m is module c s . If both conditions are satisfied, it can be concluded that all messages M transmitted through the communication channel ϕ are not subject to spoofing threats.

4.3.2. Tampering

Tampering involves modifying the data payload of a message to alter its intended meaning or behavior. Attackers may use various techniques, such as data injection and code injection, to modify the behavior of a system or application.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of tampering threats can be realized by:
m ϵ M , ϕ ϵ ψ | m ( P ¯ ) = m ( P ~ ) ¬ T a m p e r i n g ϕ
where the message set is denoted by M , ψ denotes the set of all communication channels. m ( P ¯ ) denotes the expected data payload of message m when sent from the sending module, while m ( P ~ ) denotes the actual data payload of message m received by the receiving module. If these two values are equal, it can be determined that all messages M transmitted through the communication channel ϕ are not subject to tampering threats.

4.3.3. Repudiation

Repudiation refers to the denial by a sender or receiver of having sent or received a message, creating uncertainty and confusion about the authenticity of the message. Attackers can exploit vulnerabilities in the system to forge or manipulate message headers or content to hide their actions.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of repudiation threats can be realized by:
m ϵ M , ϕ ϵ ψ , C S , C R ϵ C , c s ϵ C S | P ( m , c s ) Q m , c s U ( m , C R ) V m , C R ¬ R e p u d i a t i o n ϕ
where M represents a set of messages, ψ represents a set of all communication channels, C S represents a set of all possible senders, and C R represents a set of all receivers. P m , c s represents the message m being designed to be sent by module c s . Q m , c s represents the actual sender of message m being module c s . U m , C R represents the message m being designed to be received by a set of modules C R . V m , C R represents the actual receiver of message m being a set of modules C R . If all these conditions are met, then it can be determined that all messages in the set M transmitted through the communication channel ϕ will not be subjected to the repudiation threat.

4.3.4. Information Disclosure

Information disclosure occurs when an attacker gains access to confidential or sensitive data that is not intended for them. This can occur through various means, such as hacking, social engineering, or exploiting vulnerabilities in the system.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of information disclosure threats can be realized by:
m ϵ M , ϕ ϵ ψ , C R ϵ C | U ( m , C R ) V m , C R ¬ I n f o r m a t i o n D i s c l o s u r e ϕ
where M represents the set of messages, ψ represents the set of all communication channels, C R represents the set of all recipients. U m , C R indicates that message m is designed to be received by a set of modules C R . V m , C R indicates the actual recipient set of message m is C R . If these conditions are met, it can be concluded that all messages M transmitted through communication channel ϕ will not be subject to information disclosure threats.

4.3.5. Denial of Service

Denial of service (DoS) attacks aim to disrupt the normal functioning of a system by overwhelming it with a flood of requests, rendering it unresponsive or unavailable, ultimately preventing the successful delivery of messages within their validity period. Attackers may use various techniques, such as flooding, amplification, or distributed attacks, to generate massive traffic or requests for a target system or network.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of Denial of Service threats can be realized by:
m ϵ M , ϕ ϵ ψ | m ( β ) < ( m ( α ) + m ( δ ) ) ¬ D e n i a l o f S e r v i c e ϕ
where M denotes a set of messages, ψ represents the set of all communication channels. α represents the actual sending time of a message, β represents its actual receiving time, and δ represents the freshness value of the message. If all the messages in M that are transmitted over the communication channel ϕ can be delivered to the recipients before their freshness value expires, then it can be concluded that there is no denial of service threat on the communication channel ϕ .

4.3.6. Elevation of Privilege

Elevation of privilege attacks involve the unauthorized escalation of privileges to gain access to resources and information that are not normally accessible to a user. This can be accomplished by exploiting vulnerabilities in the system, taking advantage of weak authentication, or using social engineering tactics to deceive users into granting access.
For M ϕ M means that the message M is transmitted over the communication channel ϕ . Detection of elevation of privilege threats can be realized by:
m ϵ M , ϕ ϵ ψ , C S , C R ϵ C , c s ϵ C S | I ( m , c s , P S ) J m , c s , P S ¯ M ( m , C R , P R ¯ ) N m , C R , P R ¯ ¬ E l e v a t i o n o f P r i v i l e g e ϕ
where M represents a set of messages, ψ represents a set of all communication channels, C S represents a set of all possible senders, C R represents a set of all receivers. I ( m , c s , P S ¯ ) represents the expected set of permissions for the sending module c s of the message m is P S ¯ . J ( m , c s , P S ¯ ) represents the actual set of permissions for the sending module c s of the message m , which is the same as the expected set of permissions P S ¯ . M ( m , C R , P R ¯ ) represents the expected set of permissions for the receiving module set C R of the message m is P R ¯ . N ( m , C R , P R ¯ ) represents the actual set of permissions for the receiving module set C R of the message m , which is the same as the expected set of permissions P R ¯ . If all of these conditions are met, it can be determined that all messages M transmitted over communication channel ϕ will not be subject to elevation of privilege threats.
After defining the formal logic of six threats, we can combine these formalized logics with the security attributes of components or channels in our proposed CCMI model. The integrated security attribute checking logic will be integrated into our formalized threat library (which will be introduced in Section 5). After describing the actual system using our proposed framework, we can use our formalized threat library to check the security attributes of different assets in the actual system to see if they match the formalized logic of the above threats. If a match is found, it indicates that the asset has a corresponding threat. Otherwise, it indicates that the corresponding security attributes of the asset are protected and there is no matching risk of this kind.

5. Illustration

Autonomous emergency braking (AEB) is an advanced driver assistance system (ADAS) that automatically applies the brakes of a vehicle to prevent or mitigate a collision. AEB is a key feature of intelligent connected vehicles (ICVs), as it can significantly reduce the risk of crashes and save lives. With the increasing adoption of ICVs, AEB has become a critical technology for enhancing passenger safety. Its main architecture is shown in Figure 3. AEB systems use a variety of sensors, such as radar, lidar, and cameras, to detect potential collisions with other vehicles, pedestrians, or obstacles. When a collision is imminent, the system can automatically apply the brakes to avoid or reduce the severity of the impact. AEB is particularly effective at preventing or mitigating rear-end collisions, which are among the most common types of crashes.
Despite its potential to improve passenger safety, AEB also poses significant information security threats. The sensors used in AEB systems are vulnerable to a variety of attacks, including jamming, spoofing, and replay attacks. An attacker could use these attacks to manipulate the sensor data and cause the AEB system to apply the brakes unnecessarily or not apply them when needed. This could lead to accidents or create opportunities for other types of attacks. Furthermore, the AEB system is also vulnerable to software and firmware attacks, which could be used to exploit vulnerabilities in the system and compromise its security. An attacker could gain unauthorized access to the system and modify its behavior, potentially causing harm to passengers or other road users.
To address these threats, it is essential to conduct a thorough security analysis of AEB systems and implement appropriate security measures. This could include the use of secure communication protocols between the various components of the AEB system, the integration of intrusion detection and prevention systems, and the adoption of secure software development practices. Additionally, regular security testing and maintenance should be conducted to ensure that the AEB system remains secure and effective.
In our AEB system, vehicles are able to detect the distance and movement speed of different obstacles in front of them through cameras, lidar, and radar and transmit the monitored data to the ADAS domain controller through different communication channels after preprocessing the data internally. A camera is a sensor that captures images of the environment in front of the vehicle and is typically used for object detection, recognition, and tracking. The images captured by the camera are usually transmitted to the ADAS domain controller via LVDS. Lidar, on the other hand, uses laser beams to measure distances to objects in the environment and is useful for generating a 3D map of the environment around the vehicle. Due to the large amount of data generated by the Lidar, Ethernet is used for data transmission between the Lidar and the ADAS domain controller. Radar is a sensor that uses radio waves to detect the presence of objects in the environment and is useful for detecting objects in adverse weather conditions. Since the data generated by radar is usually small, the CAN FD communication method can meet the requirements. After receiving the heterogeneous data from the three sensors, the ADAS domain controller performs data fusion and, based on this, carries out path planning and final motion control decisions. The final control signals of the ADAS domain controller will be sent to the central gateway and then forwarded to the corresponding motion control ECUs, such as EPS, EM, and BCM, through the corresponding domain controller to achieve the corresponding vehicle longitudinal and lateral control, thus realizing the emergency avoidance of the AEB system to avoid collision. At the same time, the central gateway also sends the motion decision signals and warning signals of the ADAS domain controller to the IVI for display on the vehicle screen, making it convenient for the driver to view and warn. If an emergency occurs and the AEB system is triggered for emergency avoidance, the central gateway will also send the emergency signal to the TSP cloud through TBox to remind the OEMs and related departments to take emergency measures, ensuring the safety of passengers’ lives.
Based on the AEB system architecture diagram and communication signals, we can identify the assets in the AEB system. The threat analysis and risk assessment process in ISO/SAE 21434 defines a method for asset identification in the AEB system. In this example, assets in the AEB system are defined and classified into components, channels, messaging, and interfaces according to the CCMI communication model. The defined CCMI components are listed in Table 3, the defined CCMI channels are listed in Table 4, the defined CCMI messaging is listed in Table 5, and the defined CCMI interfaces are listed in Table 6.
Then, the assets identified in the CCMI communication model are represented using EMF in the Eclipse IDE. Firstly, the AEB system is defined using UML diagrams in EMF. Due to the size of the AEB system, it is not possible to fully display the details of the UML diagrams in EMF. Figure 4 shows the AEB Class UML Diagram, which represents the CCMI model and its instances in the system. After modeling the AEB system using UML in EMF, the ‘Generate Model Code’ function in the ‘.genmodel’ file of EMF is used to automatically generate Java model code using the CCMI communication model framework. Then, the Python-based translation engine is used to convert the Java file to Alloy file code using the mapping method provided in Table 2, resulting in an AEB system model defined in the Alloy language.
The generated Alloy system model consists of five files, as shown in Figure 5. The file named ‘CCMI MetaModel’ contains the definitions of the four metamodels of the CCMI communication model, while the ‘AEB ArchModel’ file defines the instances of the CCMI model for the AEB system. These two files can be obtained by translating the Java model into EMF using the translation engine. This way, we can complete the AEB system modeling using the Alloy language. At the same time, the translation engine will also enumerate the instances of the AEB system’s CCMI model in the ‘STRIDE Security Property Verification’ file for later automated risk identification and traversal. The ‘Threat Library’ and ‘Security Mechanism Library’ files are the formal Threat Library and Security Mechanism Library established by the security experts using the Alloy language based on their previous security experience. By matching the elements in the CCMI communication model of the AEB system with the Threat Library and Security Mechanism Library in the ‘STRIDE Security Property Verification’ file, we can obtain the threats and risk points in the AEB system, as well as the corresponding security mechanisms and security requirements. This enables automated identification of system threats and risk points and provides corresponding security requirements.
With the aforementioned file structure of the Alloy system, we can perform threat analysis and risk assessment based on the STRIDE threat model for assets in the system. We have established two libraries, namely the threat library and the security mechanism library, which match threats and security mechanisms with asset attributes in the libraries. In the ‘STRIDE Security Property Verification’ file, the asset attributes of AEB instances in the ‘AEB ArchModel’ file are traversed and matched with the threat and security mechanism libraries using Alloy’s ‘asset’ and ‘check’ syntax. If a counterexample is found during the search, indicating that the asset matches the threat and is at risk of attack, the output will show ‘Counterexample found’. If a security requirement from the security mechanism library is enabled and the threat can no longer be matched to the asset, it means that the security requirement is matched with the threat and thus provides an automated mechanism for matching asset threats and security mechanisms. In this article, we provide graphical representations of counterexamples matched to three typical threats, namely spoofing, tampering, and information disclosure. The algorithm for checking the spoofing threat is given in Formula (6), and the visualization of the counterexample is shown in Figure 6. The algorithm for checking the tampering threat is given in Formula (7), and the visualization of the counterexample is shown in Figure 7. The algorithm for checking the information disclosure threat is given in Formula (9), and the visualization of the counterexample is shown in Figure 8.
The AEB system, as a critical function in intelligent connected vehicles, involves multiple system components and has high system interdependence. Therefore, the threat analysis and risk assessment process for the AEB system is quite lengthy and complex. After conducting a comprehensive analysis of the AEB system, we obtained the final experimental results. To evaluate the superiority of the formalized and automated threat analysis and risk assessment method proposed in this paper for the CRMS system, we compared this method with the HEAVENS threat analysis and risk assessment method. The HEAVENS method provides a systematic approach and a complete evaluation process, allowing threat modeling and assessment to be applied throughout the entire software development cycle. Its structured approach enables rapid identification of security issues, improving the manageability and efficiency of system security. As a result, the HEAVENS method is recommended in international regulations for vehicle information security, such as SAE J3061, and has been widely used in threat analysis and risk assessment activities by major OEMs and their suppliers in the automotive industry. In addition, the HEAVENS method uses the STRIDE threat model in its threat analysis process, which is consistent with the threat analysis model in the CRMS framework proposed in this paper. This enables a direct comparison of threat detection rates and coverage rates of security requirements for the six types of threats, making the experimental results of this paper more convincing. Therefore, the HEAVENS method was chosen to be compared with the CRMS method proposed in this paper.
Firstly, the threat analysis and risk assessment processes require accurate identification of corresponding threats. Failure to identify threats in the system can lead to the existence of many vulnerabilities, thereby increasing the possibility of attacks on the system. Therefore, the first step is to evaluate whether the threat detection rates of the evaluation method can be improved. We used the two methods mentioned above to perform threat analysis and risk assessment on the AEB system and compared their results with known threats in the real system. The results of threat detection rates are shown in Figure 9. It can be seen that the threat detection rates of the proposed method are higher than the HEAVENS method in spoofing, tampering, and information disclosure, all exceeding 92%. The detection rates for spoofing threats reached 97%, which is a 7% improvement over the HEAVENS method. Since spoofing is a common threat in automotive systems, this improvement can help OEMs detect more spoofing threats, thereby effectively improving the overall cybersecurity of vehicles. Moreover, the detection rate for information disclosure threats increased from 86% to 92%, which is a 6% increase compared to the HEAVENS method. As another common threat in vehicle systems, identifying more confidential information leakage risks more accurately means that OEMs can block many malicious attacks on vehicles from the source, greatly reducing the attack surface of vehicles and the feasibility of other threats. However, the threat detection rates for denial of service and elevation of privilege are slightly lower than the HEAVENS method but still within an acceptable range.
After the system detects threats and risks, it is necessary to provide corresponding security requirements to mitigate the identified threats and risks. If the system can detect threats and risks but cannot provide appropriate security requirements, or if the given security requirements cannot mitigate the identified threats and risks, then the system has not achieved the desired effect. Therefore, we evaluated the ability of the system to match security requirements to identified threats and risks using the coverage rates of security requirements. The results are shown in Figure 10. It can be seen that the coverage rates of security requirements of the method proposed in this paper are higher than those of the HEAVENS method in spoofing, tampering, repudiation, and information disclosure. Especially, the coverage rates of spoofing, tampering, and information disclosure are 98%, 99%, and 98%, respectively. We believe that security requirements with coverage rates like these are already suitable for practical applications. Spoofing, tampering, and information disclosure are three common threats in automotive systems. Improving the coverage rates of security requirements for these three threats is of great significance. This means that once the system successfully identifies these three threats, it can automatically match them with corresponding effective security measures, thus achieving a timely and effective defense against them. Additionally, accurately and correctly matching security measures for identified threats can effectively defend against almost all identified threats and risks at the conceptual stage, thereby avoiding product iteration caused by the discovery of new threats and risks in subsequent development and testing phases. This can greatly reduce OEMs’ costs of repetitive development in terms of both money and time.
In addition, a significant advantage of the proposed method is its automation, which can help companies save time and money when conducting threat analysis and risk assessment on their systems. In order to assess the efficacy of the automated threat analysis and risk assessment approach proposed in this study, a comparative analysis was performed between the proposed method and the HEAVENS method for threat analysis and risk assessment in systems with varying numbers of channels. The time required for these analyses was used as the performance metric. The number of channels in a system can represent its complexity, and we fitted the experimental results to obtain the relationship between the analysis time and system complexity. The results are shown in Figure 11. As shown in Figure 11, when the system is relatively simple, the proposed method in this paper requires slightly more time than the HEAVENS method, mainly due to the need to use UML to model the system with CCMI. However, as the system complexity increases, at around 8 channels, the analysis time required by the proposed method is lower than that required by the HEAVENS method. Moreover, as the system complexity further increases, the growth curve of the analysis time required by the proposed method remains slow, while the HEAVENS method shows a significant increase in analysis time. Therefore, the proposed automated method can save more time compared to the HEAVENS method, and the efficiency advantage of the proposed method in this paper becomes more apparent. In conclusion, the proposed automated method in this paper has a more significant effect on reducing the time cost of threat analysis and risk assessment in large and complex systems, and this effect becomes more apparent as the system complexity increases.

6. Conclusions

In this paper, we have proposed a cybersecurity requirements management framework for the automotive domain. This method can help security experts transform their security expertise into formal language using the Alloy tool and establish a formal threat and security requirement library. Moreover, software development engineers can quickly model systems in UML form by using the EMF framework in this method. By using the CCMI communication framework proposed in this method, formal and informal models can be mapped, helping software development engineers obtain corresponding security requirements before developing code and assisting security experts in quickly and accurately identifying system risks in bulk. The case study in this paper demonstrated that our proposed approach outperforms the commonly used HEAVENS approach in terms of threat detection rates and coverage rates of security requirements. The proposed method exhibits higher rates of threat detection than the HEAVENS method across the categories of spoofing, tampering, and information disclosure, all surpassing 92%. In particular, the rate of detection for spoofing threats reached 97%. The comparison of the coverage rates of security requirements between the proposed method and the HEAVENS method indicates that the former outperforms the latter in the categories of spoofing, tampering, repudiation, and information disclosure. Notably, the coverage rates for spoofing, tampering, and information disclosure reach 98%, 99%, and 98%, respectively. Our method is more efficient in terms of threat analysis time for large-scale complex systems with more than 8 channels, and its effectiveness becomes more prominent with the increasing complexity of the system.
In the future, we plan to extend our framework to analyze larger and more complex automotive systems. Additionally, we will perform more adaptation work for the latest communication protocols, such as time-sensitive networking (TSN) and industry-specific standards like Diagnostics over Internet Protocol (DoIP), to make our architecture more comprehensive in adapting to the automotive industry. These identified threats and security requirements will be added to our formalized threat and security requirements library, making our proposed framework more comprehensive in identifying security risks and performing accurate matching in the system. We also plan to compare our method’s performance with other industry methods, such as SAHARA, to further validate the superiority of our approach. Moreover, we will continue to improve our method, making it more automated and efficient and adding functionality to generate risk reports for building an integrated system. In addition to identifying all the risks in the system and matching them with the corresponding security requirements using Alloy, we will also generate a comprehensive system risk assessment report. This report will provide detailed information on the identified risks, their potential impact, and recommendations for mitigating them. Furthermore, since the Alloy tool is open-source, the risk assessment report generation feature will be integrated into the tool as a plugin, which will enable users to quickly and easily generate risk assessment reports. This will enhance the usability and agility of the framework, making it an ideal choice for conducting system risk assessments in the automotive domain.

Author Contributions

Conceptualization, Y.J. and F.L.; methodology, Y.J. and F.L.; software, Y.J. and J.W.; validation, Y.J. and Z.L.; formal analysis, Y.J.; investigation, Y.J. and F.L.; resources, Y.J. and X.Z.; data curation, Y.J. and X.Z.; writing—original draft preparation, Y.J. and J.W.; writing—review and editing, Y.J. and Z.L.; visualization, Y.J. and J.W.; supervision, Y.J. and F.L.; project administration, Y.J. and F.L.; funding acquisition, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shanghai Pudong New Area Science and Technology Development Fund Industry-University-Research Special Project (Future Vehicle) (PKX2022-W01).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We acknowledge the support received from the Shanghai Pudong New Area Science and Technology Development Fund Industry-University-Research Special Project (Future Vehicle) (PKX2022-W01).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Macher, G.; Armengaud, E.; Brenner, E.; Kreiner, C. A review of threat analysis and risk assessment methods in the automotive context. In Computer Safety, Reliability, and Security, Proceedings of the 35th International Conference, SAFECOMP 2016, Trondheim, Norway, 21–23 September 2016; Proceedings 35; Skavhaug, A., Guiochet, J., Bitsch, F., Eds.; Springer: Cham, Switzerland, 2019; pp. 130–141. [Google Scholar]
  2. Ebert, C.; Jones, C. Embedded software: Facts, figures, and future. Computer 2009, 42, 42–52. [Google Scholar] [CrossRef]
  3. Xiong, W.; Gülsever, M.; Kaya, K.M.; Lagerström, R. A study of security vulnerabilities and software weaknesses in vehicles. In Secure IT Systems, Proceedings of the 24th Nordic Conference, NordSec 2019, Aalborg, Denmark, 18–20 November 2019; Proceedings 24; Askarov, A., Hansen, R., Rafnsson, W., Eds.; Springer: Cham, Switzerland, 2019; pp. 204–218. [Google Scholar]
  4. Filipovikj, P.; Jagerfield, T.; Nyberg, M.; Rodriguez-Navas, G.; Seceleanu, C. Integrating pattern-based formal requirements specification in an industrial tool-chain. In Proceedings of the 2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC), Atlanta, GA, USA, 10–14 June 2016; pp. 167–173. [Google Scholar]
  5. Tucci-Piergiovanni, S.; Chen, D.; Mraidha, C.; Lönn, H.; Mahmud, N.; Reiser, M.-O.; Kolagari, R.T.; Yakymets, N.; Librino, R.; Torchiaro, S. Model-Based Analysis and Engineering of Automotive Architectures with EAST-ADL. In Handbook of Research on Embedded Systems Design; IGI Global: Hershey, PA, USA, 2014; pp. 242–282. [Google Scholar]
  6. Jan, M.; Jouvray, C.; Kordon, F.; Kung, A.; Lalande, J.; Loiret, F.; Navas, J.; Pautet, L.; Pulou, J.; Radermacher, A. Flex-eWare: A flexible model driven solution for designing and implementing embedded distributed systems. Softw. Pract. Exp. 2012, 42, 1467–1494. [Google Scholar] [CrossRef]
  7. Luo, F.; Jiang, Y.; Zhang, Z.; Ren, Y.; Hou, S. Threat analysis and risk assessment for connected vehicles: A survey. Secur. Commun. Netw. 2021, 2021, 1263820. [Google Scholar] [CrossRef]
  8. Henniger, O.; Ruddle, A.; Seudié, H.; Weyl, B.; Wolf, M.; Wollinger, T. Securing vehicular on-board it systems: The evita project. In Proceedings of the VDI/VW Automotive Security Conference, Ingolstadt, Germany, 19 October 2009; p. 41. [Google Scholar]
  9. Lautenbach, A.; Almgren, M.; Olovsson, T. Proposing HEAVENS 2.0–an automotive risk assessment model. In Proceedings of the 5th ACM Computer Science in Cars Symposium, Ingolstadt, Germany, 30 November 2021; pp. 1–12. [Google Scholar]
  10. Skavhaug, A.; Guiochet, J.; Schoitsch, E.; Bitsch, F. (Eds.) Computer Safety, Reliability, and Security; Springer: Cham, Switzerland, 2016. [Google Scholar]
  11. Dürrwang, J.; Beckers, K.; Kriesten, R. A lightweight threat analysis approach intertwining safety and security for the automotive domain. In Computer Safety, Reliability, and Security, Proceedings of the 36th International Conference, SAFECOMP 2017, Trento, Italy, 13–15 September 2017; Proceedings 36; Tonetta, S., Schoitsch, E., Bitsch, F., Eds.; Springer: Cham, Switzerland, 2017; pp. 305–319. [Google Scholar]
  12. Haidar, F.; Kaiser, A.; Lonc, B.; Urien, P. Risk Analysis on C-ITS pseudonymity aspects. In Proceedings of the 2019 10th IFIP International Conference on New Technologies, Mobility and Security (NTMS), Canary Islands, Spain, 24–26 June 2019; pp. 1–5. [Google Scholar]
  13. Macher, G.; Sporer, H.; Berlach, R.; Armengaud, E.; Kreiner, C. SAHARA: A security-aware hazard and risk analysis method. In Proceedings of the 2015 Design, Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, France, 9–13 March 2015; pp. 621–624. [Google Scholar]
  14. Schmittner, C.; Ma, Z.; Smith, P. FMVEA for safety and security analysis of intelligent and cooperative vehicles. In Computer Safety, Reliability, and Security, Proceedings of the SAFECOMP 2014 Workshops: ASCoMS, DECSoS, DEVVARTS, ISSE, ReSA4CI, SASSUR, Florence, Italy, 8–9 September 2014; Proceedings 33; Bondavalli, A., Ceccarelli, A., Ortmeier, F., Eds.; Springer: Cham, Switzerland, 2014; pp. 282–288. [Google Scholar]
  15. Schmittner, C.; Ma, Z.; Schoitsch, E.; Gruber, T. A case study of fmvea and chassis as safety and security co-analysis method for automotive cyber-physical systems. In Proceedings of the 1st ACM Workshop on Cyber-Physical System Security, Singapore, 14 April–14 March 2015; pp. 69–80. [Google Scholar]
  16. Verma, S.; Gruber, T.; Schmittner, C.; Puschner, P. Combined approach for safety and security. In Computer Safety, Reliability, and Security, Proceedings of the SAFECOMP 2019 Workshops, ASSURE, DECSoS, SASSUR, STRIVE, and WAISE, Turku, Finland, 10 September 2019; Proceedings 38; Troubitsyna, E., Gashi, I., Schoitsch, E., Bitsch, F., Eds.; Springer: Cham, Switzerland, 2019; pp. 87–101. [Google Scholar]
  17. Monteuuis, J.-P.; Boudguiga, A.; Zhang, J.; Labiod, H.; Servel, A.; Urien, P. Sara: Security automotive risk analysis method. In Proceedings of the 4th ACM Workshop on Cyber-Physical System Security, Incheon, Republic of Korea, 4 June 2018; pp. 3–14. [Google Scholar]
  18. Zoppelt, M.; Tavakoli Kolagari, R. SAM: A security abstraction model for automotive software systems. In Security and Safety Interplay of Intelligent Software Systems, Proceedings of the ESORICS 2018 International Workshops, ISSA 2018 and CSITS 2018, Barcelona, Spain, 6–7 September 2018; Revised Selected Papers; Hamid, B., Gallina, B., Shabtai, A., Elovici, Y., Garcia-Alfaro, J., Eds.; Springer: Cham, Switzerland, 2019; pp. 59–74. [Google Scholar]
  19. Halabi, T.; Wahab, O.A.; Al Mallah, R.; Zulkernine, M. Protecting the Internet of vehicles against advanced persistent threats: A bayesian Stackelberg game. IEEE Trans. Reliab. 2021, 70, 970–985. [Google Scholar] [CrossRef]
  20. Rouland, Q.; Hamid, B.; Jaskolka, J. Specification, detection, and treatment of STRIDE threats for software components: Modeling, formal methods, and tool support. J. Syst. Archit. 2021, 117, 102073. [Google Scholar] [CrossRef]
  21. Kim, S.; Shrestha, R.; Kim, S.; Shrestha, R. Internet of vehicles, vehicular social networks, and cybersecurity. In Automotive Cyber Security: Introduction, Challenges, and Standardization; Springer: Singapore, 2020; pp. 149–181. [Google Scholar]
  22. Zhong, J.; Du, S.; Zhou, L.; Zhu, H.; Cheng, F.; Chen, C.; Xue, Q. Security modeling and analysis on intra vehicular network. In Proceedings of the 2017 IEEE 86th Vehicular Technology Conference (VTC-Fall), Toronto, ON, Canada, 24–27 September 2017; pp. 1–5. [Google Scholar]
  23. Rinaldo, R.C.; Hutter, D. Integrated analysis of safety and security hazards in automotive systems. In Computer Security, proceedings of the ESORICS 2020 International Workshops, CyberICPS, SECPRE, and ADIoT, Guildford, UK, 14–18 September 2020; Revised Selected Papers 6; Katsikas, S., Cuppens, F., Cuppens, N., Lambrinoudakis, C., Kalloniatis, C., Mylopoulos, J., Antón, A., Gritzalis, S., Meng, W., Furnell, S., et al., Eds.; Springer: Cham, Switzerland, 2020; pp. 3–18. [Google Scholar]
  24. Mundhenk, P.; Steinhorst, S.; Lukasiewycz, M.; Fahmy, S.A.; Chakraborty, S. Security analysis of automotive architectures using probabilistic model checking. In Proceedings of the 52nd Annual Design Automation Conference, San Francisco, CA, USA, 7–11 June 2015; pp. 1–6. [Google Scholar]
  25. Luo, F.; Hou, S.; Zhang, X.; Yang, Z.; Pan, W. Security Risk Analysis Approach for Safety-Critical Systems of Connected Vehicles. Electronics 2020, 9, 1242. [Google Scholar] [CrossRef]
  26. Mohsin, M.; Sardar, M.U.; Hasan, O.; Anwar, Z. IoTRiskAnalyzer: A probabilistic model checking based framework for formal risk analytics of the Internet of Things. IEEE Access 2017, 5, 5494–5505. [Google Scholar] [CrossRef]
  27. Karray, K.; Danger, J.-L.; Guilley, S.; Abdelaziz Elaabid, M. Attack tree construction and its application to the connected vehicle. In Cyber-Physical Systems Security; Springer: Cham, Switzerland, 2018; pp. 175–190. [Google Scholar]
  28. Best, B.; Jurjens, J.; Nuseibeh, B. Model-based security engineering of distributed information systems using UMLsec. In Proceedings of the 29th International Conference on Software Engineering (ICSE’07), Minneapolis, MN, USA, 20–26 May 2007; pp. 581–590. [Google Scholar]
  29. Ouchani, S.; Khaled, A. Security assessment and hardening of autonomous vehicles. In Risks and Security of Internet and Systems, Proceedings of the 15th International Conference, CRiSIS 2020, Paris, France, 4–6 November 2020; Revised Selected Papers 15; Garcia-Alfaro, J., Leneutre, J., Cuppens, N., Yaich, R., Eds.; Springer: Cham, Switzerland, 2021; pp. 365–375. [Google Scholar]
  30. Shah, S.M.; Anastasakis, K.; Bordbar, B. From UML to Alloy and back again. In Proceedings of the 6th International Workshop on Model-Driven Engineering, Verification and Validation, Denver, CO, USA, 5 October 2009; pp. 1–10. [Google Scholar]
  31. Krisper, M.; Dobaj, J.; Macher, G.; Schmittner, C. RISKEE: A risk-tree based method for assessing risk in cyber security. In Systems, Software and Services Process Improvement, Proceedings of the 26th European Conference, EuroSPI 2019, Edinburgh, UK, 18–20 September 2019; Proceedings 26; Walker, A., O’Connor, R., Messnarz, R., Eds.; Springer: Cham, Switzerland, 2019; pp. 45–56. [Google Scholar]
  32. Schmittner, C.; Ma, Z.; Puschner, P. Limitation and improvement of STPA-Sec for safety and security co-analysis. In Computer Safety, Reliability, and Security, Proceedings of the SAFECOMP 2016 Workshops, ASSURE, DECSoS, SASSUR, and TIPS, Trondheim, Norway, 20 September 2016; Proceedings 35; Skavhaug, A., Guiochet, J., Schoitsch, E., Bitsch, F., Eds.; Springer: Cham, Switzerland, 2016; pp. 195–209. [Google Scholar]
  33. Friedberg, I.; McLaughlin, K.; Smith, P.; Laverty, D.; Sezer, S. STPA-SafeSec: Safety and security analysis for cyber-physical systems. J. Inf. Secur. Appl. 2017, 34, 183–196. [Google Scholar] [CrossRef]
  34. Ansari, M.T.J.; Pandey, D.; Alenezi, M. STORE: Security threat oriented requirements engineering methodology. J. King Saud Univ. -Comput. Inf. Sci. 2022, 34, 191–203. [Google Scholar] [CrossRef]
  35. Sönmez, F.Ö.; Kiliç, B.G. Reusable Security Requirements Repository Implementation Based on Application/System Components. IEEE Access 2021, 9, 165966–165988. [Google Scholar] [CrossRef]
  36. Mouratidis, H.; Shei, S.; Delaney, A. A security requirements modelling language for cloud computing environments. Softw. Syst. Model. 2020, 19, 271–295. [Google Scholar] [CrossRef]
  37. Bouskela, D.; Falcone, A.; Garro, A.; Jardin, A.; Otter, M.; Thuy, N.; Tundis, A. Formal requirements modeling for cyber-physical systems engineering: An integrated solution based on FORM-L and Modelica. Requir. Eng. 2022, 27, 1–30. [Google Scholar] [CrossRef]
  38. Kumar, M.S.; Harika, A.; Sushama, C.; Neelima, P. Automated Extraction of Non-Functional Requirements From Text Files: A Supervised Learning Approach. In Handbook of Intelligent Computing and Optimization for Sustainable Development; Scrivener Publishing LLC: Beverly, MA, USA, 2022; pp. 149–170. [Google Scholar]
Figure 1. Cybersecurity requirements management system framework.
Figure 1. Cybersecurity requirements management system framework.
Sensors 23 04979 g001
Figure 2. UML diagram of CCMI communication framework represented in EMF. *: map to multiple targets and is correct and accurate.
Figure 2. UML diagram of CCMI communication framework represented in EMF. *: map to multiple targets and is correct and accurate.
Sensors 23 04979 g002
Figure 3. Autonomous emergency braking architecture diagram.
Figure 3. Autonomous emergency braking architecture diagram.
Sensors 23 04979 g003
Figure 4. AEB class UML diagram in EMF.
Figure 4. AEB class UML diagram in EMF.
Sensors 23 04979 g004
Figure 5. Alloy system model file structure.
Figure 5. Alloy system model file structure.
Sensors 23 04979 g005
Figure 6. Counterexample of spoofing attack in AEB system.
Figure 6. Counterexample of spoofing attack in AEB system.
Sensors 23 04979 g006
Figure 7. Counterexample of tampering attack in AEB system.
Figure 7. Counterexample of tampering attack in AEB system.
Sensors 23 04979 g007
Figure 8. Counterexample of information disclosure attack in AEB system.
Figure 8. Counterexample of information disclosure attack in AEB system.
Sensors 23 04979 g008
Figure 9. Threat detection rates of methods.
Figure 9. Threat detection rates of methods.
Sensors 23 04979 g009
Figure 10. Coverage rates of security requirements of methods.
Figure 10. Coverage rates of security requirements of methods.
Sensors 23 04979 g010
Figure 11. Analysis Time of Methods.
Figure 11. Analysis Time of Methods.
Sensors 23 04979 g011
Table 1. Advantages and disadvantages of relevant methods.
Table 1. Advantages and disadvantages of relevant methods.
CategoryMethodsAdvantages/Disadvantages
Formula-basedEVITANo complete evaluation process.
HEAVENSHEAVENS provides a detailed process.
SHIELDSHIELD enables the evaluation of multiple system configurations and the selection of those that meet established requirements.
SGMEasy to use. Difficulty in describing complex systems in detail.
TVRAQuantification. Long analysis time is required.
SAHARASafety considered. Long analysis time is required.
FMVEAFailure modes are analyzed in terms of component quality attributes, while threat modes are used to analyze security attribute failures.
CHASSISToo many subjective factors in the analysis method.
ANPANP considered the relationship between failures and threats and the impact of propagation, which can help reduce the number of design iterations.
SARASARA provides a framework for security experts to participate in the security process.
SAMSAM combines safety management and model-based system engineering through an abstract description of the principles of automotive security modeling. High learning costs.
Bayesian Stackelberg GameCan reduce the impact of advanced persistent threats. High learning costs.
Model-basedSTRIDEBe able to identify and analyze the threats in the system. Need to expand and adapt to the automotive field.
PASTAPASTA utilizes data flow diagrams at the application decomposition layer.
GTSHigh learning costs.
UMLsecUnable to perform detailed representations for complex, large systems.
UML2AlloyNeed to expand and adapt to the automotive field.
Attack Tree AnalysisLong analysis time is required.
RISKEELong analysis time is required.
STPA-SecDid not consider the network and system architecture.
STPA-SafeSecDid not consider the network and system architecture.
Table 2. Mapping rules between EMF elements and Alloy elements.
Table 2. Mapping rules between EMF elements and Alloy elements.
RulesEMF ElementsAlloy Elements
Rule 1EObjectSig
Rule 2EClassSig
Rule 3EListSet
Rule 4EStructuralFeatureSig
Rule 5VoidFun
Table 3. Identified component assets in AEB system.
Table 3. Identified component assets in AEB system.
CategoryAssetsDescription
Core ComponentCGWCentral Gateway
Core ComponentADCADAS Domain Controller
Core ComponentIVIIn-Vehicle Infotainment
Core ComponentTBoxTelematics-Box
Domain ControllerZFZone Front
Domain ControllerZRZone Rear
SensorCameraCamera
SensorLidarLidar
SensorRadarRadar
ECUEMElectric Motor
ECUBCMBrake Control Module
ECUEPSElectric Power Steering
OffcarTSPTelematics Service Provider
Table 4. Identified channel assets in AEB system.
Table 4. Identified channel assets in AEB system.
AssetsCommunication ObjectsChannel Type
Channel_ADC_CGW_ETH_SOMEIPADC-CGWEthernet
Channel_CGW_IVI_ETH_SOMEIPCGW-IVIEthernet
Channel_CGW_TBox_ETH_SOMEIPCGW-TBoxEthernet
Channel_CGW_ZF_ETH_SOMEIPCGW-ZFEthernet
Channel_CGW_ZR_ETH_SOMEIPCGW-ZREthernet
Channel_TBox_TSP_ETH_MQTTTBox-TSPEthernet
Channel_Camera_ADC_LVDSCamera-ADCLVDS
Channel_Lidar_ADC_ETH_SOMEIPLidar-ADCEthernet
Channel_Radar_ADC_CANFDRadar-ADCCAN FD
Channel_ZF_EPS_CANFDZF-EPSCAN FD
Channel_ZR_EM_CANFDZR-EMCAN FD
Channel_ZR_BCM_CANFDZR-BCMCAN FD
Table 5. Identified messaging assets in AEB system.
Table 5. Identified messaging assets in AEB system.
AssetsChannel TypeChannel
Messaging_ADCCGW_PlanningEthernetChannel_ADC_CGW_ETH_SOMEIP
Messaging_CGWIVI_Display EthernetChannel_CGW_IVI_ETH_SOMEIP
Messaging_CGWTBox_Externalcomm EthernetChannel_CGW_TBox_ETH_SOMEIP
Messaging_CGWZF_ControlEthernetChannel_CGW_ZF_ETH_SOMEI
Messaging_CGWZR_Control EthernetChannel_CGW_ZR_ETH_SOMEIP
Messaging_TBoxTSP_ExternalcommEthernetChannel_TBox_TSP_ETH_MQTT
Messaging_CameraADC_PerceptionLVDSChannel_Camera_ADC_LVDS
Messaging_LidarADC_Perception EthernetChannel_Lidar_ADC_ETH_SOMEIP
Messaging_RadarADC_Perception CAN FDChannel_Radar_ADC_CANFD
Messaging_ZFEPS_Control CAN FDChannel_ZF_EPS_CANFD
Messaging_ZREM_Control CAN FDChannel_ZR_EM_CANFD
Messaging_ZRBCM_ControlCAN FDChannel_ZR_BCM_CANFD
Table 6. Identified interface assets in AEB system.
Table 6. Identified interface assets in AEB system.
AssetsComponentDirection
Interface_ADC_ADCCGW_PlanningADCOutput
Interface_CGW_ADCCGW_PlanningCGWInput
Interface_CGW_CGWIVI_DisplayCGWOutput
Interface_IVI_CGWIVI_DisplayIVIInput
Interface_CGW_CGWTBox_ExternalcommCGWOutput
Interface_TBox_CGWTBox_ExternalcommTBoxInput
Interface_TBox_TBoxTSP_ExternalcommTBoxOutput
Interface_TSP_TBoxTSP_ExternalcommTSPInput
Interface_CGW_CGWZF_ControlCGWOutput
Interface_ZF_CGWZF_ControlZFInput
Interface_CGW_CGWZR_ControlCGWOutput
Interface_ZR_CGWZR_ControlZRInput
Interface_Camera_CameraADC_PerceptionCameraOutput
Interface_ADC_CameraADC_PerceptionADCInput
Interface_Lidar_LidarADC_PerceptionLidarOutput
Interface_ADC_LidarADC_PerceptionADCInput
Interface_Radar_RadarADC_PerceptionRadarOutput
Interface_ADC_RadarADC_PerceptionADCInput
Interface_ZF_ZFEPS_ControlZFOutput
Interface_EPS_ZFEPS_ControlEPSInput
Interface_ZR_ZREM_ControlZROutput
Interface_EM_ZREM_ControlEMInput
Interface_ZR_ZRBCM_ControlZROutput
Interface_BCM_ZRBCM_ControlBCMInput
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Luo, F.; Jiang, Y.; Wang, J.; Li, Z.; Zhang, X. A Framework for Cybersecurity Requirements Management in the Automotive Domain. Sensors 2023, 23, 4979. https://doi.org/10.3390/s23104979

AMA Style

Luo F, Jiang Y, Wang J, Li Z, Zhang X. A Framework for Cybersecurity Requirements Management in the Automotive Domain. Sensors. 2023; 23(10):4979. https://doi.org/10.3390/s23104979

Chicago/Turabian Style

Luo, Feng, Yifan Jiang, Jiajia Wang, Zhihao Li, and Xiaoxian Zhang. 2023. "A Framework for Cybersecurity Requirements Management in the Automotive Domain" Sensors 23, no. 10: 4979. https://doi.org/10.3390/s23104979

APA Style

Luo, F., Jiang, Y., Wang, J., Li, Z., & Zhang, X. (2023). A Framework for Cybersecurity Requirements Management in the Automotive Domain. Sensors, 23(10), 4979. https://doi.org/10.3390/s23104979

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop