Skip to content
Conference

A Methodology for Automatic Test Case Generation in Intelligent Connected Vehicle Cybersecurity Testing Based on Large Language Models

Jun 2026 · 2026 IEEE 2nd International Conference on Electronics, Energy Systems and Power Engineering (EESPE) · pp. 232-238 · 0 citations · 15 references

Abstract

With the increasing complexity of the "cloud–pipe–end" architecture in intelligent connected vehicles (ICVs), the coexistence of multiple communication protocols such as automotive Ethernet, CAN bus, and V2X communication, coupled with the successive release of regulations and standards including UN R155, ISO/SAE 21434, and GB44495, the traditional manual approach to writing cybersecurity test cases faces severe challenges in terms of efficiency, coverage, and compliance. Large language models (LLMs), with their powerful semantic understanding and content generation capabilities, offer a new technical pathway for the automated generation of test cases. However, general-purpose LLMs lack domain-specific knowledge of automotive cybersecurity, and their direct application encounters challenges such as knowledge deficiency, insufficient scenario adaptation, and untrustworthy generated content. This paper proposes a methodological framework for automatic test case generation in ICV cybersecurity testing, named AutoCarSec. Centered on domain knowledge injection, the framework adopts a three-layer progressive architecture consisting of a knowledge enhancement layer, a scenario modeling and generation layer, and a multi-agent collaborative execution layer, systematically addressing the three core issues of knowledge acquisition, scenario modeling, and quality assurance for LLMs in the automotive cybersecurity testing domain. This paper elaborates on the detailed design of four key stages: structured construction of automotive cybersecurity domain knowledge, automatic test scenario modeling based on attack trees and TARA, LLM-driven hierarchical test case generation, and multi-agent collaborative verification with iterative optimization. It provides a logically sound and highly operable methodological reference for the intelligent transformation of cybersecurity testing for intelligent connected vehicles.

View source

Similar papers

#software testing Preprint Aug 2026

A Fully Automated, Deployment-Aware Testing Pipeline for IoT-Based Automotive Applications

This work presents an end-to-end, deployment-aware testing pipeline for IoT-based automotive applications that combines requirement-driven test and code generation with large language model (LLM) and vision-language model (VLM) assistance, and human-in-the-loop curation to reduce manual effort and improve consistency.

Denesa Zyberaj, Roman Vintonyak, Pascal Hirmer et al. · 0 citations
Conference Jul 2026

Simulation Validation of a Next-Generation Security Architecture for the Adaptive AutoSAR Platform Integrating an AI-Based Intrusion Detection System(AI-IDPS) and Hybrid Access Control(FA-RBAC)

The rapid evolution of Software-Defined Vehicles (SDVs) and autonomous driving technologies has significantly increased in-vehicle communication complexity and cybersecurity vulnerabilities. While traditional static Role-Based Access Control (RBAC) is incapable of reflecting dynamic driving contexts, independent Attrib...

Young Jin Kim, Kyungmo Sung, Y. Park · 0 citations
Conference Open access 2026

Towards AI-Guided Security Hardening of Industrial Systems Based on IEC 62443

This paper investigates a secure-by-design engineering process focusing on the initial architectural design and examines the role that AI-powered agents can play in supporting it, as well as the conditions required for their effective and reliable use.

C. Ponsard, Jean-François Daune · 0 citations
Open access Aug 2026

Designing an AI-Assisted Cyber Threat Intelligence Framework for Industry 4.0: A Human-in-the-Loop Design Science Approach

This paper presents an AI-assisted CTI framework tailored to ICS and Industry 4.0 environments, integrating multi-source data ingestion, a Retrieval-Augmented Generation knowledge store, a modular chain-of-agents architecture, and an explicit human-in-the-loop verification gate.

Majed Albarrak, Sandeep Jagtap · 0 citations
Open access Jul 2026

Copilot and CAN-Bus Connected ECUs Integrated Scenarios for Automotive Diagnosis, Enhanced by Scan Tools, Conversational Agents and AI Technologies

This paper aims at building an algorithm of combining ISO 15765-4 and SAE J1979 compliant professional scan tools technologies with Microsoft Copilot for evolving the automotive diagnosis process, and consists of a set of procedures and steps that should be followed, for building an intelligent agent.

Cosmin Tomozei, I. Furdu, Bogdan Pătruț · 0 citations
Conference Jul 2026

IoT-Specific Cybersecurity Awareness Training (CSAT) Framework

The widespread adoption of Internet of Things (IoT) and Operational Technology (OT) sys- tems in industrial environments has significantly in- creased cybersecurity exposure. Human error re- mains a leading cause of successful cyberattacks; how- ever, conventional Cybersecurity Awareness Training (CSAT) programs are ty...

Ahmed Mohamed Ahmed, Mohamed Mejri · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.