基於增強學習及自動編碼器之分散式阻斷服務攻擊動態封包過濾機制
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.contributor.advisor |
曾文貴 | |
dc.contributor.advisor |
Tzeng, Wen-Guey | |
dc.contributor.author |
平震傑 | |
dc.contributor.author |
Ping, Chen-Chieh | |
dc.contributor.college |
資訊學院 | |
dc.contributor.committee |
陳昌盛 | |
dc.contributor.committee |
曾文貴 | |
dc.contributor.committee |
蔡錫鈞 | |
dc.contributor.committee |
謝續平 | |
dc.contributor.committee |
Chen, Chang-Sheng | |
dc.contributor.committee |
Tzeng, Wen-Guey | |
dc.contributor.committee |
Tsai, Shi-Chun | |
dc.contributor.committee |
Shieh, Shiuh-Pyng | |
dc.contributor.department |
資訊科學與工程研究所 | |
dc.contributor.studentid |
0656047 | |
dc.date.NCLavailable |
2019/08/28 | |
dc.date.USTavailable |
2019/08/28 | |
dc.date.issued |
2019 | |
dc.date.issuedROC |
108 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
108 | |
dc.description.abstract |
分散式阻斷服務攻擊(Distributed Denial of Service, DDoS) 是一種常見的網路攻擊手法,目標在癱瘓伺服器並阻礙正常使用者存取服務。一種常見的防禦方式為監控到超出服務器負荷的流量時,過濾部分封包以維持服務器正常運作。然而,目前其他研究提出的過濾方式在面對特定攻擊時,同時也會過濾掉大部分正常使用者的封包。如此一來,該過濾機制反而間接地達到攻擊者的目的。 因此,本研究基於異常偵測的概念提出一個封包過濾機制,並使用動態調整的方式讓過濾機制適應不同種類的攻擊。本系統會在攻擊未發生的期間,由正常封包的表頭取出6個欄位,並使用這6個欄位的組合建立正常特徵表(Nominal Profile)。在攻擊發生時,封包會經由評分機制基於正常特徵表評分,並過濾掉評分低於門檻的封包。評分機制的參數對於過濾不同攻擊的結果有決定性的影響,因此我們基於增強學習設計了調整參數的系統,在攻擊期間找出最適合應對目前攻擊的參數。此外,我們使用自動編碼器產生即時用於訓練增強學習的獎勵。 實驗的部分,我們使用2個資料集混合模擬 DDoS 攻擊的封包進行實驗。實驗結果顯示我們的過濾機制在面對常見 DDoS 攻擊時同樣也能夠達到將近 100% 的正常封包通過率,並在面對更困難的攻擊時達到75%~95% 的正常封包通過率,優於其他種過濾方式。此外,我們的過濾機制在攻擊者改變行為時,能即時發現目前較低的過濾品質,並在短時間的調整後找到新的最適應的參數。 | |
dc.description.abstract |
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. | |
dc.description.abstractopendate |
||
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
Acknowledgements iiiList of Figures viList of Tables viiiChapter 1 Introduction 1Chapter 2 Related Works 32.1 Filtering methods for DDoS attack 32.2 Reinforcement Learning Application 42.3 Autoencoder based Anomaly Detection 5Chapter 3 Backgrounds 63.1 Reinforcement Learning 63.2 Autoencoder 8Chapter 4 System Design 104.1 Overview 104.2 Non-attack Period 114.2.1 Attribute Pair Tables 114.2.2 Nominal Profile 134.2.3 Autoencoder training 154.3 Attack period 164.3.1 Packet filtering 164.3.2 Dynamic Adjustment 17Chapter 5 Implementation 255.1 Tools 255.2 Workflow 255.2.1 Extracting packet header 265.2.2 Training of the autoencoder 275.2.3 Environment 285.2.4 Reinforcement learning 285.2.5 Performance evaluation 28Chapter 6 Experiments and Results 296.1 Datasets 296.2 Attack simulation 296.3 Performance Metrics 306.4 Experiments Setting 326.5 Parameters Tuning 326.6 Experimental Results and Comparison 336.6.1 Experiment 1: The effect of dynamic adjustment 346.6.2 Experiment 2: Dataset 1 with common attacks 356.6.3 Experiment 3: Dataset 1 with GAD 366.6.4 Experiment 4: Dataset 1 with dynamic attack 396.6.5 Experiment 5: Dataset 2 with common attacks 416.6.6 Experiment 6: Dataset 2 with GAD 42Chapter 7 Conclusion 45Reference 46 | |
dc.identifier.citation |
[1] W. Dou, Q. Chen, and J. Chen. “A confidence-based filtering method for DDoS attack defense in cloud environment”. Future Generat. Comput. Syst., vol. 29, no. 7, pp. 1838–1850, 2013.[2] Kalkan, K.; Gür, G.; Alagöz, F. “SDNscore: A statistical defense mechanism against ddos attacks in SDN environment”. In: IEEE Symposium on Computers and Communications (ISCC), pp. 669–675, 2017.[3] Kalliola A, Lee K, Lee H, Aura T. Flooding DDoS mitigation and traffic management with software defined networking. 4th International Conference on Cloud Networking (CloudNet), IEEE, 2015; 248–254.[4] K. Malialis, S. Devlin, and D. Kudenko. Distributed reinforcement learning for adaptive and robust network intrusion response. Connection Science, 27(3): 234–252, 2015.[5] Liu Y, Dong M, Ota K, Li J, Wu J (2018) Deep reinforcement learning based smart mitigation of DDoS fooding in software-defned networks. In: 2018 IEEE 23rd International Workshop on Computer Aided Modeling and Design of Communication Links and Networks (CAMAD), Barcelona, Spain, pp 1–6[6] X. Nie, Y. Zhao, D. Pei, G. Chen, K. Sui, and J. Zhang, “Reducing web latency through dynamically setting tcp initial window with reinforcement learning,” in Proc. IEEE/ACM 26th Int. Symp. Quality Service (IWQoS), Jun. 2018, pp. 1–10.[7] S. Wang, H. Liu, P. H. Gomes, and B. Krishnamachari, “Deep reinforcement learning for dynamic multichannel access in wireless networks,” IEEE Trans. Cogn. Commun. Netw., vol. 4, no. 2, pp. 257–265, Jun. 2018.[8] R. C. Aygun and A. G. Yavuz, “Network anomaly detection with stochastically improved autoencoder based models,” in Proc. IEEE 4th Int. Conf. Cyber Secur. Cloud Comput. (CSCloud), Jun. 2017, pp. 193–198.[9] An, J. and Cho, S. Variational Autoencoder based Anomaly Detection using Reconstruction Probability. SNU Data Mining Center, Tech. Rep., 2015.[10] Q. Niyaz, W. Sun, and A. Y. Javaid, A deep learning based DDOS detection system in software-defined networking (SDN), Submitted to EAI Endorsed Transactions on Security and Safety, In Press, 2017.[11] Dayal, N., Srivastava, S.: ‘An RBF-PSO based approach for early detection of DDoS attacks in SDN’. In Proc. of IEEE 2018 10th International Conference on Communication Systems & Networks (COMSNETS), Bengaluru, India, Jan. 2018, pp. 17-24.[12] Qin X, Xu T, Wang C. 2015. DDoS attack detection using flow entropy and clustering technique. In: 2015 11th International Conference on Computational Intelligence and Security (CIS). IEEE, pp. 412–415.[13] Atli, B. Anomaly-Based Intrusion Detection by Modeling Probability Distributions of Flow Characteristics. Ph.D. Thesis, Aalto University, Helsinki, Finland, 2017.[14] X. Jing, Z. Yan, X. Jiang, and W. Pedrycz, “Network traffic fusion and analysis against DDoS flooding attacks with a novel reversible sketch,” Inf. Fusion, vol. 51, pp. 100–113, Nov. 2019.[15] Elena Mocanu, Decebal Constantin Mocanu, Phuong H Nguyen, Antonio Liotta, Michael E Webber, Madeleine Gibescu, and JG Slootweg. On-line building energy optimization using deep reinforcement learning. arXiv preprint arXiv:1707.05878, 2017.[16] L. Xiao, Y. Li, G. Han, G. Liu, and W. Zhuang, “PHY-layer spoofing detection with reinforcement learning in wireless networks,” IEEE Trans. Vehicular Technology, vol. 65, no. 12, pp. 10037–10047, Dec. 2016.[17] Vincenzo Gulisano, Mar Callau-Zori, Zhang Fu, Ricardo JimenezPeris, Marina Papatriantafilou, Marta Patino-Martinez, “STONE:A Streaming DDoS defense framework, “in elsevier Expert system with application,vol.42,2015,pp.9620-9633.[18] Sutton, R., & Barto, A. (1998). Reinforcement learning, an introduction. Cambridge: MIT Press/Bradford Books.[19] R. Fontugne, P. Borgnat, P. Abry, K. Fukuda. "MAWILab: Combining diverse anomaly detectors for automated anomaly labeling and performance benchmarking". ACM CoNEXT 2010. Philadelphia, PA. December 2010.[20] “Python”: https://www.python.org[21] “Tensorflow”: https://www.tensorflow.org | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/73049 | |
dc.language.iso |
英文 | |
dc.relation.alma |
990057114210206772 | |
dc.relation.page |
47 | |
dc.subject.keyword |
分散式阻斷服務攻擊 | |
dc.subject.keyword |
封包過濾 | |
dc.subject.keyword |
異常偵測 | |
dc.subject.keyword |
增強學習 | |
dc.subject.keyword |
自動編碼器 | |
dc.subject.keyword |
Distributed Denial of Service | |
dc.subject.keyword |
Packets Filtering | |
dc.subject.keyword |
Anomaly Detection | |
dc.subject.keyword |
Reinforcement Learning | |
dc.subject.keyword |
Autoencoder | |
dc.title |
基於增強學習及自動編碼器之分散式阻斷服務攻擊動態封包過濾機制 | zh-TW |
dc.title |
Adaptive filtering method for DDoS attack based on Reinforcement Learning and Autoencoder | en |
dc.type |
Thesis | zh-TW |
檔案
- 01.pdf (4.59 MB, Adobe PDF)
所屬典藏: 資訊科學與工程研究所