Hacking driverless vehicles

Zoz (Co-founder · Cannytrophic Design)

BruCON 0x0A · Day 1

Overview

In this insightful and updated "retro talk" from BruCON, Zoz, a renowned robotics interface designer and rapid prototyping specialist, delves into the critical vulnerabilities inherent in driverless vehicles and other autonomous systems. Originally presented at BruCON 6, this talk has been expanded to include significant new research and live demonstrations, highlighting the rapid evolution of attack vectors against these emerging technologies. Zoz’s primary motivation is not to instill fear, uncertainty, and doubt (FUD), but rather to proactively identify and address potential security flaws before autonomous systems become so deeply entrenched in our infrastructure that these vulnerabilities could lead to catastrophic failures.

Watch on YouTube

Visual summary for Hacking driverless vehicles by Zoz
Visual summary for Hacking driverless vehicles by Zoz

Key moments

  1. 2:19 Why we must understand driverless vehicle vulnerabilities
  2. 12:00 Dark Star drone crash: expectations vs. reality
  3. 14:15 DARPA Sandstorm crash: GPS vs. sensor conflict
  4. 31:40 Live GPS spoofing demo & drone auto-landing
  5. 42:20 Latest research: Active lidar jamming and spoofing
  6. 53:40 Crashing drones with acoustic attacks on gyros
  7. 62:30 Exploiting map reliance and V2V/V2I communication

Hacking driverless vehicles

Speakers: Zoz, Co-founder, Cannytrophic Design

Conference: BruCON

YouTube: https://www.youtube.com/watch?v=NCdh09NCW7o

Overview

In this insightful and updated "retro talk" from BruCON, Zoz, a renowned robotics interface designer and rapid prototyping specialist, delves into the critical vulnerabilities inherent in driverless vehicles and other autonomous systems. Originally presented at BruCON 6, this talk has been expanded to include significant new research and live demonstrations, highlighting the rapid evolution of attack vectors against these emerging technologies. Zoz’s primary motivation is not to instill fear, uncertainty, and doubt (FUD), but rather to proactively identify and address potential security flaws before autonomous systems become so deeply entrenched in our infrastructure that these vulnerabilities could lead to catastrophic failures.

The presentation underscores that the advent of autonomous vehicles is inevitable, driven by compelling advantages such as energy efficiency, time savings, and the ability to perform tasks beyond human capability or endurance. However, this progress introduces a new frontier for cybersecurity challenges. Zoz systematically dissects how various sensors and control systems, fundamental to autonomous operation, can be exploited through denial-of-service (DoS) and spoofing attacks. The talk serves as a crucial call to action for the security community, emphasizing the need for robust defensive strategies and a deep understanding of these systems' failure modes to ensure their safe and reliable deployment.

Background

▶ Watch: Why we must understand driverless vehicle vulnerabilities (2:19)

The talk begins by establishing the undeniable trajectory towards widespread adoption of autonomous systems. Zoz, drawing from his experience with projects like the "Prototype This" TV show where he developed autonomous drones and pizza delivery vehicles (including the first autonomous crossing of a US highway bridge), illustrates the practical benefits driving this revolution. These include significant energy and time efficiencies, and the capacity to operate in environments or for durations impractical for human operators, such as oceanographic research or long-haul cargo shipping. Despite early ambitious predictions, like the US military's goal for one-third unmanned ground vehicles by 2015 (which currently stands at near zero percent), civilian applications in transportation, logistics, and precision agriculture are seeing rapid uptake.

Zoz contrasts early European predictions for driverless vehicle adoption with their actual rollout. For instance, the UK's initial £10 million research fund grew to £200 million, with Nissan and Jaguar Land Rover testing autonomous vehicles on public roads since 2017. Sweden successfully deployed a fleet of 100 driverless Volvos in Gothenburg by late 2017, and autonomous buses are now trialing across Europe, including in Stockholm, Berlin, and Bavaria. These examples reinforce the reality that autonomous vehicles are not a distant future but an active present. However, sharing infrastructure with unpredictable human drivers and the public's often irrational risk evaluation methods remain significant hurdles.

Crucial to understanding vulnerabilities, Zoz highlights classic failures in early autonomous systems. The Dark Star surveillance drone, an expensive Boeing prototype, crashed on its maiden flight due to porpoising oscillations. Its flight control system, tested on smooth asphalt, overcompensated for small impulses from gaps in concrete runway slabs, leading to a nose-high stall. This illustrates that designers' implicit expectations about operating environments are critical. Another prominent example is Carnegie Mellon's Sandstorm, a favorite in the 2004 DARPA Grand Challenge, which ran off-road and caught fire after just seven miles. The team had prioritized pre-programmed GPS coordinates over real-time sensor data when they disagreed, leading to a catastrophic misjudgment. These incidents underscore that correct state estimation is paramount, and successful exploits often subvert this core function. Autonomous system logic is hierarchical, with low-level control loops (maintaining stability) underpinning collision avoidance, navigation, and mission planning. Attacks on lower layers can cascade, defeating all higher-level functions, making these foundational elements attractive, albeit challenging, targets.

Key Findings

▶ Watch: DARPA Sandstorm crash: GPS vs. sensor conflict (14:15)

The talk's central findings revolve around the susceptibility of various sensors and control systems to denial and spoofing attacks, which can subvert a vehicle's state estimation and decision-making. Zoz demonstrates that even seemingly robust systems can be tricked with relatively low-cost equipment, creating asymmetrical attack scenarios where minimal investment yields significant disruptive potential.

  1. GPS Vulnerabilities: GPS, a cornerstone for navigation, is highly susceptible to both jamming and spoofing. Jamming is trivial, achievable with inexpensive devices that flood GPS frequencies with noise. Spoofing, however, is more sophisticated, involving the broadcast of carefully crafted, higher-power fake signals that can hijack a vehicle's perceived location. This was demonstrated with a helicopter driven into the ground and a multi-million dollar yacht steered off course, using equipment costing as little as $2,000 at the time, now reduced to $300 with tools like BladeRF.
  2. Lidar Exploitation: Lidar, crucial for 3D mapping and collision avoidance, can be denied by overwhelming its laser sensors with bright lights or by using absorbent materials that prevent signal return. More critically, it can be spoofed by manipulating reflectivity or, as recent research shows, by actively injecting false returns. By leveraging the refraction properties of lidar's curved glass, an attacker can create phantom obstacles or even make themselves invisible to the system.
  3. Adversarial Machine Learning: The increasing reliance on deep learning models for perception (e.g., stop sign recognition, pedestrian detection) introduces new vulnerabilities. Zoz highlights research demonstrating that subtle, human-invisible modifications (like black and white tape on a stop sign or adversarial noise in an image) can cause a neural network to misclassify objects or fail to detect them entirely. Physical 3D-printed adversarial models, like a turtle misidentified as a rifle, further extend these concerns.
  4. Radar and IMU Attacks: Millimeter wave radar, used for collision avoidance, can be jammed by reflective materials or chaff, and sophisticated spoofing is theorized. Inertial Measurement Units (IMUs), while passive and onboard, are vulnerable to strong magnetic fields or thermal drift with physical access. A particularly novel finding is the acoustic attack on MEMS gyros, where specific resonant frequencies can disrupt their operation, leading to system instability and crashes, as demonstrated with a quadcopter.
  5. Map and V2X System Weaknesses: Autonomous vehicles heavily rely on high-fidelity maps. These maps, whether onboard or remotely supplied, are susceptible to denial (jamming communication) or spoofing (man-in-the-middle attacks providing false information). Furthermore, Vehicle-to-Vehicle (V2V) and Vehicle-to-Infrastructure (V2I) communication protocols, while designed for safety, present new attack surfaces. Despite authentication with certificates, common Public Key Infrastructure (PKI) issues and the historical "rookie mistakes" seen in existing traffic sensor infrastructure suggest significant potential for exploitation.

Technical Deep Dive

▶ Watch: Live GPS spoofing demo & drone auto-landing (31:40)

The technical core of Zoz’s talk meticulously unpacks how various sensors and control systems in driverless vehicles can be compromised. He categorizes these attacks into denial-of-service (preventing useful data) and spoofing (injecting crafted false data), further distinguishing between instantaneous and slowly-fed, cumulative attacks.

1. Global Positioning System (GPS) Attacks:

  • Denial (Jamming): GPS signals are inherently weak, originating from satellites in space. This makes them extremely easy to jam. A $15 GPS jammer from a "sketchy website in China" or a simple, self-built system dumping RF noise at GPS frequencies can effectively overwhelm a receiver, preventing it from acquiring a real signal.
  • Spoofing: More sophisticated, GPS spoofing involves transmitting carefully crafted fake GPS signals at a higher power than the legitimate, weak satellite signals. This tricks the receiver into locking onto the false signal.
  • UT Austin Demo: Zoz details a demo where a team from UT Austin successfully spoofed a helicopter and a multi-million dollar yacht. The helicopter was tricked into believing it was drifting upwards, causing its controller to drive it straight into the ground. The yacht was pulled off course by a mere three degrees, which over thousands of kilometers, could lead to a significantly different destination. This required about $2,000 in RF hardware at the time.
  • BladeRF and MATLAB: Since the original talk, the cost and complexity have plummeted. A Chinese team at Def Con 23 demonstrated a low-cost GPS simulator using BladeRF, programmed entirely in MATLAB, capable of spoofing for approximately $300. They famously used it to make cars in showrooms believe they were in the middle of a lake.
  • DJI Mavic Drone Auto-Landing: Zoz’s live demo involves sending a spoofed GPS location to a DJI Mavic drone (which has built-in no-fly zones). By making the drone believe it's at an airport runway, the drone's internal safety protocols trigger an auto-landing sequence, forcing it to descend. This highlights how system-level safety features can be weaponized with spoofed data.

2. Lidar (Laser Rangefinder) Attacks:

  • Mechanism: Lidar is an active sensor that emits laser pulses and measures the time-of-flight of the return signal to create a point cloud of 3D points, used for collision avoidance and mapping.
  • Denial:
  • Active Overpowering: Shining powerful lasers or bright lights directly at the lidar sensor can overwhelm its receivers, preventing it from registering legitimate returns in that area.
  • Absorbent Materials: Coating objects with absorbent materials that do not reflect laser light can make them appear invisible to lidar. This could be used to create "holes" in walls or "transparent" obstacles.
  • Spoofing:
  • Reflectivity Manipulation: Manipulating the reflectivity of objects can confuse lidar. A highly reflective puddle, for instance, can make a distant tree appear to be growing out of it. Conversely, large non-reflective areas can be interpreted as "holes" in the ground.
  • Road Line Spoofing: Lidar can detect road lines by looking for areas of high reflectivity. Attackers could use reflective black paints to create invisible-to-human, yet highly visible-to-robot, fake road markings, leading vehicles astray.
  • Active Jamming (Christ Research): Recent research (from Christ, 2017) shows that by pointing a strong laser source at a multi-beam Velodyne lidar, an attacker can selectively overpower specific laser lines, creating "invisible" zones. More interestingly, by using a weaker, modulated laser, attackers can exploit the refraction of the lidar's curved glass housing to generate false returns at specific distances and angles, simulating phantom obstacles. This allows an attacker driving next to a target vehicle to create the illusion of an object in front of it.
  • Spoofing Relay Attack: This advanced technique requires carefully characterizing the victim lidar's pulse timing. An attacker's active receiver listens for pulses and sends back meticulously timed, crafted pulses that anticipate the victim's own emissions, creating false returns at precise locations along the line of sight between attacker and victim.

3. Camera-Based Perception Attacks:

  • Limitations: Cameras are passive sensors, easily dazzled by bright lights or spoofed by camouflage. Early uses included "colorizing the lidar" to extend road detection, as seen in Stanford's Stanley vehicle winning the 2nd DARPA Grand Challenge.
  • Adversarial Machine Learning: This is a major area of recent research.
  • Physical Object Manipulation: Zoz presents examples where simple black and white tape strategically placed on a stop sign can cause a deep learning model to misclassify it, while remaining perfectly recognizable to a human.
  • Adversarial Noise: Injecting carefully crafted, imperceptible adversarial noise into an image can cause a pedestrian detection system to completely fail to recognize pedestrians. Zoz notes this is often a white box technique (attacker knows the model) and not yet practical for real-world, external attacks.
  • 3D Printed Adversarial Models: A more practical variant involves 3D-printed models, like an "adversarial turtle," which, from various angles, are consistently misidentified as a rifle by trained neural networks.

4. Millimeter Wave Radar Attacks:

  • Mechanism: Used primarily for collision avoidance, particularly in systems like Tesla's Autopilot (specifically the Bosch LR3 radar) and Waymo vehicles. It offers lower resolution than lidar but is effective at detecting large objects.
  • Jamming: Many objects reflect millimeter waves like a mirror. Chaff (common in military anti-radar techniques) or even large overhead signs can jam radar, making objects beneath them appear invisible.
  • Def Con 24 Bosch LR3 Hack: A Chinese team demonstrated jamming the Bosch LR3 radar used in Tesla's Autopilot, making a visible object disappear from the system's perception. This attack, however, required approximately $100,000 worth of equipment. Spoofing and relay attacks were theorized but not performed.

5. Inertial Measurement Unit (IMU) and Compass Attacks:

  • Mechanism: IMUs (accelerometers and gyroscopes) and digital compasses provide crucial dead reckoning and orientation information, especially in GPS-denied environments (e.g., military, underwater). High-fidelity IMUs (e.g., from a Boeing 777) boast impressive accuracy (0.1% of distance traveled error).
  • Interference: These are difficult to interfere with as they are passive and onboard. However, they are susceptible to strong magnetic fields and thermal drift, requiring physical proximity.
  • Acoustic Attack on MEMS Gyros: A groundbreaking POC from 2015 demonstrated that MEMS gyros (common in low-cost drones) can be disrupted by sound waves. By hitting the gyro's small vibrating mass with a frequency close to its resonant frequency, attackers can cause it to "go crazy," leading to system instability and crashes, as shown with a quadcopter. This is akin to the "screaming in the data center" attack on hard drives.

6. Wheel Odometry and Ultrasonic Sensor Attacks:

  • Wheel Odometry: Used to measure speed and distance. A simple attack involves physically damaging or removing a wheel encoder. Zoz recounts how his pizza delivery robot became confused after knocking its wheel encoder off on a difficult turn. Changing wheel diameter (with physical access) is another option.
  • Ultrasonic Sensors: Primarily used for low-speed parking maneuvers. Attacks, demonstrated at Def Con, include jamming with acoustic ultrasonic noise, spoofing with carefully timed chirps to create phantom objects, or cancellation attacks to make real objects disappear.

7. Map and V2X System Attacks:

  • Map Reliance: Driverless vehicles heavily rely on high-fidelity maps for precise localization and object detection (e.g., knowing exactly where traffic lights are to focus perception).
  • Map Denial/Spoofing: If maps are onboard, attackers can introduce unexpected features in the real world (e.g., vegetation growth confusing lidar). If maps are remote (like phone navigation), they are vulnerable to jamming or man-in-the-middle attacks to feed false map information.
  • V2V/V2I Communication: The Department of Transportation's plan for Vehicle-to-Vehicle (V2V) and Vehicle-to-Infrastructure (V2I) communication, initially for warning messages (e.g., lane change, collision), uses unencrypted Basic Safety Messages (BSM) authenticated with certificates. Zoz warns that Public Key Infrastructure (PKI) issues and historical "rookie mistakes" in existing traffic sensor infrastructure (e.g., unencrypted, unauthenticated wireless updates) suggest significant vulnerabilities for future active control systems.

Zoz concludes this section by outlining a "Daniel Craig James Bond vehicle" for attacking driverless cars, equipped with active lidar and radar jammers, an acoustic blaster for MEMS gyros, and even an "adversarial turtle dispenser." The goal is to concentrate attacks on fragile maneuvers and places of maximum uncertainty for the robot, leveraging sophisticated attacker devices with their own sensors (e.g., a GPS spoofer with its own GPS) to precisely time and execute physical attacks.

Demo / Proof of Concept

▶ Watch: Crashing drones with acoustic attacks on gyros (53:40)

Zoz performed a live GPS spoofing demo during the conference to illustrate the practical feasibility of these attacks. Acknowledging the constraints of an indoor setting, he set up equipment to broadcast a low-power, spoofed GPS signal, ensuring it wouldn't propagate into the wider world. Attendees were encouraged to put their phones in airplane mode (to disable cell tower and Wi-Fi localization) and observe if their devices would lock onto the fake GPS coordinates. The target location for the spoof was the White House in Washington D.C., a well-known no-fly zone for drones, which was explicitly chosen to highlight the implications for autonomous vehicles. Although some phones took a few minutes to sync due to downloading ephemeris data, some attendees successfully reported their phones showing the spoofed location.

Complementing the live demonstration, Zoz presented a pre-recorded video of a DJI Mavic drone being hijacked using the same GPS spoofing technique. In the video, the drone, initially hovering, is fed a spoofed GPS location indicating it is at an airport. As soon as the drone's internal systems register this location, its built-in no-fly zone protocols are triggered, and it initiates an auto-landing sequence. The video clearly shows the drone operator's screen suddenly displaying the drone's location next to an airport runway, followed by the drone itself descending and landing without any manual intervention. This demonstration powerfully illustrates how a relatively simple and low-cost GPS spoofing attack can leverage a vehicle's own safety mechanisms against it, forcing an unintended and potentially dangerous action.

Defensive Implications

▶ Watch: Exploiting map reliance and V2V/V2I communication (62:30)

The detailed analysis of vulnerabilities in driverless vehicles provides critical insights for strengthening their security posture. Defenders must move beyond traditional cybersecurity paradigms to address the unique challenges posed by autonomous systems' interaction with the physical world.

  1. Robust State Estimation and Sensor Fusion: The repeated failures caused by sensors disagreeing (Sandstorm, GPS vs. local sensors) highlight the paramount importance of robust state estimation. Autonomous systems must intelligently fuse data from diverse sensors, not merely aggregate it. This requires sophisticated algorithms capable of identifying and discounting erroneous sensor inputs, rather than blindly trusting pre-programmed data or a single sensor. Designers must anticipate "boundary cracks" – mismatches between design assumptions and real-world conditions – which are prime targets for exploitation.
  2. Layered Security and Redundancy: The hierarchical nature of autonomous control systems suggests a layered defense strategy. While lower layers (e.g., control loops) are often more robust, they also have the most critical impact. Implementing redundancy across different sensor types and processing logic can mitigate single points of failure. For example, relying on IMUs or visual odometry when GPS is jammed or spoofed, or using multiple radar/lidar units with overlapping fields of view to detect inconsistencies.
  3. Anticipating Adversarial Attacks: The growing field of adversarial machine learning necessitates new defenses for perception systems. This includes training neural networks with adversarial examples, developing robust architectures that are less susceptible to subtle input perturbations, and implementing anomaly detection systems that flag unusual sensor data or classification outputs. While white box techniques are currently prevalent, defenders must prepare for black box attacks as research progresses.
  4. Securing Communication Channels (V2X): The rollout of V2V and V2I communication, despite its safety benefits, introduces significant attack surfaces. Defenders must learn from the "rookie mistakes" of existing traffic sensor infrastructure (e.g., unencrypted transmissions, unsigned firmware updates). Robust Public Key Infrastructure (PKI) implementation for authenticating Basic Safety Messages (BSM) is crucial, with strict certificate management to prevent spoofing or man-in-the-middle attacks. Emphasis must be placed on security from the outset, not just privacy.
  5. Physical Security and Tamper Detection: While many attacks are remote, some, like acoustic IMU jamming or wheel encoder tampering, require physical proximity. Autonomous vehicles need enhanced physical security measures, including tamper-detection mechanisms for critical sensors and onboard computing units. The ability to detect and respond to unauthorized physical access is as important as network security.
  6. Continuous Testing and Validation in Diverse Environments: The Dark Star's crash due to a change in runway surface underscores the need for exhaustive testing in a wide array of real-world scenarios, not just idealized lab conditions. Manufacturers must prioritize testing for unexpected conditions, environmental variables, and human-robot interactions, actively seeking out potential failure modes rather than just validating expected performance. This includes tests against known and novel attack vectors.

Key Takeaways

  • Autonomous vehicles are here to stay, but their vulnerabilities are a critical concern. The rapid deployment of driverless technologies necessitates proactive security research to identify and mitigate risks before they become widespread.
  • Sensor attacks, particularly denial and spoofing, are primary vectors for subverting autonomous systems. GPS, lidar, radar, cameras, IMUs, and even simple wheel encoders can be manipulated to confuse a vehicle's perception of reality.
  • Robust state estimation is paramount; successful exploits often target and subvert this core function. The ability of an autonomous system to accurately understand its environment and its own state is fundamental to safe operation, and compromising this leads to catastrophic failures.
  • Low-cost, asymmetrical attacks can have high impact. Tools like $15 GPS jammers or $300 GPS spoofers can disrupt multi-million dollar systems, highlighting the need for defenses that are resilient against accessible threats.
  • Reliance on high-fidelity maps and V2X communication introduces new, significant attack surfaces. These systems are vulnerable to denial or spoofing, and their security implementation must learn from past failures in critical infrastructure.
  • The combination of design assumptions, testing limitations, and emerging technologies like adversarial machine learning creates complex security challenges. Defenders must anticipate unexpected interactions between systems and actively seek out "boundary cracks" that attackers will exploit.

About the Speaker(s)

Zoz is a distinguished figure in the fields of robotics, interface design, and rapid prototyping. As a Co-founder of Cannytrophic Design, he brings a wealth of practical experience to the discussion of autonomous systems. Zoz is widely recognized for his work on the popular TV show "Prototype This," where he and his team tackled ambitious engineering challenges, including the development of various unmanned systems. His projects on the show included an autonomous drone aircraft designed to deliver lifejackets and ground-based autonomous vehicles for pizza delivery, notably achieving the first autonomous crossing of a United States highway bridge. Beyond television, Zoz is actively involved in the robotics community, hosting autonomous robotics competitions for the RoboNation, many of which focus on maritime applications involving boats and submarines. His diverse background provides a unique perspective on both the potential and the inherent vulnerabilities of autonomous technologies.

Reviews

  • Heather Calloway (CISO) — MUST SEE ★★★★★

→ Top-rated talks at BruCON 0x0A

All talks from BruCON 0x0A