Key Takeaways
- The vehicle attack surface is large and growing. ECUs, the CAN bus, telematics units, infotainment, OTA channels, key fobs, mobile apps and EV charging all carry risk.
- ISO/SAE 21434 is the dominant road-vehicle cybersecurity engineering standard, covering the full lifecycle from concept through decommissioning.
- UNECE WP.29 R155 and R156 make a certified Cyber Security Management System and Software Update Management System a market-access requirement in many regions.
- The CAN bus has no native authentication. Once an attacker reaches it, message injection is straightforward, so isolation and gateway filtering carry the load.
- Telematics and EV charging extend the vehicle perimeter to the cloud and the grid. Backend API security and charge-point protocol hardening are now core scope.
The Connected Vehicle Attack Surface
A modern vehicle contains anywhere from 30 to over 100 electronic control units (ECUs) governing the engine or motor, braking, steering, transmission, body electronics, infotainment, advanced driver assistance and more. These ECUs communicate over in-vehicle networks (Controller Area Network or CAN, CAN FD, LIN, FlexRay and increasingly Automotive Ethernet). On top of this sits a connectivity layer: the telematics control unit with cellular and sometimes satellite links, Bluetooth and Wi-Fi for device pairing, the key fob radio interface, the OBD-II diagnostic port, and the over-the-air update pipeline.
Each of these interfaces is a potential entry point. Researchers have demonstrated remote compromise through cellular telematics, infotainment exploitation pivoting to the CAN bus, key-fob relay and rolling-code attacks, and malicious diagnostic tooling on the OBD-II port. The defensive challenge is that a vehicle is a long-lived product (10 to 15 years on the road) built from components sourced across a deep supplier chain, with limited ability to retrofit security after sale except through the OTA channel that is itself a sensitive asset.
Practical scoping for an automotive engagement therefore spans four planes: the in-vehicle networks and ECUs, the wireless and physical interfaces, the backend cloud (telematics platform, OTA server, fleet portal, mobile app API), and the production and development tooling (diagnostic tools, key provisioning, software signing infrastructure). A test that covers only the vehicle and ignores the backend misses where the highest-leverage attacks now live.
CAN Bus and ECU Security
The Controller Area Network is the workhorse of in-vehicle communication, and it was designed in an era when physical access to the bus was assumed to be the trust boundary. CAN frames carry no source authentication and no encryption by default. Any node on the bus can transmit any message, and receiving ECUs act on well-formed frames without verifying the sender. This means that once an attacker can inject frames (through a compromised ECU, a malicious OBD-II dongle, or a bridged infotainment unit), they can potentially trigger functions on other ECUs.
Defensive architecture has shifted toward domain isolation and a central gateway. Safety-critical ECUs (braking, steering, powertrain) are placed on segregated bus segments separated from comfort and infotainment functions. A gateway ECU mediates traffic between domains and enforces a message allowlist, dropping frames that should never cross a boundary. Where the platform supports it, message authentication (for example AUTOSAR SecOC, which adds a truncated MAC and freshness counter to selected frames) raises the bar against injection on the most sensitive signals.
At the ECU level, the controls that matter are secure boot (the ECU verifies a signed firmware image before execution), hardware-backed key storage (a Hardware Security Module or secure element rather than keys in flash), authenticated diagnostic access (UDS security access using strong challenge-response rather than fixed seeds), and debug-interface lockdown (JTAG and SWD disabled or authenticated in production units). Codesecure ECU assessments combine firmware extraction and analysis, fuzzing of diagnostic and communication interfaces, and review of the secure-boot and key-management chain.
Need a Sector-Specific Cyber Programme?
Codesecure delivers ISO/IEC 27001:2022 certified VAPT, compliance and managed security for automotive, construction, D2C, banking, fintech and e-commerce customers across India, Singapore, UAE and Malaysia. Named consultants, fixed-price proposals, free retest within 90 days.
See Industry Services →Telematics and Backend Cloud Security
The telematics control unit (TCU) is the vehicle's gateway to the outside world. It connects the car to the OEM cloud for remote services (remote lock and unlock, location, climate preconditioning, charge management, stolen-vehicle tracking, usage-based insurance telemetry) and frequently serves as the conduit for OTA updates. Because the TCU bridges the cellular network and the in-vehicle bus, a TCU compromise is among the highest-impact outcomes in vehicle security.
On the backend, the telematics platform exposes APIs to vehicles, to mobile apps, to fleet portals and to partner integrations (insurers, charging networks, dealers). The recurring API findings mirror the wider OWASP API Top 10. Broken Object Level Authorization is the standout: a vehicle identifier or account identifier substituted in an API call that returns another customer's vehicle data or accepts a remote command. We also routinely see weak device authentication (vehicles sharing a credential class rather than per-vehicle identity), over-permissive partner scopes, and remote-command endpoints without sufficient rate limiting or anomaly detection.
The defensive priorities are per-vehicle cryptographic identity (each vehicle authenticates with its own provisioned credentials, ideally hardware-bound), strict object-level authorization on every API that references a vehicle or account, mutual TLS between vehicle and backend, anomaly detection on remote commands (a single account issuing unlock commands to thousands of vehicles should trigger an alert), and a tested ability to revoke a compromised vehicle credential without bricking the car. Codesecure runs combined vehicle-plus-backend engagements so that the path from a single car to the whole fleet is explicitly tested.
Over-the-Air Update Security
Over-the-air updates are essential for a product that lives on the road for a decade. They are also a uniquely sensitive asset: the OTA pipeline can write new firmware to ECUs across an entire fleet, so a compromise of the signing infrastructure or the update server is close to a worst-case scenario. The threat model includes a malicious update pushed by an attacker who has compromised the backend, a tampered package delivered by a network-level adversary, a rollback to a known-vulnerable version, and a partial or interrupted update that leaves an ECU in an unsafe state.
Robust OTA design follows the principles popularised by frameworks such as Uptane: every update package is cryptographically signed, ECUs verify signatures before installation, version metadata prevents rollback to vulnerable firmware, signing keys are held in hardware and separated by role so that no single compromised key authorises a fleet-wide push, and the update process is atomic with a verified fallback so an interrupted flash does not strand the vehicle. The update server, the package repository and the key-management system are all in scope for assessment, not just the in-vehicle client.
EV Charging Infrastructure Security
Electric vehicles add an entirely new interface: the charging connection. This is both a power link and a data link. The vehicle and the charge point negotiate over protocols such as ISO 15118 (which enables Plug and Charge, where the vehicle authenticates and authorises billing automatically) and the communication between charge points and back-end management systems runs over the Open Charge Point Protocol (OCPP). Each protocol layer introduces attack surface that did not exist for combustion vehicles.
The risks span the full chain. At the connector, a malicious charge point could attempt to exploit the vehicle's charging controller or harvest the certificates used for Plug and Charge. At the charge-point level, weakly secured OCPP back-haul (unencrypted WebSocket connections, default credentials, no firmware signing on the charger) lets an attacker manipulate billing, disrupt availability, or pivot into the charge-point operator's network. At the grid-interaction level, large numbers of compromised chargers acting in concert raise availability and load-manipulation concerns for the operator.
Defensive priorities for charging include TLS and certificate validation on OCPP back-haul, hardened charge-point firmware with secure boot and signed updates, proper handling and isolation of ISO 15118 contract certificates, and segmentation so a compromised public charger cannot reach the operator's billing or management core. Codesecure assesses both the vehicle charging controller and the charge-point and back-end estate for operators deploying public and fleet charging.
Regulator Pressure or Customer Audit?
Whether you need RBI, DPDP, PDPA, PDPL, GDPR or PCI DSS evidence, our compliance and VAPT lead is available for a 30-minute free scoping call. Audit-ready, board-ready, no slideware.
Talk to a Specialist →ISO/SAE 21434 and UNECE WP.29 Compliance
Two pillars dominate automotive cybersecurity governance. ISO/SAE 21434 (Road vehicles, Cybersecurity engineering) defines a structured engineering process across the vehicle lifecycle: cybersecurity governance, risk assessment using Threat Analysis and Risk Assessment (TARA), security requirements, verification and validation, incident response, and end-of-support handling. It is the engineering backbone that demonstrates a manufacturer built security in rather than bolting it on.
UNECE WP.29 Regulation No. 155 (R155) and Regulation No. 156 (R156) turn this into a market-access requirement in adopting regions. R155 requires a certified Cyber Security Management System (CSMS) covering the organisation's processes for managing vehicle cyber risk across development, production and post-production. R156 requires a Software Update Management System (SUMS) governing how updates (including OTA) are managed safely. Type approval in WP.29 contracting parties depends on demonstrating these systems, which links cybersecurity directly to the ability to sell vehicles.
For suppliers and OEMs serving these markets, the practical programme combines TARA workshops on each system, security requirements traced into design and test, vehicle and component penetration testing as verification evidence, an incident response capability with a defined disclosure path, and the documentation set that supports CSMS and SUMS audits. Codesecure supports ISO/SAE 21434-aligned TARA, penetration testing as verification evidence, and CSMS and SUMS readiness, with reports structured to support type-approval and customer-audit needs.
Fleet Monitoring and Vehicle SOC
Building security in is necessary but not sufficient for a product that stays in the field for a decade against an evolving threat. The mature operating model adds a Vehicle Security Operations Centre (VSOC): continuous monitoring of vehicle and backend telemetry for signs of attack, a process to triage and respond to in-field incidents, and a feedback loop into engineering and the OTA pipeline so that a discovered vulnerability can be patched across the fleet.
Practical VSOC scope includes anomaly detection on in-vehicle network behaviour (where an intrusion detection system is deployed on the gateway), monitoring of backend API abuse and remote-command anomalies, threat intelligence on automotive-specific vulnerabilities and exploits, a coordinated vulnerability disclosure programme so external researchers have a responsible reporting path, and tested incident response runbooks that account for the safety dimension (a security response must never itself create an unsafe vehicle state). For fleet operators (logistics, ride-hailing, leasing, public transport) the same monitoring extends to the operator's fleet portal and the integrations that connect it to dispatch, maintenance and billing. Codesecure helps OEMs and fleet operators stand up VSOC capability and run the disclosure and response processes that WP.29 and ISO/SAE 21434 expect.
Frequently Asked Questions
What is the difference between ISO/SAE 21434 and UNECE WP.29 R155?
ISO/SAE 21434 is the engineering standard that defines how to build cybersecurity into a road vehicle across its lifecycle (governance, TARA, requirements, testing, incident response). UNECE WP.29 R155 is a regulation that requires a certified Cyber Security Management System as a condition of type approval in adopting regions. In practice, organisations use ISO/SAE 21434 as the process framework to satisfy the R155 CSMS requirement.
Can an attacker really control a car remotely?
Researchers have demonstrated remote compromise chains, typically starting at the telematics or infotainment unit and pivoting to the in-vehicle network. Whether safety-critical control is reachable depends heavily on the vehicle's domain isolation and gateway filtering. Well-architected vehicles segregate safety functions and authenticate sensitive messages, which is exactly what a penetration test verifies.
Why is the CAN bus considered insecure?
CAN was designed for reliability and real-time performance, not security. Frames carry no source authentication or encryption, so any node on the bus can transmit any message and receiving ECUs act on well-formed frames. Mitigation relies on isolating safety-critical ECUs, a gateway that enforces a message allowlist, and message authentication such as AUTOSAR SecOC on the most sensitive signals.
Do EV charge points need a security assessment?
Yes. Charge points run firmware, connect to back-end management systems over OCPP, and exchange data with the vehicle over ISO 15118. Weak OCPP back-haul, default credentials and unsigned firmware are common and can affect billing, availability and the operator's wider network. Both the vehicle charging controller and the charge-point and back-end estate should be in scope.
Does the DPDP Act or PDPA apply to connected vehicle data?
Yes, where the telematics platform processes personal data of residents (location history, driver identity, usage patterns), data protection laws such as India's DPDP Act, Singapore's PDPA, the UAE PDPL and the EU GDPR apply to that backend. Connected-vehicle programmes need both vehicle cybersecurity (ISO/SAE 21434, WP.29) and data protection compliance for the cloud platform.
What does an automotive penetration test cover?
A representative engagement covers in-vehicle networks and ECUs (CAN, diagnostics, secure boot, key storage), wireless and physical interfaces (telematics, Bluetooth, key fob, OBD-II), the backend cloud (telematics API, OTA server, fleet portal, mobile app), and the OTA and signing pipeline. Codesecure scopes the engagement to the vehicle programme and provides reports structured as ISO/SAE 21434 verification evidence.
Secure The Vehicle, The Cloud And The Charge Point
Codesecure delivers automotive cybersecurity: ECU and CAN bus assessment, telematics and OTA security, EV charging review, and ISO/SAE 21434 and WP.29 readiness for OEMs, tier-one suppliers and fleet operators. ISO/IEC 27001:2022 certified delivery, named consultants, fixed-price proposals.

