The invention discloses a
network attack path automatic generation and defense strategy optimization method,
system and device and a medium, and relates to the technical field of
network security, and the method comprises the steps: constructing a
topology mapping model, obtaining a
network architecture, an asset
list and a dependency relationship, constructing a visual topology chart, building a
vulnerability association analysis model, and combining a
vulnerability scanning result. The method comprises the steps of obtaining a
vulnerability knowledge graph, optimizing a path calculation process based on the vulnerability
knowledge graph, establishing a path derivation model, generating an
attack chain by applying a path derivation
algorithm, optimizing defense logic, formulating an optimization step model, and establishing a real-time
simulation feedback model based on the generated
attack chain. And performing
simulation implementation on the defense strategy through a multi-level
simulation training scheme, and dynamically optimizing the defense strategy according to feedback data. According to the method, the crossing from passive protection to active prediction and from single-point defense to
global optimization is realized, and the accuracy and
adaptive capacity of
network defense are remarkably improved.