混合KNN及時間序列於軟體定義網路中對DDoS之攻擊進行偵測和預測
Hybrid K-nearest neighbor and Time Series to Detect and Predict DDoS Attack in SDN
摘要
傳統網路上由於DDoS經常造成系統重大的資源消耗,進而造成系統沒有辦法提供正常的服務,在SDN架構上也同樣會有DDOS的攻擊狀況,當DDOS的發生在SDN的架構下,容易造成系統更快的停止提供服務,原因在於SDN的架構下,最主要的核心就是controller,當攻擊者只要把目標放在controller,一旦controller的資源都消耗在DDOS的攻擊上,整個網路架構就無法提供正常的服務了。
為了防止被惡意攻擊者攻擊,這篇論文實作了預測和保護模組來減少資源的消耗,主要方法分成兩個部分,第一個為利用時間序列根據過去的封包傳輸數量來預測未來每個主機會收到多少的封包,第二個為利用KNN來把拆解封包做分群,將封包根據所設定的參數來分為正常或是異常,最後我們合併這兩個參數,來計算未來主機可能會被攻擊的機率。
利用我們的方法,可以偵測和預測未來的攻擊後且做適當的防禦,將發送惡意封包的主機加入封鎖名單,來減少資源的消耗。
為了防止被惡意攻擊者攻擊,這篇論文實作了預測和保護模組來減少資源的消耗,主要方法分成兩個部分,第一個為利用時間序列根據過去的封包傳輸數量來預測未來每個主機會收到多少的封包,第二個為利用KNN來把拆解封包做分群,將封包根據所設定的參數來分為正常或是異常,最後我們合併這兩個參數,來計算未來主機可能會被攻擊的機率。
利用我們的方法,可以偵測和預測未來的攻擊後且做適當的防禦,將發送惡意封包的主機加入封鎖名單,來減少資源的消耗。
Due to DDoS attacks, it easily makes system consume large resources to response malicious host and system cannot provide normal service. Besides, this condition also happens in the Software Defined Network architecture. When malicious host launch DDoS to the SDN, it makes more serious consequences than legacy network. The core of DDoS is the central controller and it manages the whole network. When it is attacked, the overall system will be crushed. Therefore, controller is the weakness in the SDN.
In order to prevent DDoS attacks from malicious host, this paper implements the prediction module and protection module to reduce the resource waste. The main method has two part. First, use time series to prediction how many packets will be receive according to the history data. Second, use KNN to cluster which packets is normal or abnormal. Last, we combine these parameters and calculate the probability of host be attacked in the future.
By our method, we can detect and predict the future attack and do more prevention behavior to add these malicious hosts in the blacklist to reduce resource consume.
In order to prevent DDoS attacks from malicious host, this paper implements the prediction module and protection module to reduce the resource waste. The main method has two part. First, use time series to prediction how many packets will be receive according to the history data. Second, use KNN to cluster which packets is normal or abnormal. Last, we combine these parameters and calculate the probability of host be attacked in the future.
By our method, we can detect and predict the future attack and do more prevention behavior to add these malicious hosts in the blacklist to reduce resource consume.