A hackers view to the upcoming ISO/SAE 21434
Martin Schmiedecker (Security Consultant)
BruCON 0x0B · Day 1
Overview
In his talk, "A hacker's view to the upcoming ISO/SAE 21434," Martin Schmiedecker provides a critical yet optimistic analysis of the emerging ISO/SAE 21434 standard, a crucial initiative aimed at bolstering cybersecurity in the automotive industry. Schmiedecker, a security consultant with a background in digital forensics and privacy, frames the discussion from the perspective of an attacker, highlighting the inherent vulnerabilities and complexities of modern vehicle architectures. The talk serves as an urgent call to action for the automotive sector to prioritize security from design to decommissioning, drawing parallels with the internet's early, insecure days.

Key moments
- 2:00 The 2015 Jeep hack: a wake-up call for automotive security
- 5:40 Modern cars: complex systems with a vast attack surface
- 10:00 CAN bus limitations: low bandwidth, no built-in security
- 18:40 ISO/SAE 21434: a new standard for automotive cybersecurity
- 21:00 ISO 21434's core: risk and vulnerability management process
- 31:40 Standard covers vehicle's entire security lifecycle, not just development
- 36:00 Speaker's critique: closed process, potential implementation flaws
A hacker's view to the upcoming ISO/SAE 21434
Speakers: Martin Schmiedecker, Security Consultant
Conference: BruCON
YouTube: https://www.youtube.com/watch?v=4drBOUko3JY
Overview
In his talk, "A hacker's view to the upcoming ISO/SAE 21434," Martin Schmiedecker provides a critical yet optimistic analysis of the emerging ISO/SAE 21434 standard, a crucial initiative aimed at bolstering cybersecurity in the automotive industry. Schmiedecker, a security consultant with a background in digital forensics and privacy, frames the discussion from the perspective of an attacker, highlighting the inherent vulnerabilities and complexities of modern vehicle architectures. The talk serves as an urgent call to action for the automotive sector to prioritize security from design to decommissioning, drawing parallels with the internet's early, insecure days.
The presentation delves into the historical context of automotive hacks, the intricate network of electronic control units (ECUs) within a car, and the vast, often unsecured, attack surface they present. Schmiedecker meticulously details the motivations behind the ISO/SAE 21434 standard, outlining its core principles of risk management, vulnerability handling, and lifecycle security. He emphasizes that while the standard represents a significant step forward, its ultimate effectiveness will hinge on the diligence of its implementation and the industry's willingness to embrace transparency and open development in cybersecurity practices.
This discussion is particularly relevant given the increasing connectivity and automation in modern vehicles. As cars transform into "rolling distributed systems" with extensive attack surfaces, the potential for severe, even life-threatening, consequences from cyberattacks grows exponentially. The ISO/SAE 21434 standard seeks to provide a much-needed framework to address these challenges, moving beyond reactive fixes to proactive, embedded security measures throughout the automotive supply chain.
Background
▶ Watch: The 2015 Jeep hack: a wake-up call for automotive security (2:00)
The automotive industry has been grappling with cybersecurity challenges for years, a reality underscored by several high-profile hacks. Martin Schmiedecker traces the modern era of automotive hacking back to 2015, when Charlie Miller and Chris Valasek famously demonstrated a remote exploit against a Jeep Cherokee. This attack, which allowed them to remotely control vehicle functions over the internet by exploiting an entertainment system vulnerability, led to the recall of 1.4 million cars – a financially devastating and trust-eroding event for the manufacturer. A key vulnerability was the lack of network separation; the car's SIM card-enabled connectivity features were not isolated from the vehicle's internal network, making it accessible via the mobile provider's network. The swift, temporary fix involved the ISP dropping packet forwarding, a simple IP table rule implemented within hours.
Beyond remote exploits, physical and close-range attacks are also prevalent. Schmiedecker cites relay attacks against keyless entry systems, where thieves extend the range of a car's key fob signal to unlock and start vehicles without physical access to the key. While a car typically warns the driver if the key leaves the vehicle, the engine is allowed to run indefinitely until turned off, enabling thieves to drive away. More recently, in 2018, Keen Labs demonstrated advanced hacks against BMWs, exploiting vulnerabilities, including an unpatched browser in the infotainment system, to gain remote control via Wi-Fi or other networks. These incidents highlight that hacking cars is not only possible but increasingly sophisticated and effective.
The fundamental problem lies in the inherent complexity of modern vehicles. A contemporary car can contain around 100 microcontrollers, managing everything from lights and airbags to brakes and the engine. These ECUs are tightly coupled, highly interconnected, and communicate using various protocols, often with stringent real-time requirements (e.g., airbag deployment in milliseconds). Historically, however, security has not been a primary design consideration. Schmiedecker draws a stark parallel to the early days of the public internet, where security was an afterthought, leading to decades of vulnerabilities that the automotive industry is now at risk of repeating.
A typical modern car's network architecture, as illustrated by a 2017 Škoda model, reveals multiple interconnected buses. The OBD-II port, a diagnostic interface mandated by US law, serves as a common entry point. A gateway module separates different internal networks (e.g., chassis bus, comfort bus, infotainment bus). Critically, this separation is primarily for bandwidth reasons, not security. If the gateway lacks proper filtering, these distinct networks can effectively become "one gigantic possible broadcasting network," allowing an attacker to move laterally across systems.
Further exacerbating the issue is the nascent state of software updates for cars. Unlike smartphones or operating systems, over-the-air updates for vehicles are still stigmatized and not universally adopted, making rapid patching of vulnerabilities challenging. Customers often have no transparency regarding update policies or support longevity. While liability concerns (e.g., US tort law) and insurance costs (easy-to-steal cars lead to higher premiums) provide some financial incentive for manufacturers to build secure cars, these are often reactive rather than proactive drivers for security.
The CAN bus (Controller Area Network) is a foundational communication channel in cars, invented over 30 years ago. It's robust and supports real-time communication but has significant security limitations. Its bandwidth is low (typically 250-500 kilobit, with 1 megabit tops), and its payload is tiny (64-bit per frame). This small payload makes implementing robust encryption or authentication extremely challenging, as there's little room for cryptographic signatures alongside data. Crucially, the CAN bus has no built-in security features; its only inherent "security" is arbitration, where higher-priority signals win in a collision. Gaining the ability to send raw CAN frames is considered the "holy grail for automotive hacking," akin to achieving root access on a computer system.
The attack surface of a modern vehicle is extensive:
- Physical: Direct access to ECUs for chip tuning (reflashing firmware for performance gains).
- Wireless: Key fobs, tire pressure sensors (exploited in 2010 to inject CAN frames via radio manipulation), infotainment systems (Wi-Fi, Bluetooth, NFC, often running vulnerable browsers and synchronizing phone data).
- Wired Interfaces: The OBD-II port for diagnostics and workshop tools.
- Backend Systems: Cars connect to manufacturer backends via public/private networks, offering APIs for remote control (e.g., starting a heater), which also present an attack surface.
- Other Protocols: Beyond CAN, vehicles use FlexRay, MOST, LIN (for higher data rates), automotive Ethernet (twisted pair gigabit Ethernet), and various wireless spectrums. Many of these protocols were designed for functionality in a challenging environment, not security, with security often optional or poorly configured (e.g., Bluetooth).
- Cellular Connectivity: GSM/LTE is mandatory in Europe for e-call features, activating upon airbag detonation. However, cars can have multiple SIM cards, making them targets for IMSI catchers (e.g., deployed with a USRP).
- Vehicle-to-Everything (V2X) Communication: Emerging protocols (LTE-based or Wi-Fi-based) for vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communication are being developed with some security in mind, but their widespread adoption and security maturity are yet to be seen.
Despite this daunting landscape, physical access remains a significant barrier for many attackers, as dismantling car components to reach ECUs is time-consuming and requires dedicated access to a vehicle. The current state is characterized by proprietary technologies, low accessibility for public security research, and a lack of transparent information, creating a challenging environment for proactive security improvements.
Key Findings
▶ Watch: CAN bus limitations: low bandwidth, no built-in security (10:00)
The central finding of Schmiedecker's talk is the introduction and analysis of ISO/SAE 21434, an international standard currently being drafted to fundamentally improve the cybersecurity posture of vehicles and their components. This standard represents a critical shift from ad-hoc security measures to a formalized, lifecycle-oriented approach. Currently in a committee draft phase, the document spans approximately 120 pages, including informative annexes and examples, and is expected to be released sometime in 2020. Its development has been a collaborative effort involving manufacturers and suppliers, though Schmiedecker notes the general public's exclusion from the process as a concern.
At its core, ISO/SAE 21434 is a risk management standard. It mandates a comprehensive process to identify, analyze, and mitigate cybersecurity risks across the entire lifecycle of a vehicle or component, from initial concept and development through operations, maintenance, and eventual decommissioning. This holistic approach is a significant departure from previous practices that often focused solely on development. A key component of the standard is vulnerability management, requiring any manufacturer or OEM adhering to the ISO standard to establish a robust process for handling identified vulnerabilities, including processing them, developing fixes, and providing necessary updates. This ensures ongoing security support once a vehicle is in the field.
The standard builds upon existing frameworks and concepts. It draws inspiration from the functional safety standard (which focuses on preventing harm from system failures) and the SAE J3061: Cybersecurity Guidebook for Cyber-Physical Vehicle Systems, published in early 2016. The SAE guidebook, released shortly after the Jeep hack, was instrumental in outlining steps for securing systems during development. ISO/SAE 21434 also aligns with general risk management principles found in standards like ISO 31000, emphasizing the evaluation of risk based on the severity and likelihood of a threat manifesting.
Schmiedecker contextualizes ISO/SAE 21434 within a broader landscape of emerging automotive cybersecurity initiatives:
- NHTSA Best Practice Booklet (2016): The National Highway Traffic Safety Administration in the US published best practices for cybersecurity in cars, also in the wake of major hacks. While comprehensive, it was not mandatory and couldn't be audited, limiting its impact on an industry often slow to adopt non-mandated changes.
- UN Economic Commission for Europe (UNECE) Regulations (Drafted recently): A UN body has drafted regulations for security in cars and over-the-air (OTA) updates. This is a significant development, as UN involvement often signals global intent for mandatory compliance, suggesting that previous industry efforts were insufficient.
- California IoT Security Law (2018): This law, applicable to any internet-connected device small enough to be stolen, could potentially apply to cars due to their connectivity, imposing additional security requirements.
An interesting, albeit perhaps misguided, early idea discussed in the context of automotive security was the implementation of intrusion detection systems (IDS) in cars. Schmiedecker expresses skepticism about the feasibility of IDS in such complex, distributed, real-time environments, questioning how baselines would be established and what specific signals would be monitored effectively, especially given the challenges faced by IDS even in traditional internet environments. This highlights the novelty of applying IT security concepts to the unique domain of automotive systems.
Overall, the ISO/SAE 21434 standard represents a monumental, albeit imperfect, effort to bring structured cybersecurity to an industry that desperately needs it. Its emphasis on risk management, lifecycle security, and vulnerability handling marks a crucial evolution in how automotive cybersecurity will be approached globally.
Technical Deep Dive
▶ Watch: ISO/SAE 21434: a new standard for automotive cybersecurity (18:40)
The technical core of ISO/SAE 21434 revolves around a structured risk management process designed to identify, assess, and mitigate cybersecurity threats throughout a vehicle's entire lifecycle. This process is applied to both individual components and the complete vehicle system.
The standard's methodology begins with asset identification. What are the critical components or functions within the vehicle that need protection? Once identified, potential vulnerabilities and the resulting threats are cataloged. The risk value for each threat is then calculated as the impact of the threat manifesting multiplied by its feasibility (likelihood of occurrence). This allows for a prioritized list of risks, enabling resources to be allocated effectively for mitigation.
Central to this risk management are five key security goals:
- Confidentiality: Protecting sensitive information from unauthorized disclosure.
- Integrity: Ensuring that data and software remain unaltered and trustworthy.
- Availability: Guaranteeing that systems and functions are accessible when needed.
- Freshness: Ensuring that received data is current and not a replay of old, potentially malicious, information.
- Authenticity: Verifying the origin and legitimacy of data and commands, preventing spoofing.
Schmiedecker provides concrete examples to illustrate this risk assessment:
- Asset: Engine Control Unit (ECU)
- Threat: Unauthorized modification of software (e.g., chip tuning).
- Goal: Preserve the integrity of the software.
- Impact: Severe, as an engine shutting down during driving due to an error state could lead to accidents.
- Feasibility: High, as chip tuning tools are readily available online.
- Outcome: "Better do something about it." Mitigation measures include secure boot, authenticated boot, and signed software updates to prevent unauthorized software from running or being installed. These mechanisms verify the cryptographic signature of the software before execution, ensuring its authenticity and integrity.
- Asset: Infotainment System
- Threat: System unavailability (e.g., radio not working).
- Goal: Availability for customer satisfaction.
- Impact: Low, primarily customer frustration, not life-threatening.
- Feasibility: High, as infotainment systems are often complex and feature-rich, making them prone to bugs or attacks that disrupt service.
- Outcome: "Okay, but probably not," meaning the risk might be accepted depending on specific circumstances, or less stringent mitigations might be applied compared to safety-critical systems.
Following risk identification and assessment, the next step in the standard is to develop a security concept. This concept outlines how identified risks will be mitigated through specific requirements. These requirements can be highly technical, such as mandating end-to-end encryption and authentication for all communication with the public internet, or less strict, focusing on organizational measures like proper security training for developers. For instance, given the prevalence of C/C++ in embedded systems and its known memory safety issues, training developers on secure coding practices is crucial.
The development phase then proceeds with implementing these requirements, followed by rigorous verification and validation. Verification ensures that the implemented system meets the specified requirements. Validation assesses whether the entire security concept is effective in mitigating the identified risks. This validation often includes penetration testing by external, independent parties, as well as security audits of the development organization and processes. This external scrutiny is a significant and positive step, as it forces manufacturers to have their security claims objectively tested.
Crucially, ISO/SAE 21434 extends beyond the development phase to encompass the entire lifetime of the vehicle. This means that once a car is in the field, manufacturers still bear responsibility for its cybersecurity. Key aspects of this lifecycle management include:
- Residual Risks: After development, a list of residual risks is maintained. These are risks that could not be fully mitigated, either due to technical infeasibility, disproportionate cost, or low impact. This list is not static; it must be continuously reevaluated as new attack techniques or vulnerabilities emerge (e.g., from conference presentations). If a risk's likelihood or impact increases, the analysis must be redone, and new mitigations considered.
- Production Security: The standard addresses security during manufacturing. This includes robust key management for individual cryptographic keys used in different components. Manufacturers must track serial numbers, key ownership, and ensure secure handling of these sensitive assets.
- Operations and Maintenance: Post-production, manufacturers are responsible for incident monitoring, triage, and response. This means actively looking for security incidents, assessing their validity and severity, and then having a process to investigate and address them.
- Updates: A core requirement is a reliable process for delivering software updates to address vulnerabilities or improve security features. This capability is critical for long-term vehicle security.
- Supply Chain Security: The standard's requirements trickle down the supply chain. Manufacturers must ensure that their suppliers (e.g., component makers, chip manufacturers) also adhere to security best practices, are capable of delivering secure components, and can provide updates when needed. This extends security responsibility to the furthest reaches of the automotive ecosystem.
- Decommissioning: Finally, the standard addresses the decommissioning phase, where security responsibilities eventually end when a vehicle is no longer expected to be operational.
In essence, ISO/SAE 21434 provides a comprehensive blueprint for embedding cybersecurity into every facet of automotive engineering and operations, shifting the industry towards a more mature and resilient security posture.
Demo / Proof of Concept
▶ Watch: Standard covers vehicle's entire security lifecycle, not just development (31:40)
This talk, "A hacker's view to the upcoming ISO/SAE 21434," is an analytical and conceptual presentation focusing on the details and implications of a new cybersecurity standard. As such, it did not include a live demonstration or proof of concept of any automotive hacks or security implementations. Martin Schmiedecker's objective was to explain the standard's content, its background, and its potential impact on the automotive industry rather than showcasing practical exploits.
Defensive Implications
▶ Watch: Speaker's critique: closed process, potential implementation flaws (36:00)
The advent of ISO/SAE 21434 carries profound defensive implications for the entire automotive industry, mandating a systemic shift in how cybersecurity is approached. For manufacturers (OEMs) and their myriad suppliers, adherence to this standard will transform cybersecurity from an optional add-on to a fundamental, auditable requirement throughout the entire product lifecycle.
One of the most significant changes is the mandatory implementation of a risk management framework. Defenders will no longer be able to develop components or vehicles without first conducting a thorough cybersecurity risk assessment, identifying assets, threats, vulnerabilities, and calculating risk values. This proactive approach aims to embed security by design, rather than attempting to patch vulnerabilities post-production. This will necessitate dedicated cybersecurity teams within organizations, skilled in risk assessment methodologies and automotive-specific threats.
The standard's emphasis on vulnerability management means that manufacturers must establish formal processes for handling identified security flaws. This includes monitoring for new vulnerabilities, assessing their impact on their products (including re-evaluating residual risks), developing patches, and having robust mechanisms for delivering software updates to vehicles in the field. This addresses a historical weakness of the automotive industry, where updates were often cumbersome or non-existent. Over-the-air (OTA) update capabilities, long desired but not universally implemented, will likely become a critical infrastructure requirement.
Furthermore, the standard mandates the development and implementation of a security concept that translates risk mitigation strategies into concrete technical and organizational requirements. This will drive the adoption of fundamental security controls such as secure boot, authenticated boot, and signed software updates to protect the integrity of vehicle software, preventing unauthorized modifications like chip tuning. It will also push for secure communication protocols, including end-to-end encryption and authentication for external interfaces and critical internal communications, to ensure confidentiality, integrity, and authenticity of data.
The requirement for verification and validation, including penetration testing by external entities, is a game-changer. This means that manufacturers cannot simply declare their products secure; they must demonstrate it through independent security assessments. This will foster a more mature security testing ecosystem and drive continuous improvement in product security.
Defenders must also prepare for the trickle-down effect on the supply chain. OEMs will be obligated to ensure their suppliers adhere to the standard's cybersecurity requirements. This means suppliers, from chip manufacturers to component assemblers, will need to implement their own risk management, secure development practices, and vulnerability handling processes. This will create a consistent security baseline across the complex automotive supply chain.
Finally, the standard's focus on production security (e.g., robust key management for cryptographic keys) and operations & maintenance (e.g., incident monitoring and response) means that cybersecurity responsibilities extend beyond the factory floor. Manufacturers will need to invest in security operations centers (SOCs) or similar capabilities to monitor vehicle fleets for anomalies, respond to incidents, and manage cryptographic keys throughout the product's lifespan.
In summary, ISO/SAE 21434 compels the automotive industry to mature its cybersecurity practices significantly, adopting a holistic, lifecycle-based approach that integrates security into every stage of vehicle development, production, and operation. This will require substantial investment in people, processes, and technology, ultimately leading to more resilient and trustworthy vehicles.
Key Takeaways
- ISO/SAE 21434 is a foundational standard for automotive cybersecurity: It provides a much-needed international framework for managing cybersecurity risks across the entire vehicle lifecycle, from design and development through production, operation, maintenance, and decommissioning.
- Risk management and vulnerability handling are central: The standard mandates a systematic approach to identifying assets, assessing threats, calculating risk (impact x feasibility), and implementing mitigations. It also requires manufacturers to have robust processes for managing vulnerabilities and providing software updates.
- Security by design is paramount: The standard encourages embedding security from the outset, moving away from reactive fixes. This includes implementing measures like secure boot, authenticated boot, signed software updates, encryption, and authentication for critical components and communications.
- The attack surface of modern vehicles is vast and complex: Cars are "rolling distributed systems" with numerous ECUs, diverse communication protocols (CAN, FlexRay, Automotive Ethernet, wireless), and external interfaces (OBD-II, infotainment, backend APIs, cellular), all presenting potential attack vectors.
- Transparency and open development remain critical challenges: While the standard is a positive step, its closed development process raises concerns about potential blind spots and a lack of broader community input, which could lead to "devil in the details" implementation flaws (e.g., weak key storage, insecure random number generation, unpinned TLS).
- Industry-wide impact and accountability: The standard will drive mandatory cybersecurity practices throughout the automotive supply chain, requiring suppliers to meet security requirements and ensuring external validation through penetration testing and audits.
About the Speaker(s)
Martin Schmiedecker is a Security Consultant with a deep engagement in the automotive industry, specifically from the supplier perspective. By day, he applies his expertise to securing complex automotive systems. By night, his interests diverge into digital forensics and the development of applied privacy schemes, indicating a strong commitment to user privacy in technological contexts. He is active on Twitter, sharing insights and observations. Schmiedecker's personal experience with automotive technology stems from owning an older car from the 1980s, which he humorously notes lacks the modern electronic complexity that is the subject of his professional work, such as communication buses, e-call, airbags, or even seatbelts. He emphasizes that his views presented in the talk are his own and do not represent his employer, and that his perspective on the ISO/SAE 21434 document is that of an external observer, not an active participant in its standardization process.