This invention discloses an
automated method for constructing vehicle-mounted
attack trees based on knowledge graphs and large-
scale model agents, relating to the field of vehicle-mounted
information security technology. The invention includes the following steps: S1, constructing an ontology model of a vehicle-mounted
attack domain knowledge graph, defining two types of entities:
threat nodes and
threat scenario nodes, causal relationship types, and entity attribute constraints; S2, collecting vehicle-mounted security
threat data and constructing a vehicle-mounted
attack knowledge graph with a
directed acyclic graph structure; S3, acquiring electronic and electrical architecture asset data of the target vehicle
system and extracting asset security attributes through an asset identification agent; S4, constructing an attack topology graph from
system modeling data, enumerating all reachable attack paths from externally exposed nodes to the target asset. This invention, through the
collaboration of large-
scale model agents and vehicle-mounted attack knowledge graphs, achieves
fully automated construction of vehicle-mounted attack trees, ensuring attack path integrity with quantifiable
path coverage metrics, and improving construction efficiency and attack path integrity.