Electric vehicles (EVs) rely on a growing network of internal components to coordinate vehicle operation, charging, safety functions, diagnostics, and communications.

Onboard chargers are integrated within the vehicle’s high-voltage and control architecture, interfacing with both power and communication systems.
As these systems become more interconnected, the onboard charger is shifting from a pure power-electronics hardware component to a cybersecurity-relevant device. This creates demand for manufacturers to embed security features as standard design elements rather than optional add-ons.
Strong authentication, integrity protection, encryption, secure firmware processes, and hardened communications are key pillars to prevent unauthorized access or unsafe manipulation. Regulatory mandates, such as the EU Cyber Resilience Act, additionally reinforce this shift.
As a result, cybersecurity is no longer a competitive advantage; it’s a fundamental requirement for market entry and maintaining long-term product safety and performance.
Why onboard chargers are a cyber threat
An onboard charger (OBC) converts ac power from the grid into dc power to charge the vehicle’s high-voltage battery. It manages critical functions, including charging current, voltage regulation, thermal protection, and communication with the battery management system (BMS) and other electronic control units (ECUs).
The OBC is tightly integrated into the vehicle’s internal control system via the Controller Area Network (CAN) bus, which it uses to exchange operational data and charging commands with the BMS, vehicle control unit, and other ECUs.
The OBC sits at a unique intersection of power electronics, safety-critical functions, and communication channels because it interfaces simultaneously with external charging infrastructure and the vehicle’s internal control network. Since the CAN bus was never designed with modern cybersecurity threats in mind, this dependency exposes the OBC to a range of communication-based attacks whenever a malicious device gains access to the vehicle network.
CAN bus cybersecurity attacks
CAN bus is the primary internal communication method for automotive and industrial vehicles. It is a robust, differential, multi-drop network designed for reliable data exchange in harsh environments.

Charging interfaces introduce a connection point between external infrastructure and in-vehicle communication networks.
However, its lack of built-in security features makes it vulnerable to similar cyber-attack strategies seen over USB, Ethernet, Wi-Fi, and Bluetooth.
Some of the main attack methods are:
- Man-in-the-middle: Messages are intercepted and potentially altered between devices. This enables eavesdropping, data manipulation, and possibly credential theft. The attacker can send false information to several network devices and potentially control the vehicle.
- Device spoofing or impersonation: An attacker impersonates a legitimate device by forging its identifiers. If successful, it can inject false data to take control of vehicle functions.
- Replay: Valid communication messages are captured and later resent, tricking devices into repeating an action, such as replaying a stop or disable command to cease a vehicle’s operation.
- Eavesdropping or sniffing: Attackers passively listen to unencrypted communication to intercept operational details, personal data, or financial information.
- Denial-of-service: The CAN bus is barraged with a large number of messages to overwhelm the system, disrupting device operation and vehicle safety functions.
Collectively, these attacks threaten CAN-based communication, impacting vehicle operation and security.
Delivering a secure OBC requires a secure-by-design mindset from the start of development, influencing hardware design, microcontroller selection, communication architecture, firmware development, user documentation, and long-term support.
Three core security principles guide these design decisions: authentication, confidentiality and integrity.
Authentication: Preventing unauthorized access
Authentication verifies that all commands, configuration data, and firmware updates influencing the charger’s behavior originate from a trusted source. It covers both device and firmware authentication.
Device authentication ensures the OBC processes messages only from legitimate ECUs on the CAN bus, preventing malicious devices from injecting harmful commands. It is a direct countermeasure against spoofing as well as man-in-the-middle attacks.
At the firmware level, authentication uses secure boot, signed firmware updates, and a hardware root of trust to prevent the installation of malicious code.
Confidentiality: Avoiding data exposure
Confidentiality protects sensitive data from exposure. By encrypting communication, even if an attacker gains access to the CAN bus, the captured data becomes unreadable. Only devices with the correct security keys can interpret the information, neutralizing eavesdropping and sniffing attacks that attempt to gather operational details, personal information, or system-level data.
Integrity: Stopping manipulation attempts
Integrity protection ensures the data stays accurate and unaltered. Modifying even a single value within a message can cause unsafe behavior. Cryptographic integrity checks allow the OBC to verify that the data has not been tampered with or corrupted in transit. If any modification is detected, the message is rejected before it can influence system behavior.
These protections are critical for resisting modern cyberattacks and guaranteeing the safe, reliable, and resilient operation of OBCs within the vehicle’s broader CAN-based ecosystem.

Vehicle charging systems rely on internal communication networks such as CAN, which were not originally designed with built-in security.
Shifting regulatory landscape
Historically, several cybersecurity standards emerged that fully or partially applied to industrial and automotive electric vehicle components.
These standards were inconsistent, leading to uncertainty around applicability and limited industry adoption. To address this, the European Union published the Cyber Resilience Act (EU CRA) in 2024.
The CRA introduces new harmonized cybersecurity requirements for all products with digital elements. It creates a unified regulatory baseline that replaces the fragmented standards landscape and mandates security‑by‑design. All digital products with communication capabilities sold in the EU must comply by December 2027. Manufacturers will be prohibited from placing products on the market if they contain known vulnerabilities and must provide security updates throughout the product’s lifecycle. Compliance will be designated with a “CE” marking and an EU Declaration of Conformity.
While North America lacks a similar mandate, the 2023 EU-US Summit signaled a move toward alignment. The US Cyber Trust Mark initiative, for example, is an FCC-led labeling program for consumer IoT devices. Unlike the CRA, it is voluntary and focuses on wireless consumer electronics rather than the broader industrial and automotive digital elements.
Future-proofing charging platforms
As EV platforms integrate more software and connected components, manufacturers must advance their cybersecurity practices to defend against upcoming threats. Onboard chargers are essential components, demanding operational efficiency, strong safety and now cybersecurity protection.
While the EU CRA will mandate compliance, adopting these practices now will streamline the transition, protect brand reputation, preserve long term customer relationships, and ensure safe, reliable charging and vehicle operation.
Filed Under: Charging, FAQs, Onboard Charging