Unsupervised Zero-Day Intrusion Detection via Selective State Space and Embedding Space Diffusion
| dc.contributor.author | محمد منير،الاشهب | |
| dc.contributor.author | بديدة، محمد محفوظ | |
| dc.date.accessioned | 2026-10-12T08:01:15Z | |
| dc.date.issued | 2026 | |
| dc.description | مذكرة ماستر إعلام الي | |
| dc.description.abstract | This thesis addresses three fundamental limitations in current Network Intrusion Detection Sys-tems (NIDS): dependence on labeled attack data, loss of sequential packet dynamics through flow-level abstraction, and the computational intractability of standard sequential deep learn- ing architectures for real-time deployment. We propose the Selective SSM-Diffusion, an un-supervised anomaly detection framework trained exclusively on benign network traffic. The architecture combines a Mamba-inspired Selective State Space Model (SSM) encoder, which captures packet-level sequential context with linear computational complexity O(N), with a context-conditioned Multi-Layer Perceptron (MLP) Embedding-Space Diffusion Predictor that models the multi-modal probability distribution of normal traffic transitions. Input features are restricted to Layer 3 and Layer 4 header telemetry, providing inherent resilience to payload encryption. A parameter-free Arcsinh and L2 Hyperspherical Normalization scheme ensures mathematical scale invariance under domain shift. Anomaly detection operates via a Z-Score Standardized L2-Norm scoring mechanism that fuses three complementary sub-scores: Huber reconstruction error, exponentially weighted temporal transition error, and Top-K transition er- ror. The framework is evaluated on the UNSW-NB15 dataset, achieving a ROC-AUC of 0.9882, a recall of 99.83%, and an accuracy of 98.01% on a balanced zero-day test set consisting entirely of attack families withheld from training. Cross-dataset generalization is assessed by training on UNSW-NB15 and evaluating directly on ToN-IoT without retraining, yielding a ROC-AUC of 0.9073 and outperforming all supervised baselines under domain shift. An ablation study isolates the contributions of each component, confirming that both the generative diffusion backbone and the composite scoring mechanism are necessary for the observed performance levelتتناول هذه الأطروحة ثلاثة قيود جوهرية في أنظمة الكشف عن التسلل إلى الشبكات الاعتماد على بيانات هجوم مصنفة مسبقاً، وفقدان الديناميكيات التسلسلية للحزم عبر التجريد على مستوى التدفق، وهو نموذج للكشف عن الشذوذ غير خاضع للإشراف، يُدرب حصرياً على بيانات حركة الشبكة الطبيعية. والتعقيد الحسابي للبنيات التعلمية التسلسلية المعتمدة حالياً. نقترح إطار عمل Selective SSM-Diffusion ، تجمع البنية المقترحة بين مشفّر نموذج فضاء الحالة الانتقائي المستوحى من Mamba والذي يستخلص السياق التسلسلي للحزم بتعقيد خطي ، ونموذج تنبؤي انتشاري في فضاء التضمين مبني على شبكة متعددة الطبقات مُهياً بالسياق التاريخي لنمذجة التوزيع الاحتمالي متعدد الأنماط لانتقالات حركة الشبكة الطبيعية. تقتصر الميزات المستخلصة على ترويسات الطبقتين الثالثة والرابعة من نموذج OSI ، مما يمنحالنموذج مقاومة طبيعية للتشفير يُوفّر مخطط التطبيع المعتمد على دالة Arcsinh والتطبيع الكروي L2 ثباتاً رياضياً مقاوماً لانزياح النطاق. يعتمد الكشف عن الشذوذ على آلية تسجيل تجمع ثلاثة مكونات تكاملية باستخدام معيار L2 الموحد بالنقاط المعيارية : خطأ إعادة البناء بدالة Huber ، وخطأ الانتقال الزمني الموزون أسياً، وخطأ الانتقال للحزم الأعلى شذوذاً. يُقيم الإطار على مجموعة بيانات او UNSE-NB15 محققاً مساحة تحت المنحنى ROC-AUC بقيمة 0.9882 واستذكار بنسبة 99.83% ، ودقة إجمالية تبلغ 98.01% على مجموعة اختبار متوازنة تتضمن تهديدات لم يسبق للنموذج مواجهتها. يُقيم التعميم عبر مجموعات البيانات بتدريب النموذج على نغ او UNSW-NB15 واختباره مباشرةً على TON-IoT دون إعادة تدريب، محققاً مساحة تحت المنحنى ROC-AUC بقيمة 0.9073 متفوقاً على جميع نماذج الخط الأساسي الخاضعة للإشراف في ظروف انزياح النطاق. تحدد دراسة الاجتثاث الإيهام المستقل لكل مكون، مؤكدةً أن كلاً من الانتشار التوليدي وآلية التسجيل المركبة ضروريان لبلوغ الأداء الملاحظ. | |
| dc.identifier.citation | بديدة، محمد محفوظ.محمد منير،الاشهب.Molecular Spectroscopy. Pedagogical publication.Department of Physics.Faculty of Exact Sciences.University of El Oued, 2025 | |
| dc.identifier.uri | https://archives.univ-eloued.dz/handle/123456789/42836 | |
| dc.language.iso | fr | |
| dc.publisher | University of El Oued جامعة الوادي | |
| dc.subject | نظام حماية الشبكات، فضاء شعاعي، نموذج توليدي، امن سيبراني، تعلم عميق. | |
| dc.subject | Intrusion Detection System (IDS) | |
| dc.subject | Selective State Space Models (SSM) | |
| dc.subject | Embedding-Space Diffusion | |
| dc.subject | Mamba | |
| dc.subject | Deep Learning | |
| dc.subject | Zero-Day Anomaly Detection | |
| dc.subject | UNSW-NB15 | |
| dc.title | Unsupervised Zero-Day Intrusion Detection via Selective State Space and Embedding Space Diffusion | |
| dc.type | master |