[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-119305-en":3,"doc-seo-119305-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},119305,13056703019404,"Miles","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","Customized Dataset-Based Machine Learning Approach for Black Hole Attack Detection in Mobile Ad Hoc Networks","The study applies machine learning algorithms to classify black hole attacks in mobile ad hoc networks (MANETs), where malicious nodes falsify shortest-path advertisements to intercept and drop packets. A custom dataset is built through feature selection to reflect the characteristics of black hole behavior, then four models are evaluated: random forest, logistic regression, k-nearest neighbors, and decision tree. Results show meaningful gains across accuracy, precision, F1-score, and recall, supporting machine learning as an effective intrusion detection system for strengthening MANET security.","Customized dataset-based machine learning approach for black hole attack detection in mobile ad hoc networks  \nHouda Moudni1, Mohamed Er-Rouidi2, Mansour Lmkaiti3, Hicham Mouncif3  \n1TIAD Laboratory, Faculty of Science and Technology, Sultan Moulay Slimane University, Beni Mellal, Morocco 2Modeling and combinatorial laboratory, Department of Mathematics and Computer Science, Polydisciplinary Faculty,  \nCadi Ayyad University, Safi, Morocco  \n3LIMATI Laboratory, Polydisciplinary Faculty, Sultan Moulay Slimane University, Beni Mellal, Morocco  \nArticle history:  \nReceived Jul 30, 2024 Revised Sep 20, 2024 Accepted Oct 1, 2024  \nKeywords:  \nBlack hole attack Intrusion detection system Machine learning Mobile ad hoc networks Security  \nCorresponding Author:  \nThis article explores the application of machine learning (ML) algorithms to classify the black hole attack in mobile ad hoc networks (MANETs) . Black hole attacks threaten MANETs by disrupting communication and data transmission. The primary goal of this study is to develop an intrusion detection system (IDS) to detect and classify this attack. The research process involves feature selection, the creation of a custom dataset tailored to the characteristics of black hole attacks, and the evaluation of four machine learning models: random forest (RF), logistic regression (LR), k-nearest neighbors (k-NN), and decision tree (DT) . The evaluation of these models demonstrates promising results, with significant improvements inaccuracy, precision, F1-score, and recall metrics. The findings underscore the potential of machine learning in enhancing the security of MANETs by providing an effective means of attack classification.  \nThis is an open access article under the CC BY-SA license.  \nHouda Moudni  \nTIAD Laboratory, Faculty of Science and Technology, Sultan Moulay Slimane University Av Med V, BP 591, Beni-Mellal 23000, Maroko  \nEmail: [h.moudni@usms.ma](h.moudni@usms.ma)  \nArticle Info ABSTRACT  \n1. INTRODUCTION  \nMobile ad hoc networks (MANETs) [1] are self-configuring networks composed of mobile nodes that form a dynamic network infrastructure without relying on a centralized authority. MANETs have gained significant attention due to their flexibility in providing communication in various environments, making them ideal for emergency and military applications. However, the decentralized nature and dynamic topology of MANETs make them particularly vulnerable to a wide range of security threats, including routing attacks, denial of service, and black hole attacks [2]–[4] .  \nBlack hole attacks are particularly severe as they involve a malicious node falsely advertising the shortest path to the destination, subsequently intercepting and dropping all data packets passing through it. This not only disrupts network communication but also compromises data integrity and confidentiality. Traditional security mechanisms, such as encryption and authentication protocols, while effective in some scenarios, often fall short in addressing the sophisticated and adaptive nature of such attacks in MANETs. Existing solutions, including heuristic-based and rule-based intelligent intrusion detection systems (IDSs) , are often limited by their inability to adapt to new and evolving attack patterns.  \nGiven these constraints, there is an urgent need for intelligent systems that can dynamically detect and classify such attacks, enabling timely and effective countermeasures. Recent advances in machine learning (ML) [5]–[7] offer a promising approach to this challenge. ML algorithms can analyze large volumes of network data, identify patterns associated with attacks, and distinguish them from normal  \nnetwork behavior. By learning from past incidents, these algorithms can provide robust, adaptive defenses against even novel attack strategies.  \nThe primary goal of this research is to design and implement an IDS that leverages machine learning algorithms to detect and classify black hole attacks in MANET","cbCaibMV3w5BgjJI","https://ap.wps.com/l/cbCaibMV3w5BgjJI","pdf",761570,1,12,"English","en",105,"# Introduction\n## Mobile ad hoc networks and security challenges\n## Black hole attacks and limitations of traditional defenses\n## Motivation for machine learning-based detection\n# Literature Review\n## Related works and prior classifier comparisons\n# Proposed Approach\n## Feature selection and custom dataset design\n## Machine learning models for attack classification\n# Results and Discussion\n## Performance metrics analysis\n# Conclusion and Future Work","[{\"question\":\"What problem does the document address?\",\"answer\":\"It addresses detecting and classifying black hole attacks in MANETs using machine learning-based intrusion detection.\"},{\"question\":\"How is the custom dataset created?\",\"answer\":\"The approach selects the most relevant features that capture black hole attack characteristics, then uses them to form a custom dataset tailored to the attack behavior.\"},{\"question\":\"Which machine learning models are evaluated and what is the outcome?\",\"answer\":\"Random forest, logistic regression, k-nearest neighbors, and decision tree are evaluated; the study reports improved performance across accuracy, precision, F1-score, and recall.\"}]","Customized Dataset-Based Machine Learning Approach for Black Hole Attack Detection in Mobile Ad Hoc Networks | PDF",1785723626,30,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"customized-dataset-based-machine-learning-approach-for-black-hole-attack-detection-in-mobile-ad-hoc-networks","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/customized-dataset-based-machine-learning-approach-for-black-hole-attack-detection-in-mobile-ad-hoc-networks/119305/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-03",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does the document address?","Question",{"text":75,"@type":76},"It addresses detecting and classifying black hole attacks in MANETs using machine learning-based intrusion detection.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How is the custom dataset created?",{"text":80,"@type":76},"The approach selects the most relevant features that capture black hole attack characteristics, then uses them to form a custom dataset tailored to the attack behavior.",{"name":82,"@type":73,"acceptedAnswer":83},"Which machine learning models are evaluated and what is the outcome?",{"text":84,"@type":76},"Random forest, logistic regression, k-nearest neighbors, and decision tree are evaluated; the study reports improved performance across accuracy, precision, F1-score, and recall.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":29,"slug":121},"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]