شماره ركورد
34171
پديد آورنده
محمدحسين اصفهاني
عنوان
تشخيص حملات امنيتي به لايه شبكه در اينترنت اشياء مبتني بر هوش مصنوعي
مقطع تحصيلي
كارشناسي ارشد
رشته تحصيلي
مهندسي برق - مدارهاي مجتمع الكترونيك
سال تحصيل
1400
تاريخ دفاع
1404/07/28
استاد راهنما
جناب آقاي دكتر علي صدر
استاد مشاور
---
دانشكده
مهندسي برق
چكيده
در اين پاياننامه، ابتدا مجموعهداده TON-IoT در قالب تصوير آمدوشد شبكه گردآوري شده و با بهرهگيري از ابزار تحليل شبكه Zeek مورد پردازش قرار گرفته است، تا تمامي ويژگيهاي آماري شبكه استخراج شود. 44 ويژگي از تمام ويژگيهاي استخراج شده به صورت 4 پرونده در قالب رخداد ذخيره شدهاند، سپس اين پروندهها به قالب مقادير جدا شده با ويرگول منتقل و با اضافه كردن دو ويژگي عددي نشانهگذاري شدهاند: برچسب، كه مقادير 1 يا 0 (حمله يا داده معمولي) را دارد و نوع داده، كه مقادير 0 تا 9 را دارد (انواع حمله و داده معمولي). در گام پاكسازي داده، با به كارگيري تبديل يئوجانسون اثر دادههاي پرت كم شده، حذف نمونههاي تكراري براي جلوگيري از سوگيري طرح انجام شده و رمزگذاري برچسب براي انجام معادلات رياضي صورت گرفته است. براي عادي سازي داده نيز از مقياسدهي خطي در بازه 1- تا 1+ استفاده شده و از روش مربع-M بهره گرفته شده است تا ميانه به صفر و انحراف مطلق آن به يك برسد.
براي متعادلسازي انواع حمله، از روش بيشنمونهبرداري مصنوعي از اقليت استفاده شده است. به منظور كاهش پيچيدگي و افزايش بازده، انتخاب ويژگي به شيوه حذف بازگشتي بر پايه اهميت توليد شده توسط جنگل تصادفي انجام شده و در نهايت 20 ويژگي برتر حفظ گرديده است. معماري دستهبندي به اين صورت است كه ابتدا به دادهها گام زماني 1 داده ميشود و به لايه حافظه طولاني كوتاه مدت با 128 واحد ميروند و خروجي حاصل شده به لايه واحد بازگشتي دروازه با 128 واحد داده ميشود، سپس به كمك سازوكار توجه دوگانه خروجي لايه واحد بازگشتي دروازه وزندهي ميشود، با لايه ميانگينگيري سراسري يك بعدي فشرده و در يك لايه تماممتصل 64 واحدي با تابع فعالسازي ReLU و حذف تصادفي 10% نگاشته ميشود و خروجي نهايي با يك لايه تمام متصل 1 واحدي و تابع فعالسازي سيگموئيد، برچسب دودويي را پيشبيني ميكند.
اين ساختار پيشنهادي نوآورانه، سبب شده است سامانه با دقت%99.67، صحت 99.55%، يادآوري 99.75%، اختصاصيسازي 98.8%، امتياز F1 99.71%، نرخ مثبت كاذب %1.2، خطاي 0.0212 و مساحت زير منحني مشخصه عملكرد سامانه 0.9984، تمامي روشهاي مقايسهشده را در معيارهاي مشترك پشت سر بگذارد. ارزيابي منابع مصرفي نيز نشان ميدهد كه ميزان حافظه دسترسي تصادفي مورد نياز در لحظهي اجرا تنها 18.71 مگابايت، اوج مصرف آن 48.02 مگابايت و شاخص مقياسپذيري آن 712.8 مگابايت ثبت شده است، مقاديري كه استقرار بلادرنگ سامانه روي گرههاي لبهاي اينترنت اشياء را عملي ميسازد.
تاريخ ورود اطلاعات
1404/09/09
عنوان به انگليسي
AI-Based Detection of Security Attacks to IoT Network Layer
تاريخ بهره برداري
11/21/2025 12:00:00 AM
دانشجوي وارد كننده اطلاعات
محمدحسين اصفهاني
چكيده به لاتين
In this thesis, the TON-IoT dataset was first collected in the form of network traffic images and processed using the Zeek network analysis tool in order to extract all statistical network features. Out of all extracted features, 44 were selected and stored as four event-based files. These files were then converted into comma-separated value (CSV) format and augmented with two numerical annotation fields: label, which takes the value 1 or 0 (attack or normal data), and data type, which ranges from 0 to 9 (attack types and normal data).
In the data-cleaning stage, the Yeo–Johnson transformation was applied to reduce the influence of outliers, duplicate samples were removed to prevent design bias, and label encoding was performed to enable mathematical operations. Data normalization was carried out using linear scaling in the range of −1 to +1, and the M-square method was employed to center the median at zero and scale the median absolute deviation to one.
To rebalance the various attack classes, the Synthetic Minority Over-Sampling Technique (SMOTE) was used. To reduce complexity and increase efficiency, feature selection was performed using recursive feature elimination based on feature importance generated by a random forest classifier, resulting in the retention of the top 20 features.
The classification architecture is structured as follows: the data are first assigned a time step of 1 and passed to a Long Short-Term Memory (LSTM) layer with 128 units; its output is then fed into a Gated Recurrent Unit (GRU) layer with 128 units. Next, a dual-attention mechanism is applied to weight the GRU output. A one-dimensional global average pooling layer compresses the resulting vector, which is then mapped to a fully connected layer with 64 units, a ReLU activation function, and a dropout rate of 10%. The final prediction is made by a fully connected layer with a single unit and a sigmoid activation function, producing a binary label.
This innovative proposed architecture enables the system to surpass all comparative methods across common metrics, achieving an accuracy of 99.67%, precision of 99.55%, recall of 99.75%, specificity of 98.8%, F1-score of 99.71%, false-positive rate of 1.2%, error rate of 0.0212, and an area under the ROC curve of 0.9984. Resource-usage evaluation further shows that the required runtime RAM is only 18.71 MB, with a peak consumption of 48.02 MB and a scalability index of 712.8 MB—values that make real-time deployment on IoT edge nodes feasible.
كليدواژه هاي فارسي
حمله روز صفر , يادگيري عميق , تشخيص نفوذ
كليدواژه هاي لاتين
HARN , Attack , Zero-Day , Deep Learning , Intrusion Detection , IoT
Author
Mohammad Hossein Esfahani
SuperVisor
Dr.Ali Sadr