{"id":{"repo_id":"ets-quebec","oai_identifier":"oai:espace.etsmtl.ca:4102"},"canonical_url":"https://search.ndltd.org/etd/ets-quebec/oai:espace.etsmtl.ca:4102","repository":{"repo_id":"ets-quebec","name":"ETS (Quebec)","base_url":"https://espace.etsmtl.ca/cgi/oai2"},"display":{"title":"Multi-class detection and classification of security attacks in IoT networks using machine learning based on BoT-IoT dataset","abstract":"The rapid proliferation of Internet of Things (IoT) and Wireless Sensor Network (WSN) devices has significantly expanded the attack surface of modern networks, making effective intrusion detection mechanisms essential. However, many existing intrusion detection studies rely on outdated benchmark datasets, such as KDD Cup 99, NSL-KDD, and DARPA, which fail to capture the characteristics of contemporary IoT traffic. Furthermore, prior research frequently focuses on binary classification and overlooks the severe class imbalance inherent in real-world IoT datasets, as well as the computational constraints of IoT environments. This thesis experimentally evaluates several machine learning models for the detection and multi-class classification of attacks in IoT networks using a stratified subset of the BoT-IoT dataset. The study systematically investigates the impact of different class imbalance handling techniques, including random oversampling, random undersampling, Synthetic Minority Oversampling Technique (SMOTE), and cost-sensitive learning. Several classifiers are assessed under these conditions, namely Random Forest, Gradient Boosting, Logistic Regression, and Artificial Neural Networks (ANNs), to determine their effectiveness in detecting diverse attack categories. Performance is evaluated using several metrics, including accuracy, macro-averaged recall, and macro-averaged F1-score, together with computational measures such as training time and testing time. The results demonstrate that the choice of classifier and imbalance-handling strategy has a substantial impact on detection performance. In particular, the study compares standard models with oversampling, undersampling, SMOTE, and class-weighted/cost-sensitive variants, highlighting trade-offs between predictive performance and computational overhead. The experimental findings show that imbalance-aware training improves multi-class attack detection compared with unadjusted baseline models, while cost-sensitive learning offers a promising alternative to resampling-based approaches by reducing data processing overhead. Overall, the thesis identifies model–strategy combinations that better balance detection effectiveness and efficiency, supporting the development of practical intrusion detection systems for resource-constrained IoT environments.","abstract_html":"The rapid proliferation of Internet of Things (IoT) and Wireless Sensor Network (WSN) devices has significantly expanded the attack surface of modern networks, making effective intrusion detection mechanisms essential. However, many existing intrusion detection studies rely on outdated benchmark datasets, such as KDD Cup 99, NSL-KDD, and DARPA, which fail to capture the characteristics of contemporary IoT traffic. Furthermore, prior research frequently focuses on binary classification and overlooks the severe class imbalance inherent in real-world IoT datasets, as well as the computational constraints of IoT environments. This thesis experimentally evaluates several machine learning models for the detection and multi-class classification of attacks in IoT networks using a stratified subset of the BoT-IoT dataset. The study systematically investigates the impact of different class imbalance handling techniques, including random oversampling, random undersampling, Synthetic Minority Oversampling Technique (SMOTE), and cost-sensitive learning. Several classifiers are assessed under these conditions, namely Random Forest, Gradient Boosting, Logistic Regression, and Artificial Neural Networks (ANNs), to determine their effectiveness in detecting diverse attack categories. Performance is evaluated using several metrics, including accuracy, macro-averaged recall, and macro-averaged F1-score, together with computational measures such as training time and testing time. The results demonstrate that the choice of classifier and imbalance-handling strategy has a substantial impact on detection performance. In particular, the study compares standard models with oversampling, undersampling, SMOTE, and class-weighted/cost-sensitive variants, highlighting trade-offs between predictive performance and computational overhead. The experimental findings show that imbalance-aware training improves multi-class attack detection compared with unadjusted baseline models, while cost-sensitive learning offers a promising alternative to resampling-based approaches by reducing data processing overhead. Overall, the thesis identifies model–strategy combinations that better balance detection effectiveness and efficiency, supporting the development of practical intrusion detection systems for resource-constrained IoT environments.","abstract_has_math":false,"creators":["Pahlevaninejad, Kasra"],"institution":"École de technologie supérieure","degree_name":"Mémoire de maîtrise électronique","degree_level":"masters","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-08-24","date_published":"2026-08-24","updated_at":"2026-11-18T22:11:27Z","subjects":["Internet des objets (IoT), détection de cyberattaques, système de détection d’intrusion (IDS), gestion du déséquilibre des classes, apprentissage automatique, réseaux de capteurs sans fil (WSN), efficacité computationnelle"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["INSERT-YOUR-LIBRARY-ID-HERE4102"],"render_values":[{"text":"INSERT-YOUR-LIBRARY-ID-HERE4102","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":null,"outbound_label":null,"outbound_source":null,"record_url":null,"record_label":null,"record_kind":null,"record_source":null,"download_url":"https://espace.etsmtl.ca/id/eprint/4102/1/PAHLEVANINEJAD_Kasra.pdf","download_label":"Download PDF","download_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://espace.etsmtl.ca/cgi/oai2?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aespace.etsmtl.ca%3A4102","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Pahlevaninejad, Kasra"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-08-24"]},{"key":"dc:publisher","label":"Institution","values":["École de technologie supérieure"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Mémoire de maîtrise électronique"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["École de technologie supérieure"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Internet des objets (IoT), détection de cyberattaques, système de détection d’intrusion (IDS), gestion du déséquilibre des classes, apprentissage automatique, réseaux de capteurs sans fil (WSN), efficacité computationnelle"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["INSERT-YOUR-LIBRARY-ID-HERE4102","https://espace.etsmtl.ca/id/eprint/4102/1/PAHLEVANINEJAD_Kasra.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["The rapid proliferation of Internet of Things (IoT) and Wireless Sensor Network (WSN) devices has significantly expanded the attack surface of modern networks, making effective intrusion detection mechanisms essential. However, many existing intrusion detection studies rely on outdated benchmark datasets, such as KDD Cup 99, NSL-KDD, and DARPA, which fail to capture the characteristics of contemporary IoT traffic. Furthermore, prior research frequently focuses on binary classification and overlooks the severe class imbalance inherent in real-world IoT datasets, as well as the computational constraints of IoT environments. This thesis experimentally evaluates several machine learning models for the detection and multi-class classification of attacks in IoT networks using a stratified subset of the BoT-IoT dataset. The study systematically investigates the impact of different class imbalance handling techniques, including random oversampling, random undersampling, Synthetic Minority Oversampling Technique (SMOTE), and cost-sensitive learning. Several classifiers are assessed under these conditions, namely Random Forest, Gradient Boosting, Logistic Regression, and Artificial Neural Networks (ANNs), to determine their effectiveness in detecting diverse attack categories. Performance is evaluated using several metrics, including accuracy, macro-averaged recall, and macro-averaged F1-score, together with computational measures such as training time and testing time. The results demonstrate that the choice of classifier and imbalance-handling strategy has a substantial impact on detection performance. In particular, the study compares standard models with oversampling, undersampling, SMOTE, and class-weighted/cost-sensitive variants, highlighting trade-offs between predictive performance and computational overhead. The experimental findings show that imbalance-aware training improves multi-class attack detection compared with unadjusted baseline models, while cost-sensitive learning offers a promising alternative to resampling-based approaches by reducing data processing overhead. Overall, the thesis identifies model–strategy combinations that better balance detection effectiveness and efficiency, supporting the development of practical intrusion detection systems for resource-constrained IoT environments."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Multi-class detection and classification of security attacks in IoT networks using machine learning based on BoT-IoT dataset"]}]}],"canonical_facts":{"dc:creator":["Pahlevaninejad, Kasra"],"dc:date":["2026-08-24"],"dc:description":["The rapid proliferation of Internet of Things (IoT) and Wireless Sensor Network (WSN) devices has significantly expanded the attack surface of modern networks, making effective intrusion detection mechanisms essential. However, many existing intrusion detection studies rely on outdated benchmark datasets, such as KDD Cup 99, NSL-KDD, and DARPA, which fail to capture the characteristics of contemporary IoT traffic. Furthermore, prior research frequently focuses on binary classification and overlooks the severe class imbalance inherent in real-world IoT datasets, as well as the computational constraints of IoT environments. This thesis experimentally evaluates several machine learning models for the detection and multi-class classification of attacks in IoT networks using a stratified subset of the BoT-IoT dataset. The study systematically investigates the impact of different class imbalance handling techniques, including random oversampling, random undersampling, Synthetic Minority Oversampling Technique (SMOTE), and cost-sensitive learning. Several classifiers are assessed under these conditions, namely Random Forest, Gradient Boosting, Logistic Regression, and Artificial Neural Networks (ANNs), to determine their effectiveness in detecting diverse attack categories. Performance is evaluated using several metrics, including accuracy, macro-averaged recall, and macro-averaged F1-score, together with computational measures such as training time and testing time. The results demonstrate that the choice of classifier and imbalance-handling strategy has a substantial impact on detection performance. In particular, the study compares standard models with oversampling, undersampling, SMOTE, and class-weighted/cost-sensitive variants, highlighting trade-offs between predictive performance and computational overhead. The experimental findings show that imbalance-aware training improves multi-class attack detection compared with unadjusted baseline models, while cost-sensitive learning offers a promising alternative to resampling-based approaches by reducing data processing overhead. Overall, the thesis identifies model–strategy combinations that better balance detection effectiveness and efficiency, supporting the development of practical intrusion detection systems for resource-constrained IoT environments."],"dc:format":["application/pdf"],"dc:identifier":["INSERT-YOUR-LIBRARY-ID-HERE4102","https://espace.etsmtl.ca/id/eprint/4102/1/PAHLEVANINEJAD_Kasra.pdf"],"dc:language":["en"],"dc:publisher":["École de technologie supérieure"],"dc:subject":["Internet des objets (IoT), détection de cyberattaques, système de détection d’intrusion (IDS), gestion du déséquilibre des classes, apprentissage automatique, réseaux de capteurs sans fil (WSN), efficacité computationnelle"],"dc:title":["Multi-class detection and classification of security attacks in IoT networks using machine learning based on BoT-IoT dataset"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_level":["masters"],"thesis:degree_name":["Mémoire de maîtrise électronique"],"thesis:institution_name":["École de technologie supérieure"]},"updated_at":"2026-11-18T22:11:27Z"}