The invention discloses a DNS
attack detection and defense
system based on an
adversarial network, and belongs to the field of DNS. The
system is composed of a
data acquisition and
feature engineering module, a confrontation sample generation module, a multi-
modal detection engine module and a dynamic defense and feedback
system. Firstly, a
data acquisition and
feature engineering module captures and analyzes DNS traffic in real time, extracts multi-dimensional behavior features, generates structured
feature data, divides the structured
feature data into normal samples and
attack samples, inputs the normal samples and the
attack samples into an adversarial sample generation module, and constructs an adversarial attack sample with strong
camouflage by introducing a Wasserstein distance optimized
generative adversarial network; and then, inputting the normal sample and the adversarial attack sample into a multi-
modal detection engine module in a mixed manner, performing fusion analysis, and outputting an attack probability and a
classification result. Finally, a
classification result is transmitted to a dynamic defense and feedback system, various response strategies are automatically executed, meanwhile, the
classification result is fed back to a storage updating system, and a closed-loop self-adaptive defense mechanism is formed. According to the invention, the accuracy and efficiency of DNS attack detection are improved.