1. Introduction
For the header and the footer, just change the journal name and the abbreviation, then leave all other information for our production team at the ASPG editorial office to be updated after your paper acceptance. Lately, network security has come to be mainly crucial due to the fact that Distributed Denial of Service (DDoS) gravely threatens network threats network security [1]. Consuming the computing resources of a victim is the target of the attacker by sending a malicious message to the victim host, preventing the host to deliver services to users.
The Internet of Things (IoT) is a promising technology in the field of networking. It allows data transmission with the world wide web between IP-enabled networked devices [2]. The applications of IoT include self-driving cars, smartphones, cameras, printers, national finance data centers,
ZigBee, and Wireless Fidelity (Wifi) networks. The IoT is considered a huge network with 24 milliard terminals in 2019 and is expected to be 76 milliard terminals in 2026 [3]. The share of IoT in the global economy is $11 thousand milliard [4]
Unfortunately, the increase in applications of IoT allows numerous attacks and increases the threats. The pioneer companies in cyber security reported that one attack faces an IoT device every two minutes, and the total number of attacks reaches 121,588 in 2018 [5-6].
Different types of malware that attack IoT devices exist, such as Bashlite, Ashlite, and Mirai, which damage the IoT infrastructure, by reaching sensitive authentication authorizations. Mirai infected around two million IoT devices [7]. Mirai and Bashlit are considered botnet attacks; which are used to run bots on all devices connected to the internet [8-11]. The wide and rapid spread of botnet attacks between connected devices to the internet reflects the significant danger of these types of attacks. It is always required to build an effective and powerful algorithm to save IoT devices from botnet attacks.
Artificial intelligence (AI) is one solution to build an intrusion detection system (IDS) that has the ability to detect modern patterns of botnet attacks [12]. Deep learning, deep recurrent neural network, and machine learning are advances in AI that are used to prevent botnet attacks from IoT devices [13-15]. This paper proposes a new detection algorithm, which integrates the CNN algorithm into the SD-IoT controller. Developing a framework to detect and prevent botnet attacks attracts many researchers. The IDS is an effective mechanism that aims to protect the network from malicious attacks by detecting new attacks and batching them by matching them with signature attacks. There are two main algorithms for intrusion detection; anomaly-based detection and signature-based detection.
A deep learning algorithm for different applications, such as image recognition, localization, and security is introduced in [16]. An IDS for smart cities using neural networks and multilayer perceptron models with high accuracy is presented in [17]. A classification algorithm based on support vector machine (SVM), K-nearest neighbor (KNN), and native Bayes (NB) is presented in [18]. Machine learning is also used to extract features for improving the system depending on a method to renew krill herd position to obtain the optimal global solution proposed in [19]. Different advanced AI algorithms such as nature-inspired computation intelligence and other methods of machine learning are proposed in [20-26].
Botnet detection algorithms are divided into two main types network-based and host-based [27–31]. In [27-28] a comprehensive architecture for IDS and classifier is proposed, and more than a machine learning algorithm is used; ensemble learning algorithm, neural network algorithm, and kerenal algorithm. It achieves results better than any prior methods by 20 %. A port scanning attack detection mechanism is proposed and introduced in [29] it provides 99% accuracy in the detection of botnet attacks. The autoencoders are used to detect abnormality observation in wireless sensor networks (WSNs) which represent a part of IoT devices. The observation algorithm includes two locations; the first is in the IoT cloud while the second is in the sensor itself.
Autoencoders are mostly used for anomaly detection in wireless sensor networks (WSNs) that are embedded in IoT devices. The algorithm used for detection purposes involves two components— one is located in the IoT cloud, while the other is placed in the sensors. It was seen that the autoencoder learning features enabled adaptation to environmental changes in the IoT network.
The comparison between autoencoders and other deep learning models such as; recurrent neural network, self-taught learning, and vanilla deep neural net indicate that autoencoders provides efficient outcomes and met the constraints (storing capacity, computing power) of IoT system [32-35].
In [36] a novel algorithm is presented to detect attacks in IoT systems without the participation of humans. Another algorithm is based on multi-stages; reduction, support vector machine, and the feed forward neural network stage. The results indicate better results than other classification algorithms [37]. Another research [38] demonstrates the behaviors of network traffic by inspecting the packets using a deep learning method.
Another proposed system for the detection of a botnet for Linux is presented in [39]. The authors used 10033 files that include 4002 infected files. The results indicate the classifier achieves 94% accuracy. A different idea proposes a method using the office embedding method to recognize text and convert attacks into an integer format. This method detects four attacks and evaluated them for loss and accuracy. The results show a better enhancement in the model while the processing time is increased [40]. Another detection system for botnet attacks is presented [41] and achieves 99% accuracy.
2. DDoS attacks
The SDN paradigm has gained vital interest in recent days. The operator networks and data centers are changing from classic networks to SDN networks since it gives greater flexibility, reliability, and a secure network environment [42]. Therefore, SDN deployment in cloud computing and data center environments gives flexible and reliable network architecture [43].
On the other hand, SDNs are susceptible to several security challenges such as port scans, Trojans, Worms, denial of service attacks (DoS), etc. [44]. Several scientists have expressed interest in DoS attacks. Attempts to prevent innocent clients from accessing network resources were the goal of this attack. DDoS attacks began to take shape after that, with the attacker enlisting a slew of widely dispersed devices in order to launch a distributed attack. At the time of a DDoS attack, the attacker looks for vulnerabilities in the network and then sneakily inserts a malicious program called a Trojan Horse into the target computers.
An army of infected computers can be created by redistributing this malware program across a network of connected computers. These affected machines are usually called bots, and these bots' group is known as botnet [45]. All botnet is remotely placed under the supervision of a human operator known as a bot master [46]. A DDoS attack is initiated by sending commands to all of the computers that are affected, and these computers then send useless traffic to the victim. Because so many devices were infected, it's possible the victim was overwhelmed by the flood of useless traffic packets. As a result, legitimate users are unable to access the victim's resources, and the victim is therefore considered to be the victim of a DDoS attack [47].
In a DDoS attack, the incoming packet rate toward the network increases. Therefore, the network resources are bound by spoofed packets, which makes the resources unattainable. In case of this process proceeds, the server begins to drop the packets, and it will become inaccessible for the newer incoming legitimate packets. There are three types of DDoS attacks: volumetric, applicationlayer, and protocol-exploitation attack. The flooding attacks for both Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) are taken into account as volumetric attacks, where the Hypertext Transfer Protocol (HTTP) and domain name system (DNS) flood are referred to as application-layer attacks [48]. The plane to control the SD control unit has central network intelligence. Within a singular SDN controller architecture, there is a higher possibility of a Single point of failure (called SPF).
In cases where the attacker will get access to the controller, it causes massive damage to the network's infrastructure. Uppermost applications at the top of the control plane, such as firewall, routing, and load balancing applications, have been operated. If the attacker passes through the firewall application, the controller creates several Access control lists (ACL) [49]. Then, a TLS/SSL (Transport Layer Security/SSL (Secure Sockets Layer) is used to secure the connection between the controller and OF switch; if the TLS connection keeps on downstate, it requires a backup controller toward the switch. In this situation, the OF switch uses the flow table depending on his choices. A DDoS attack correctly generates onto the controller in cases where a malicious flow can be ruled within the flow table [50].
In addition, the flow format has several significant properties for SDN. The SDN controller utilizes a southbound protocol involving OpenFlow to act toward the flow entries. In SDN, the same flow could have several rules for it. Typically, the flow has several fields: priority, counter, time-out, action field, etc. Each one has its particular task. For example, the time-out field gives the flow expiry time, and the instruction field determines the necessary action for a flow entry, while the counter field keeps the information relating to bytes per flow [51].
Figure 1 describes an SDN-DDoS attack resulting from compromised nodes. In the normal detection process of DDoS attacks in SDN, machine learning (ML) algorithms are utilized. In that case, when the packet gets to the switch, where the switch can determine its flow table entry, and in case there is a rule allocated to it, in that case, it will take the saved action. In any other case, the message has been sent to the controller.
According to these techniques, when the trigger is received, the controller can get the received packet information and bring the predetermined features that will be delivered to the machine learning model (ML) to identify if the traffic is malware. Depending on the result prediction of the machine learning model, the controller can be informed with the critical information, including (protocol type, IP destination, source address, destination port number, and source port number) to perform a task. Even so, if the trained model may not indicate whether the received packet is malicious or benign, the traffic can be considered suspicious (unidentified).
The controller will recommend that the switches send unidentified traffic toward the deployed honeypot until a definite decision is performed. At the same time, the controller will forward unidentified traffic to the deep analysis module, which is undoubtedly the ML technique. Figure 2 illustrates the detection module workflow for typical attacks. The deep approach can help outline and describe critical segments of the unidentified traffic and compare it with the known classes through a trained model [51-53].
3. Systems to detect DDoS
This section reviews several articles on ML approaches used to recognize the DDoS attack in SDN. Some studies focused on utilizing ANN and SVM. Abhiroop et al. (2018) [54] proposed ANN, SVM, and Naive Bayes-based techniques. In their work, they used the same dataset for all models and separated it into 60% for training and 40% for testing. Their results show that the ANN and Naive Bayes models achieved an accuracy of 100%, while the SVM model achieved an accuracy of 99%. Ye et al. (2018) [55] presented a model to detect the DDoS attack in SDN. The model utilized the SVM method. The results demonstrated that the model obtained an average accuracy of about 95.24%. Santos and Moreno (2019) [56] researched the attack problem in SDN and utilized the solution by making use of several ML methods.
These ML methods are SVM, Random Forest, decision tree, and multilayer perceptron (MLP). SDN was able to classify DDoS attacks using these techniques. Scapy was used to run the entire proposed strategy through its paces. The implementation uses the real IP address catalog. The results of the tests show that the Random Forest algorithm is more accurate. In addition, the Decision Tree algorithm was faster.
Elsayed and Jurcut (2019) [57] systematically examined the present ML methods used to protect SDN against DDoS attacks. Their study analyzed the specific limitations observed in classic models. The testing of each method has been achieved based on several parameters. This study's four approaches for comparison were SVM, Random Forest, and Naïve Bayes. The test result showed that the Naïve Bayes algorithm of ML is a much better method to recognize the DDoS attack in SDN since this specific algorithm has much more accuracy than other present approaches. Wang (2020) [58] presented an ANN method to recognize known and unknown DDoS attacks. A dynamic multi-layer perceptron that works together with a feedback strategy will be able to detect attacks. For this purpose, they use several selected characteristics that cannot distinguish between DDoS attacks and standard traffic flows.
For applying machine learning and deep learning (DL) to detect DDoS in SDN, Karan et al. (2018) [59] presented a detection model that can recognize DDoS attacks in the SD environment. In this model, the two levels of security are already utilized. Initially, the proposed system detects the attack depending on its signature. Snort is utilized to determine the types of these attacks. Following that, the SVM and deep neural network (DNN) classifiers are employed to create a trained model. As a result of the comparison of these two classifiers, the DNN model overperforms SVM. The attained accuracies of DNN (Deep neural networks) and SVM classifiers are 92.3% and 74.3%, respectively. Liu et al. (2018) [60] designed a model that utilized reinforcement learning dependent on an intelligent flood mitigation agent for DDoS. Their results of various protocols show that the agent could efficiently alleviate the effects of DDoS flood attacks. The issue of intrusion detection has been overcome using deep-learning algorithms in SDN-based constructions [48-50].
Other deep learning algorithms [51] were also applied in SDN architectures to identify DDoS and attack detection. Li et al. (2018) [61] presented a system that allows detecting and defending against DDoS attacks by employing the deep learning method. The presented model was able to obtain the result by making use of the traffic history of the network along with some other activities from several network attacks. The results showed that the deep learning method is more adequate, precise, and efficient when compared with traditional ML methods. Jose et al. (2019) [62] investigated the mitigation methods used in the SDN for DDoS attacks. Both regular methodologies of AI are compared to identify which model is much more accurate in reducing the DDoS attack in the SDN. The considered approaches in this survey are ML and deep learning.
The DDoS attack detection is being performed using multiple properties or features of this particular attack. The results from these methods approve that deep learning gets higher accuracy than ML. Haider et al. (2020) [63] presented a new method by utilizing a deep convolutional network (DCNN). This model helps in detecting the DDoS attack with high efficiency. A specific benchmarked dataset is explored to test a model. A comparison is made between the adopted methods and those currently being used by other researchers and included in their published research work. The methods that were compared are SVM, hybrid Restricted Boltzmann machine and SVM, RBM+SVM, LSTM, and recurrent neural network (RNN). The results showed that their proposed model is more accurate than other models, which is about 99.45%. The goal of the optimization algorithm is to find the best path from origin to destination, making the most of the available SDN-
WAN resources. To accomplish this, it considers the desired flow and the existing network conditions [64-69].
From table 1, most ML and deep learning algorithms got the highest accuracy than traditional methods that can recognize both known and unknown DDoS attacks; however, till now, the high accuracy achieved in trained, but the accuracy in tests is still lower, and there is a need to investigate new methods that can improve accuracy for unknown DDoS attacks and find a solution to it accurately.
4. Conclusion
This systematic research compares the various machine learning algorithms recently used to detect DDoS attacks in the SDN environment. The accuracy of each approach was considered when making the comparison. From the amylases of the related works, most ML algorithms achieve good results and high accuracy in detecting DDoS attacks. However, most study takes consecration to test a single dataset, while most study they avoid testing the model with other types of DDoS datasets, were mentioned in some studies that the change in the dataset could affect the accuracy of the model, whereas new studies should take in consideration this point of view. According to the findings of the current review study, the deep convolutional neural network is an accurate, appropriate, and efficient way of detecting DDoS attacks or threats in a software-defined network environment. By analyzing previous works, we can give our point of view that newer studies need to be focused on developing a distributed DDoS detection based on deep learning techniques that consider combining two deep learning models or shallow and deep models. In addition, the researchers should take into their consideration one of the best deep learning methods that achieve higher detection results, which is a convolution neural network that can make a hybrid with other machine learning algorithms such as ANN in order to improve the accuracy of classification detection and shorten the processing time of classification detection.
Funding: ―This research received no external funding‖
Conflicts of Interest: ―The authors declare no conflict of interest.‖