نظام كشف التسلل قائم على التعلم العميق باستخدام LSTM مصقول للكشف عن هجمات DoS
A Deep Learning-Based Intrusion Detection System using Refined LSTM for DoS Attack Detection

شارك:
المجلة: Engineering Technology & Applied Science Research، المجلد: 15، العدد: 4
DOI: https://doi.org/10.48084/etasr.11499
تاريخ النشر: 2025-08-02
المؤلف: Mohammad O. Hiari وآخرون
الموضوع الرئيسي: أمن الشبكات وكشف التسلل

نظرة عامة

تناقش هذه الفقرة التحدي الحرج في اكتشاف هجمات حرمان الخدمة (DoS) في أمان الشبكات، مع التأكيد على الحاجة إلى آليات كشف فعالة للحفاظ على توفر الشبكة وموثوقيتها. استجابةً لقيود طرق الكشف التقليدية وزيادة تعقيد التهديدات الشبكية، يقترح المؤلفون نموذج ذاكرة طويلة وقصيرة المدى (LSTM) مخصص مصمم خصيصًا لاكتشاف هجمات DoS. يستفيد هذا النهج في التعلم العميق من قدرة LSTM على تعلم الاعتمادات بعيدة المدى في البيانات التسلسلية، مما يسمح له بنمذجة أنماط حركة المرور الشبكية بفعالية على مر الزمن.

يتم تقييم أداء النموذج المقترح من خلال تجارب مقارنة، تكشف عن تحسينات كبيرة في مقاييس الكشف، بما في ذلك الدقة، والاسترجاع، ودرجة F1، والدقة. تشير النتائج إلى أن بنية LSTM تمثل تحسينًا واعدًا وموثوقًا لأنظمة كشف التسلل (IDS)، مما يوفر حلاً قويًا لحماية البنى التحتية للشبكة ضد هجمات DoS.

مقدمة

تسلط مقدمة ورقة البحث الضوء على الدور المحوري لأنظمة كشف التسلل (IDS) في أطر الأمن السيبراني الحديثة، مع التأكيد على وظيفتها في تحديد والاستجابة للاختراقات الشبكية. مع زيادة التجارة الإلكترونية، زاد تعقيد وحجم حركة المرور الشبكية، مما يطرح تحديات كبيرة لأنظمة IDS. يتم تصنيف هذه الأنظمة إلى نوعين: المعتمدة على التوقيع والمعتمدة على الشذوذ؛ حيث تكشف الأولى عن التهديدات المعروفة من خلال أنماط محددة، بينما تحدد الثانية الانحرافات عن السلوك الطبيعي، مما يمكّن من اكتشاف الهجمات الجديدة. ومع ذلك، فإن التعقيد المتزايد لحركة المرور الشبكية قد قلل من فعالية IDS التقليدية، مما يستلزم اعتماد تقنيات متقدمة.

تناقش الورقة أيضًا التهديد الحرج الذي تمثله هجمات حرمان الخدمة (DoS) وهجمات حرمان الخدمة الموزعة (DDoS)، والتي تهدف إلى إغراق الأنظمة بحركة مرور مفرطة، مما يعطل الوصول للمستخدمين الشرعيين. تستفيد هجمات DDoS، على وجه الخصوص، من عدة أجهزة مخترقة لتعزيز تأثيرها، مما يؤدي إلى عواقب وخيمة مثل فشل البنية التحتية، والخسائر المالية، والأضرار السمعة. يتم التأكيد على تحدي اكتشاف وتخفيف هذه الهجمات في الوقت الحقيقي، خاصة مع تطور استراتيجيات المهاجمين باستمرار لتجاوز الدفاعات التقليدية.

الطرق

تستخدم المنهجية المقترحة لاكتشاف هجمات حرمان الخدمة (DoS) مجموعة بيانات NSL-KDD، وهي معيار قياسي لأنظمة كشف التسلل الشبكية (IDS). تبدأ المنهجية بخطوات المعالجة المسبقة التي تشمل ترميز الميزات الفئوية وتقييس الميزات، تليها عملية التطبيع لضمان أن جميع الميزات على مقياس موحد، مما يعزز تقارب النموذج. بعد المعالجة المسبقة، يتم تقسيم مجموعة البيانات إلى مجموعات تدريب واختبار؛ حيث يتم استخدام مجموعة التدريب لتدريب النموذج، بينما يتم الاحتفاظ بمجموعة الاختبار لتقييم الأداء.

يتم تقييم نموذج ذاكرة طويلة وقصيرة المدى (LSTM) باستخدام مجموعة الاختبار، مع حساب مقاييس الأداء الرئيسية مثل الدقة، والدقة، والاسترجاع، ودرجة F1 لتحديد فعالية النموذج في اكتشاف السلوكيات غير الطبيعية التي تشير إلى هجمات DoS. تهدف هذه الطريقة المنظمة إلى تحقيق معدل كشف مرتفع مع ضمان قدرة النموذج على التعميم على بيانات جديدة وغير مرئية.

النتائج

تُعرض نتائج نموذج ذاكرة طويلة وقصيرة المدى (LSTM) المقترح لاكتشاف هجمات حرمان الخدمة (DoS)، مما يظهر أداءً استثنائيًا عبر مراحل التدريب والتحقق والاختبار. حقق النموذج دقة قصوى تبلغ 99.92% في مرحلة الاختبار، مع دقة تدريب والتحقق تبلغ 99.83% و99.86% على التوالي. كانت مقاييس الأداء الرئيسية، بما في ذلك الدقة والاسترجاع، مرتفعة أيضًا بشكل ملحوظ، حيث وصلت الدقة إلى 99.93% والاسترجاع إلى 99.94% خلال الاختبار. بلغت درجة F1، التي توازن بين الدقة والاسترجاع، ذروتها عند 99.94% في مرحلة الاختبار، مما يشير إلى متانة النموذج وقلة الإفراط في التخصيص.

يكشف التحليل المقارن مع نماذج التعلم الآلي والتعلم العميق الأخرى أن نموذج LSTM المقترح يتفوق على الأساليب السابقة، التي كانت لديها دقة قصوى تبلغ 99.89%. تسهم قدرة النموذج على الاستفادة من التعلم التسلسلي من خلال بنية LSTM بشكل كبير في دقته المتفوقة. تؤكد الدراسة على أهمية تقنيات التعلم العميق في تعزيز اكتشاف التهديدات السيبرانية، مشيرة إلى أن المزيد من الاستكشاف في التطبيقات الواقعية أمر warranted. ستركز الأعمال المستقبلية على توسيع النموذج لاكتشاف هجمات متعددة الفئات ودمج هياكل التعلم العميق الإضافية لتحسين قابليته للتعميم واستعداد النشر.

المناقشة

في مناقشة ورقة البحث، يبرز المؤلفون عدم كفاية أنظمة كشف التسلل التقليدية (IDS) في معالجة تعقيدات الهجمات السيبرانية الحديثة بفعالية، وخاصة هجمات حرمان الخدمة (DoS). بينما توفر الطرق التقليدية مثل التشفير وجدران الحماية مستوى معينًا من الحماية، إلا أنها محدودة في النطاق والفعالية. تؤكد الورقة على ضرورة وجود تقنيات كشف متقدمة، وخاصة تلك التي تستفيد من التعلم العميق، والتي يمكن أن تحدد تلقائيًا وتحلل الأنماط المعقدة في حركة المرور الشبكية. يجادل المؤلفون بأن نماذج التعلم العميق، وخاصة شبكات ذاكرة طويلة وقصيرة المدى (LSTM)، مناسبة تمامًا لهذه المهمة نظرًا لقدرتها على التقاط الاعتمادات الزمنية في البيانات التسلسلية، مما يعزز دقة الكشف ويقلل من الإيجابيات الكاذبة.

يقدم المؤلفون نموذج LSTM مخصص مصمم خصيصًا لاكتشاف هجمات DoS، والذي يتضمن عدة طبقات LSTM لمعالجة بيانات حركة المرور الشبكية بفعالية. يتم تحسين بنية النموذج من خلال ضبط المعلمات الفائقة، بما في ذلك معدلات التسرب وأحجام الدفعات، لتحقيق توازن بين الأداء وتقليل الإنذارات الكاذبة. تستخدم الدراسة مجموعة بيانات NSL-KDD للتدريب والتقييم، مما يظهر أن النموذج المقترح يتفوق بشكل كبير على مصنفات التعلم الآلي التقليدية من حيث الدقة والاسترجاع ودرجة F1. تؤكد النتائج على إمكانية تقنيات التعلم العميق في تحويل ممارسات الأمن السيبراني، وخاصة في مجال كشف التسلل، من خلال توفير دفاعات مرنة وقوية ضد التهديدات المتطورة.

Journal: Engineering Technology & Applied Science Research, Volume: 15, Issue: 4
DOI: https://doi.org/10.48084/etasr.11499
Publication Date: 2025-08-02
Author(s): Mohammad O. Hiari et al.
Primary Topic: Network Security and Intrusion Detection

Overview

The section discusses the critical challenge of detecting Denial of Service (DoS) attacks in network security, emphasizing the need for effective detection mechanisms to maintain network availability and reliability. In response to the limitations of traditional detection methods and the increasing complexity of network threats, the authors propose a customized Long Short-Term Memory (LSTM) model specifically designed for DoS attack detection. This deep learning approach leverages LSTM’s capability to learn long-range dependencies in sequential data, allowing it to effectively model network traffic patterns over time.

The proposed model’s performance is assessed through comparative experiments, revealing significant improvements in detection metrics, including precision, recall, F1-score, and accuracy. The findings suggest that the LSTM architecture represents a promising and reliable enhancement for intrusion detection systems (IDSs), offering a robust solution for safeguarding network infrastructures against DoS attacks.

Introduction

The introduction of the research paper highlights the pivotal role of Intrusion Detection Systems (IDSs) in modern cybersecurity frameworks, emphasizing their function in identifying and responding to network breaches. As e-commerce has surged, the complexity and volume of network traffic have increased, presenting significant challenges for IDSs. These systems are categorized into signature-based and anomaly-based types; the former detects known threats through established patterns, while the latter identifies deviations from normal behavior, enabling the detection of novel attacks. However, the growing intricacy of network traffic has diminished the effectiveness of traditional IDSs, necessitating the adoption of advanced technologies.

The paper also addresses the critical threat posed by Denial of Service (DoS) and Distributed Denial of Service (DDoS) attacks, which aim to overwhelm systems with excessive traffic, thereby disrupting access for legitimate users. DDoS attacks, in particular, leverage multiple compromised devices to enhance their impact, leading to severe consequences such as infrastructure failure, financial losses, and reputational harm. The challenge of detecting and mitigating these attacks in real-time is underscored, especially as attackers continuously evolve their strategies to bypass conventional defenses.

Methods

The proposed methodology for detecting Denial of Service (DoS) attacks utilizes the NSL-KDD dataset, a standard benchmark for network intrusion detection systems (IDS). The methodology begins with preprocessing steps that include encoding categorical features and feature scaling, followed by normalization to ensure all features are on a uniform scale, which enhances model convergence. After preprocessing, the dataset is split into training and testing sets; the training set is employed to train the model, while the testing set is reserved for performance evaluation.

The evaluation of the Long Short-Term Memory (LSTM) model is conducted using the testing set, with key performance metrics such as accuracy, precision, recall, and F1-score calculated to determine the model’s effectiveness in detecting abnormal behaviors indicative of DoS attacks. This structured approach aims to achieve a high detection rate while ensuring the model’s generalizability to new, unseen data.

Results

The results of the proposed Long Short-Term Memory (LSTM) model for detecting Denial of Service (DoS) attacks are presented, demonstrating exceptional performance across training, validation, and testing phases. The model achieved a maximum accuracy of 99.92% in the testing phase, with training and validation accuracies of 99.83% and 99.86%, respectively. Key performance metrics, including precision and recall, were also notably high, with precision reaching 99.93% and recall at 99.94% during testing. The F1-score, which balances precision and recall, peaked at 99.94% in the testing phase, indicating the model’s robustness and minimal overfitting.

Comparative analysis with other machine learning and deep learning models reveals that the proposed LSTM model outperforms previous approaches, which had a maximum accuracy of 99.89%. The model’s ability to leverage sequential learning through LSTM architecture contributes significantly to its superior accuracy. The study emphasizes the importance of deep learning techniques in enhancing the detection of cyber threats, suggesting that further exploration in real-world applications is warranted. Future work will focus on extending the model for multi-class attack detection and integrating additional deep learning architectures to improve its generalizability and deployment readiness.

Discussion

In the discussion of the research paper, the authors highlight the inadequacies of traditional intrusion detection systems (IDS) in effectively addressing the complexities of modern cyberattacks, particularly Denial of Service (DoS) attacks. While classical methods such as encryption and firewalls provide some level of protection, they are limited in scope and effectiveness. The paper emphasizes the necessity for advanced detection techniques, particularly those leveraging deep learning, which can automatically identify and analyze intricate patterns in network traffic. The authors argue that deep learning models, particularly Long Short-Term Memory (LSTM) networks, are well-suited for this task due to their ability to capture temporal dependencies in sequential data, thus enhancing detection accuracy and reducing false positives.

The authors present a customized LSTM model specifically designed for DoS attack detection, which incorporates multiple LSTM layers to effectively process network traffic data. The model architecture is optimized through hyperparameter tuning, including dropout rates and batch sizes, to balance performance and minimize false alarms. The study utilizes the NSL-KDD dataset for training and evaluation, demonstrating that the proposed model significantly outperforms traditional machine learning classifiers in terms of accuracy, recall, and F1-score. The findings underscore the potential of deep learning approaches in transforming cybersecurity practices, particularly in the realm of intrusion detection, by providing adaptive and robust defenses against evolving threats.