Modern cars contain more than 100 million lines of code, with computers controlling functions ranging from anti-lock braking to air conditioning. That growing reliance on software and connectivity is creating potential openings for hackers, although experts quoted in the report say most demonstrated attacks have not been used by criminals.

“IT is leaking into automotive,” says Tamás Pentz, head of threat intelligence at PCA Cyber Security. In a survey of automotive software developers this year, 83% said they thought it was somewhat, or very likely, that modern vehicles will be a major target for cyberattacks within three years.

“You have a chain of devices, technologies and software and all have to be secure in order to not have an entry point [for attackers],” Pentz says.

Researchers have identified vulnerabilities in vehicle systems. Eric McDonald found he could install his own software on his Honda Civic’s infotainment system using a USB key. He named the flaw “EvilValet” because anyone with temporary access to the vehicle, such as a valet, could compromise it. In 2023, security researcher Ian Tabor’s car was stolen after thieves accessed wires behind a headlight to control its electronics.

In January, the IT infrastructure of Russian car alarm company Delta was attacked. Some car owners said they could not unlock their cars or start their engines using the mobile app.

PCA tests vehicle security, sometimes at the request of carmakers or car owners seeking higher security. The company also carries out its own research. One such study uncovered PerfektBlue, a weakness in Bluetooth software used by several leading automotive manufacturers. The flaw has since been fixed.

The vulnerability could allow an attacker to run software on an in-vehicle infotainment (IVI) device, but first they needed to pair a phone with the car, which may have required someone inside to act. “It’s a one-click attack, but there are ways to trick the user to perform this click,” says Gianfranco Vinucci, PCA’s chief operating officer.

A compromised entertainment system could pose risks beyond the system itself. “I think the most scary one is spying on people,” Pentz says. “If you have something in your car that’s constantly listening, knows your driving routes, how many occupants are in the vehicle: those are all sensitive information. You can actually reroute the car on the GPS, which [enables] a lot of malicious scenarios.”

In a separate study, PCA showed that an IVI system could sometimes be used to reach critical vehicle components such as steering. How possible that is depends on how well the entertainment unit is separated and secured from the car’s other systems, Pentz says. Complete separation is not possible, he adds, because functions such as parking assist use the screen and need the ability to control the car.

Potential routes for attacks include Bluetooth, USB sockets, electric-vehicle charging points, over-the-air (OTA) software updates and manufacturers’ cloud services.

“Currently, most of [the vulnerabilities] are just demonstrated research,” Pentz says. “Criminals are not really using attacks to do this. Sometimes they don’t have the means technologically, but sometimes they don’t have the motivation because there is no return for wreaking havoc.”

Vinucci says it is ultimately the car manufacturer’s responsibility to secure its products, though checking every line of code from every supplier is “practically impossible”.

Mike Hawes, chief executive of the Society of Motor Manufacturers and Traders, says: “No sector can guarantee immunity from crime, but manufacturers are working hard to stay ahead of increasingly sophisticated cyber threats, using AI and advanced technologies to identify vulnerabilities earlier, improve monitoring, and respond faster to emerging risks.” He says manufacturers also work with the National Cyber Security Centre and comply with international regulation to prevent and address cyber risks throughout a vehicle’s lifecycle.

Dave Kelly, chief commercial officer at Cubic³, which manages connectivity for vehicle manufacturers, says connected vehicles carry additional risk but are easier to fix. Previously, he says, a car could leave the factory and never be updated by its manufacturer. “If there’s a flaw on a vehicle for the life of that vehicle, it becomes a real problem. We’ve seen few fleet-wide attacks, and what we have seen in those scenarios is that they’ve been patched by OTA [updates]. You don’t have to wait for a recall.”

Kelly says advances in AI are what keep automotive security professionals awake at night. Pentz says AI has made it easier for attackers to gather the expertise needed for sophisticated attacks, which can involve car repair, IT infrastructure and cloud security. “[AI has] lowered the cost of the reconnaissance and planning part [of an attack] dramatically, especially reverse engineering software,” he says.

Martin Thompson, a senior technical specialist at ZF, which supplies vehicle components including steering, brakes and safety systems, says the company also tests automotive security. “It’s not an exact science,” he says. “There are so many things that can go wrong that it’s difficult to say we guarantee that nothing [that can be hacked] gets out there.”

Thompson says theft is one possible motive for hacking vehicles, but other motivations are uncertain. He cites a recent attack on supermarket fridges and freezers, whose motive remains unknown. “Somebody just having a go [at cars] for fun is one possibility and the other is somebody ransomwaring a set of cars. I can see a nation state motivation to just cause aggro.”

Devices fitted to vehicles after they leave the factory can introduce further security risks. Researchers at UC San Diego found a flaw in KARR, a device installed by automotive dealers in an estimated 2.2 million vehicles. Dealers used it for remote locking, unlocking and immobilisation of cars on their forecourts; customers could also subscribe to an app offering the same functions.

Second-hand owners might not know their car has a KARR device. The flaw let unauthorised users control the doors, immobiliser, lights and horn over Bluetooth. “You don’t need to physically access anything from within the vehicle,” says Jerry Yu, one of the researchers. “There’s no such thing as a pairing button.”

The research team, which included Yu, Sumanth Rao, Yibo Wei and others, found that subscribed vehicles could be attacked with the engine off. Vehicles without a subscription could be controlled remotely only when the engine was running or shortly after it had been switched off.

The researchers unlocked and immobilised Rao’s car. “The fact that I was not paying for the service, but was still vulnerable to this was shocking,” Rao says. “If you’re in Bluetooth range, you can basically unlock the car within 30 or 40 seconds.” KARR maker Acrisure has issued a software update to address the flaw.

The UC San Diego team examined several similar anti-theft and connectivity devices. One other device was vulnerable, including in relation to the ignition, but Wei says leading consumer-facing products have good security design.

“We haven’t seen a massive number of incidents,” Kelly says. “I think the industry is very vigilant. As a car owner, I would be more conscious of aftermarket devices. The other thing I would say is accept your patching and updates as soon as possible on the vehicle.” Thompson recommends using a physical steering lock to deter theft: “It’s something I’ve got in the boot of my car.”

Acrisure and Honda were approached for comment.