journal article·2025Open access

Comprehensive Black-Box Fuzzing of Electric Vehicle Charging Firmware via a Vehicle to Grid Network Protocol Based on State Machine Path

Yu-Bin Kim, Dong-Hyuk Shin, Ieck-Chae Euom

Computers, Materials & Continua· Volume 84· Issue 2

Abstract

The global surge in electric vehicle (EV) adoption is proportionally expanding the EV charging station (EVCS) infrastructure, thereby increasing the attack surface and potential impact of security breaches within this critical ecosystem. While ISO 15118 standardizes EV-EVCS communication, its underspecified security guidelines and the variability in manufacturers’ implementations frequently result in vulnerabilities that can disrupt charging services, compromise user data, or affect power grid stability. This research introduces a systematic black-box fuzzing methodology, accompanied by an open-source tool, to proactively identify and mitigate such security flaws in EVCS firmware operating under ISO 15118. The proposed approach systematically evaluates EVCS behavior by leveraging the state machine defined in the ISO 15118 standard for test case generation and execution, enabling platform-agnostic testing at the application layer. Message sequences, corresponding to valid and mutated traversals of the protocol’s state machine, are generated to uncover logical errors and improper input handling. The methodology comprises state-aware initial sequence generation, simulated V2G session establishment, targeted message mutation correlated with defined protocol states, and rigorous response analysis to detect anomalies and system crashes. Experimental validation on an open-source EVCS implementation identified five vulnerabilities. These included session integrity weaknesses allowing unauthorized interruptions, billing manipulation through invalid metering data acceptance, and resource exhaustion vulnerabilities from specific parameter malformations leading to denial-of-service. The findings confirm the proposed method’s capability in pinpointing vulnerabilities often overlooked by standard conformance tests, thus offering a robust and practical solution for enhancing the security and resilience of the rapidly growing EV charging infrastructure.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Electric Vehicles and Infrastructure

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (55)

Show source-provided references
1. National Geographic. Electric cars may rule the world’s roads by 2040 [Internet]. [cited 2024 Dec 21]. Available from: https://www.nationalgeographic.com/news/2017/09/electriccars-replace-gasoline-engines-2040.
2. Statista. Global public electric vehicle charging station market size between 2016 and 2022, with a forecast through 2028 [Internet]. [cited 2024 Dec 21]. Available from: https://www.statista.com/statistics/1359545/global-ev-charging-market-volume-forecast.
3. MarketsandMarkets. [cited 2024 Dec 21]. Available from: https://www.marketsandmarkets.com.
4. Road vehicles—vehicle to grid communication interface—part 1: general information and use-case definition · 2013
5. Open charge point Protocol 1.6 (OCPP 1.6) · 2015
6. Attack analysis and detection for the combined electric vehicle charging and power grid domains
7. Sarieddine K. Bolstering EV charging ecosystem infrastructure resilience and unraveling threats—a comprehen-sive study [dissertation]. Montreal, QC, Canada: Concordia University; 2024.
8. Data-driven vulnerability analysis of shared electric vehicle systems to cyberattacks10.1016/j.trd.2024.104379 ↗
9. Electric vehicle charging network security: a survey10.1016/j.sysarc.2025.103337 ↗
10. EVScout2.0: electric vehicle profiling through charging profile10.1145/3565268 ↗
11. TestShark: a passive conformance testing system for ISO 15118 using wireshark10.3390/en17235833 ↗
12. Sagdullaev M. Fleet charging infrastructure resilience to cybersecurity threats [master’s thesis]. Cincinnati, OH, USA: University of Cincinnati; 2024.
13. MaDEVIoT: cyberattacks on EV charging can disrupt power grid operation
14. Securing the electric vehicle charging infrastructure: an in-depth analysis of vulnerabilities and countermeasures
15. Szakály M, Köhler S, Martinovic I. Current affairs: a measurement study of deployment and security trends in EV charging infrastructure. arXiv:2404.06635. 2024. doi:10.48550/arXiv.2404.06635.
16. A detailed security assessment of the EV charging ecosystem10.1109/MNET.001.1900348 ↗
17. Communication protocols for electric vehicles: a comprehensive analysis
18. Idaho National Laboratory. EV SALaD 2023 demonstration best practices and mitigations for protecting EVSE infrastructure [Internet]; 2024. [cited 2024 Dec 21]. Available from: https://inldigitallibrary.inl.gov/sites/STI/STI/Sort_130145.pdf;.
19. Johnson · Cybersecurity for electric vehicle charging infrastructure · 202210.2172/1877784 ↗
20. Cybersecurity risk analysis of electric vehicles charging stations10.3390/s23156716 ↗
21. Evaluation framework for electric vehicle security risk assessment10.1109/TITS.2023.3307660 ↗
22. Terrance · SoutheastCon 2023 · 2023 Apr 1–16 · 55910.1109/SoutheastCon51012.2023.10115127 ↗
23. Elmo · 2023 Resilience Week (RWS) · 2023 Nov 27–30 · 31
24. Addressing security in OCPP: protection against man-in-the-middle attacks
25. OCPP protocol: security threats and challenges10.1109/TSG.2017.2669647 ↗
26. Cybersecurity for electric vehicle fast-charging infrastructure
27. Uncovering covert attacks on EV charging infrastructure: how OCPP backend vulnerabilities could compromise your system
28. Evil SteVe: an approach to simplify penetration testing of OCPP charge points
29. Analysis of EVCS switching attack impact on power grid operation
30. Edge-based detection and localization of adversarial oscillatory load attacks orchestrated by compromised EV charging stations10.1016/j.ijepes.2023.109735 ↗
31. V2G injector: whispering to cars and charging units through the power-line
32. Evexchange: a relay attack on electric vehicle charging system
33. TLS-handshake for plug and charge in vehicular communications10.1016/j.comnet.2024.110281 ↗
34. Research on countermeasures against man-in-the-middle attacks through analysis and demonstration of V2G communication protocol security threats
35. A threat analysis of the vehicle-to-grid charging protocol ISO 1511810.1007/s00450-017-0342-y ↗
36. Köhler S, Baker R, Strohmeier M, Martinovic I. Brokenwire: wireless disruption of CCS electric vehicle charging. 2022. doi:10.48550/arXiv.2202.02104.10.14722/ndss.2023.23251 ↗
37. Study on analysis of security vulnerabilities and countermeasures in ISO/IEC 15118 based electric vehicle charging technology
38. Review of electric vehicle charger cybersecurity vulnerabilities, potential impacts, and defenses10.3390/en15113931 ↗
39. Electric vehicle conductive charging system—part 1: general requirements · 2017
40. Road vehicles—vehicle to grid communication interface—part 2: network and application protocol requirements · 2014
41. Road vehicles—vehicle to grid communication interface—part 3: physical and data link layer requirements · 2015
42. HomePlug Powerline Alliance. HomePlug Green PHY 1.1: the standard for in-house smart grid powerline communications: an application and technology overview [Internet]. [cited 2024 Dec 21]. Available from: https://www.homeplug.org/media/filer_public/98/4e/984e8b2e-5b8e-4f5a-8e5e-2b4e5e5e5e5e/homeplug_gp_1_1_whitepaper.pdf.
43. Road vehicles—vehicle to grid communication interface—part 4: network and application protocol conformance test requirements · 2018
44. Road vehicles—vehicle to grid communication interface—part 5: physical layer and data link layer conformance test requirements · 2018
45. Ensuring compliance and reliability in EV charging station management systems: a novel testing tool for OCPP 1.6 messages conformance10.18280/jesa.560116 ↗
46. OCPPStorm: a comprehensive fuzzing tool for OCPP implementations
47. Building an interoperability test system for electric vehicle chargers based on ISO/IEC 15118 and IEC 61850 standards10.3390/app6060165 ↗
48. An ISO/IEC 15118 conformance testing system architecture
49. Schoneberger T. FUZZ testing the ISO 15118 protocol stack [Internet]. [cited 2024 Dec 21]. Available from: https://cdn.vector.com/cms/content/events/2021/vSES21/vSES21_Slides07_Schoeneberger_Vector.pdf.
50. Poster: IoTcube: an automated analysis platform for finding security vulnerabilities
51. L2Fuzz: discovering bluetooth L2CAP vulnerabilities using stateful fuzz testing
52. Zalewski M. American fuzzy lop [Internet]. [cited 2024 Dec 21]. Available from: http://lcamtuf.coredump.cx/afl/.
53. Ahn · Computer security—ESORICS 2024 · 2024 · 11010.1007/978-3-031-70896-1_6 ↗
54. GitHub. EVC-Fuzzer Project [Internet]. [cited 2024 Dec 21]. Available from: https://github.com/kingyoubin/EVC-Fuzzer-project.
55. GitHub. IdahoLabResearch/AcCCS [Internet]. [cited 2024 Dec 21]. Available from: https://github.com/IdahoLabResearch/AcCCS.