The invention belongs to the related technical field of
network security attack and defense
simulation, and particularly relates to an
artificial intelligence-based
network security actual combat
target range generation method, which comprises the following steps of: generating a
target range formalized language script meeting a user scene requirement by adopting a first agent; a
compiler is adopted to analyze the current script, and a
target range constraint file is generated; iteratively correcting a code structure through a self-correction feedback mechanism in an analysis process; a constraint
solver is adopted to judge whether the target range
network topology represented by the target
range constraint file meets the known
network topology specification requirement or not, a corresponding target range model file is generated for the target
range constraint file meeting the requirement, and if not,
intelligent agent correction is triggered; extracting information of each node related to the target range to be generated from the target range model file, and generating a coarse-grained script and a fine-grained script; and generating a
network security actual combat target range by adopting coarse-grained and fine-grained scripts in sequence. According to the invention, automatic construction of the target range in the
network attack and defense practical training platform can be realized.