Int J Performability Eng ›› 2020, Vol. 16 ›› Issue (9): 1362-1373.

### DDoS Attack Real-Time Defense Mechanism using Deep Q-Learning Network

Wei Feng and Yuqin Wu*

1. College of Information and Mechanical and Electrical Engineering, Ningde Normal University, Ningde, 352100, China
• Submitted on  ;  Revised on  ; Accepted on
• Contact: * E-mail address: wuyuqinlw@163.com

Abstract: The system distributed denial of service (DDoS) contains high covert attack characteristics and requires real-time defense. In order to solve such two problems for system DDoS, this paper proposes a novel DDoS attack real-time defense mechanism based on deep Q-learning network (DQN). This mechanism regards the terminal adaptive control system as the protection object, periodically extracts the network attack characteristic parameters, and takes such parameters as the input parameters of the deep Q-learning network. Our defense measures are based on dynamic service resource allocation, which dynamically adjusts the service resource according to the current operating state of the system. The current operating state will ensure the response rate of normal service requests. Finally, the attack and defense processes are modeled and simulated using colored Petri network (CPN) combined with DQN. Experimental results show that the proposed mechanism has real-time and high sensitivity defense for the response to DDoS attacks. The proposed mechanism significantly improves the automation degree of system defense. By using such a mechanism in the real-time defense of DDoS attacks, the system will be safer than the state-of-the-art mechanisms.