Enhancing TARA with GenAI

Posted: September 19, 2024

In this article

The TARA process, critical to ISO 21434, involves identifying assets, analyzing threat scenarios, assessing impact and likelihood, and determining and treating risk. GenAI can significantly enhance each step of this process by automating analysis, identifying patterns, and generating insights that are beyond the reach of traditional methods.

a. Automating Asset Identification

In complex automotive systems, identifying all the assets that need protection can be a time-consuming and challenging task. Assets can range from hardware components like ECUs (Electronic Control Units) to software, data, communication channels, and even vehicle functionalities.

GenAI models trained on architectural data and technical documentation can automatically recognize and catalog all assets within a vehicle system. Furthermore, as the vehicle system evolves (e.g., with software updates or new features), GenAI can continuously monitor and update the asset inventory to reflect the current system state. This allows cybersecurity teams to always have an up-to-date view of the assets that need protection, reducing the risk of missing critical components during assessment.

b. Generating Threat Scenarios

One of the most critical steps in TARA is the identification of potential threat scenarios—possible ways that an attacker could exploit vulnerabilities in the system. Traditional approaches rely on manual threat modeling, which can be limited by human knowledge and experience.

GenAI can generate numerous threat scenarios by analyzing potential weaknesses across the system’s architecture and known attack patterns.

Furthermore, modern vehicles interact with cloud services, mobile apps, and external networks. GenAI can generate threat scenarios that span multiple domains, identifying the possible cascading effects of vulnerabilities in one system affecting another.

c. Impact and Likelihood Assessment

After identifying threat scenarios, assessing the impact and likelihood of each scenario is crucial to risk management. Impact measures how damaging a successful attack could be, while likelihood considers how feasible the attack is, based on factors like the attacker’s skill level or system vulnerabilities.

GenAI can analyze large amounts of historical data from past cybersecurity incidents (both within the automotive industry and in other domains) to predict the potential impact of various threat scenarios. This leads to a more accurate and data-driven impact assessment, compared to assessments that are based purely on expert judgment.

d. Enhanced Risk Determination and Prioritization

After determining the impact and likelihood of threats, the risk is usually calculated and prioritized based on the severity of the consequences. Traditional methods rely on manually constructed risk matrices, but GenAI can take this further.

Instead of relying on static thresholds to classify risks (e.g., high, medium, low), GenAI can use advanced algorithms that adjust thresholds dynamically based on various factors, such as system updates, emerging threats, or operational changes. This makes the risk prioritization process more flexible and adaptive. Furthermore, for vehicles with interconnected subsystems (e.g., infotainment, ADAS, and powertrain), AI models can assess how risks in one system may propagate to others, offering a more comprehensive view of risk across the entire vehicle architecture.

 

You may also be interested in

  • Subsystems and meta models

    White Paper: Subsystems, Meta-Models and Architecture

    Download this White Paper as a PDF Executive summary The meta-model supports the architecture without defining it. Clear, cohesive subsystems with explicit interfaces are what make model-based systems engineering usable at scale. This white paper distills ten practical insights drawn directly from SystemWeaver experts and practitioners, both at SystemWeaver and customers to SystemWeaver. [...]

  • Marcus and Anders interview

    5 Realities of AI in Modern Cybersecurity

    Every vendor in security claims AI changes everything. Ask the engineers actually building these systems and a different story comes up: a context gap. The AI returns a threat analysis that reads well and sounds confident but has little connection to the product.  That is where a recent conversation with Anders Hallgren and Marcus [...]

  • Strong engagement at the GAIA workshop: Trustworthy AI in Systems Engineering – Keeping Control and Traceability

    The central question during this workshop was one that matters more as engineering complexity grows: "How does AI fit into systems engineering without eroding control, traceability, or engineering accountability?" The answer is not to add AI as a black-box layer on top of engineering work. It is to ground AI in structured engineering context, [...]