基於增強學習及自動編碼器之分散式阻斷服務攻擊動態封包過濾機制

Adaptive filtering method for DDoS attack based on Reinforcement Learning and Autoencoder

檔案

日期

2019

類型

語言

英文

摘要

分散式阻斷服務攻擊(Distributed Denial of Service, DDoS) 是一種常見的網路攻擊手法,目標在癱瘓伺服器並阻礙正常使用者存取服務。一種常見的防禦方式為監控到超出服務器負荷的流量時,過濾部分封包以維持服務器正常運作。然而,目前其他研究提出的過濾方式在面對特定攻擊時,同時也會過濾掉大部分正常使用者的封包。如此一來,該過濾機制反而間接地達到攻擊者的目的。
因此,本研究基於異常偵測的概念提出一個封包過濾機制,並使用動態調整的方式讓過濾機制適應不同種類的攻擊。本系統會在攻擊未發生的期間,由正常封包的表頭取出6個欄位,並使用這6個欄位的組合建立正常特徵表(Nominal Profile)。在攻擊發生時,封包會經由評分機制基於正常特徵表評分,並過濾掉評分低於門檻的封包。評分機制的參數對於過濾不同攻擊的結果有決定性的影響,因此我們基於增強學習設計了調整參數的系統,在攻擊期間找出最適合應對目前攻擊的參數。此外,我們使用自動編碼器產生即時用於訓練增強學習的獎勵。
實驗的部分,我們使用2個資料集混合模擬 DDoS 攻擊的封包進行實驗。實驗結果顯示我們的過濾機制在面對常見 DDoS 攻擊時同樣也能夠達到將近 100% 的正常封包通過率,並在面對更困難的攻擊時達到75%~95% 的正常封包通過率,優於其他種過濾方式。此外,我們的過濾機制在攻擊者改變行為時,能即時發現目前較低的過濾品質,並在短時間的調整後找到新的最適應的參數。
Distributed denials of service (DDoS) attacks are one of the most serious threats throughout several decades on the Internet. DDoS attack aims to obstruct the availability of a system. A common defense strategy is attack filtering, which is to discard packets and keep the victim server functional. However, the filtering methods currently proposed discard most of the legitimate packets against some DDoS attacks. It, on the contrary, helps the attacker to achieve his goal.
Therefore, we propose an anomaly-based attack filtering mechanism, which is able to adapt to different attack by the dynamic adjustment. We construct the nominal profile based on packet headers in the non-attack period. During the attack, we apply the nominal profile to score the arriving packets, and discard packets according to the scores. Furthermore, We design a dynamic adjustment system based on reinforcement learning to counter the smart attackers. The reward function is designed based on the reconstruction error from a pre-trained autoencoder.
In the experiments, we use 2 datasets mixed with various simulated DDoS attack packets to evaluate the performance. Experimental results show that our method outperforms other anomaly-based filtering methods. Our method can achieve almost 100% passing rate of legitimate pakcets against common DDoS attacks, and achieve 75%~95% passing rate of legitimate pakcets against tougher attacks. In addition, against dynamic attack patterns, our adaptive filtering method is able to react to current bad performance and swiftly adapt to the best configuration.
顯示完整詮釋資料 統計資料

引用此條目

Ping, C.-C. (2019). Adaptive filtering method for DDoS attack based on Reinforcement Learning and Autoencoder. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/73049

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/73049