DDoS attacks are a major Internet security concern with this large number of customers. Each attack sends a service request to a certain server, which limits the server’s capacity to provide normal services. Since the attackers use legitimate packages and alter their package information, traditional methods are not very effective. The assault on DDoS is one of the most potent Internet hacking techniques. The hacker’s basic weapon to take down and crash websites during these sorts of assaults is network trafficking. There are different sub-categories, each category explains how a hacker attempts to enter the network. In this paper, we define the DDoS attacks detection method based on artificial intelligence and explored with more than 96-percent accuracy a technique to detect a DDoS attacks assault danger using artificial intelligence (A.I). In addition to a secure or healthy network, authors have identified 7 separate sub-categories of DDoS attacks.