The embodiment of the invention provides a network spoofing defense method and
system based on AI virtual topology generation, and the method comprises the steps: continuously collecting multi-source heterogeneous data in a network, and constructing and dynamically updating a real
network topology portrait based on the multi-source heterogeneous data; on the basis of a
generative adversarial network model, adversarial training is carried out by taking the real
network topology portrait as a training sample, the structure and characteristics of a real network are learned, and a dynamically changing
simulation virtual network topology is generated; seamless fusion and dynamic deployment are carried out on the
simulation virtual network topology and the real network, and a
trapping environment is constructed; monitoring and recording an
attack behavior of an attacker in the
trapping environment, and performing deep interaction analysis on the
attack behavior and generating
threat intelligence; and based on the
threat intelligence, dynamically optimizing a deception strategy and executing a closed-
loop control response. According to the embodiment of the invention, the virtual topology which is highly similar to a real network but is completely imaginary can be dynamically generated by utilizing
artificial intelligence.