تحلیل ترافیک شبکه با یادگیری ماشین برای تشخیص سریع‌تر حمله قطع سرویس توزیع یافته

نوع مقاله : کامپیوتر - شبکه های کامپیوتری

نویسندگان

1 دانشکده مهندسی کامپیوتر، دانشگاه شهید مدنی آذربایجان

2 گروه مهندسی کامپیوتر-دانشکده مهندسی برق و کامپیوتر-دانشگاه تبریز-تبریز-ایران

3 گروه مهندسی برق قدرت-دانشکده مهندسی برق و کامپیوتر-دانشگاه تبریز

چکیده

با افزایش استفاده از خدمات آنلاین، حملات DDoS به‌عنوان یکی از تهدیدات جدی برای سرویس‌های اینترنتی شناخته شده‌اند. این حملات قادرند به‌سرعت سیستم‌ها و سرویس‌های آنلاین را مختل کنند. در این تحقیق، به بررسی و تحلیل چهار الگوریتم یادگیری ماشین برای شناسایی حملات DDoS پرداخته شده است. برای این منظور، از پایگاه‌داده Intrusion Detection Evaluation Dataset (CIC-IDS2017) استفاده شده است که شامل نمونه‌های ترافیک بات‌نت است. الگوریتم‌های KNN، RF، Naive Bayes و J48 با استفاده از ویژگی‌های انتخاب‌شده با تابع SelectKBest و کتابخانه scikit-learn آموزش داده شدند. نتایج نشان می‌دهند که الگوریتم‌های RF، KNN و J48 از نظر دقت بسیار به هم نزدیک بوده و عملکرد خوبی در شناسایی ترافیک بات‌نت و ترافیک معمولی داشته‌اند. الگوریتم RF با F1-score بالاتر نسبت به KNN، دقت بیشتری در شناسایی ترافیک بات‌نت ارائه داده است. از سوی دیگر، الگوریتم Naive Bayes، با وجود دقت کلی بالا، در شناسایی ترافیک بات‌نت عملکرد ضعیفی داشته و Precision و Recall آن برای دسته‌بندی بات‌نت بسیار پایین است. الگوریتم J48 نیز عملکرد نسبتاً خوبی داشته، ولی به دلیل مقدار پایین Recall، بخش قابل‌توجهی از ترافیک حمله به‌اشتباه به‌عنوان ترافیک معمولی شناسایی شده است. این تحقیق تأکید دارد که برای مقابله با حملات DDoS، استفاده از الگوریتم‌های مدرن یادگیری ماشین می‌تواند دقت و سرعت شناسایی را بهبود بخشد. در آینده، آزمایش مدل‌ها در شرایط واقعی و با داده‌های متنوع‌تر، به‌منظور افزایش دقت و قابلیت‌های مدل‌های شناسایی حملات اینترنتی، ضروری است.

کلیدواژه‌ها

موضوعات


عنوان مقاله [English]

Network traffic analysis with machine learning for faster detection of distributed denial of service attack

نویسندگان [English]

  • Mohammad zahiri 1
  • kimia shirini 2
  • sina samadi gharehveran 3
1 Faculty of Computer Engineering, Azarbaijan Shahid Madani University
2 Department of Computer Engineering - Faculty of Electrical and Computer Engineering - Tabriz University - Tabriz - Iran
3 Department of Electrical Engineering, Faculty of Electrical and Computer Engineering, Tabriz University
چکیده [English]

With the increasing use of online services, DDoS attacks have been recognized as one of the most serious threats to Internet services. These attacks are able to quickly disrupt online systems and services. In this research, four machine learning algorithms for detecting DDoS attacks have been investigated and analyzed. For this purpose, the Intrusion Detection Evaluation Dataset (CIC-IDS2017) database, which includes botnet traffic samples, has been used. KNN, RF, Naive Bayes, and J48 algorithms were trained using the selected features with the SelectKBest function and the scikit-learn library. The results show that the RF, KNN, and J48 algorithms are very close in terms of accuracy and have performed well in identifying botnet traffic and normal traffic. The RF algorithm with a higher F1-score compared to KNN has provided more accuracy in identifying botnet traffic. On the other hand, the Naive Bayes algorithm, despite its high overall accuracy, has performed poorly in identifying botnet traffic, and its precision and recall are very low for botnet classification. The J48 algorithm has also performed relatively well, but due to the low recall value, a significant part of the attack traffic has been mistakenly identified as normal traffic. This research emphasizes that to deal with DDoS attacks, the use of modern machine learning algorithms can improve the accuracy and speed of identification. In the future, it will be necessary to test the models in real-world conditions with more diverse data in order to increase the accuracy and capabilities of Internet attack detection models.

کلیدواژه‌ها [English]

  • DDos attack
  • Decision tree
  • Machine learning
  • Nearest neighbor
  • Network traffic

مقالات آماده انتشار، پذیرفته شده
انتشار آنلاین از تاریخ 26 شهریور 1403
  • تاریخ دریافت: 25 خرداد 1403
  • تاریخ بازنگری: 17 مرداد 1403
  • تاریخ پذیرش: 25 شهریور 1403
  • تاریخ انتشار: 26 شهریور 1403