[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-119658-en":3,"doc-seo-119658-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":4,"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},119658,7971461741311,"Ophelia","https://ap-avatar.wpscdn.com/avatar/74000253aff267980c6?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779345379180704826",8,"Research & Report","Machine Learning for Malware and Intrusion Detection - Dataset Design, Cost-Aware Models, and Research Pitfalls","Information technology reduces constraints of physical distance and delays across sectors, yet it also enables smarter cyber threats from hackers and cybercriminals. This thesis shows how machine learning strengthens malware and intrusion detection, emphasizing that effective learning depends on high-quality datasets and careful study design. It introduces an eBPF-powered dynamic analysis pipeline and a labeled dataset for Linux malware detection, achieving strong F1 performance with Random Forest. It further studies intrusion detection dataset imbalance and proposes cost-aware modeling approaches that trade accuracy for major speed and memory gains, plus a checklist-driven analysis of common research pitfalls.","Machine Learning for Malware and Intrusion Detection: Dataset Design, Cost-Aware Models,  \nand Research Pitfalls  \nby  \n􀀍c Javad Kamyabi  \nA thesis submitted to the School of Graduate Studies in partial ful􀀌llment of the requirements for the  \ndegree of Master of Engineering.  \nFaculty of Engineering and Applied Science Memorial University  \nFebruary 2026  \nSt. John’s, Newfoundland and Labrador, Canada  \nAbstract  \nInformation technology has reduced constraints of physical distance and delays associated with traditional methods in areas such as medicine, economy, industry, and beyond. However, it also presents potential threats such as hackers and cybercriminals. As information technology advances, threats become smarter and more complex, cat-and-mouse-game that continuously increases in complexity.  \nMachine learning improves security tools such as malware or intrusion detection by taking advantage of past experiences. Machine learning requires high-quality datasets to create e􀀋ective models.  \nThe 􀀌rst paper in this thesis, eBPF-Powered Dynamic Analysis for Linux Malware Detection: A Dataset and Experimental Study, explores the application of machine learning to detect malware. The paper also introduces an automated eBPF-based data collection pipeline using Docker containers to generate labeled malware and clean environment traces. We construct a dataset of clean and infected Linux operating systems and use various machine learning techniques to identify patterns in Linux system calls that indicate whether the operating system is infected or not, achieving a detection F1-Score of up to 99% with Random Forest models.  \nMachine learning can also be used to develop intrusion detection systems. Two critical components of such systems are the dataset and the models. However, popular network attack datasets su􀀋er from imbalances, with signi􀀌cant disparities in the number of instances between di􀀋erent classes (e.g., benign tra􀀎c can have thousands of samples, while rare attack types may have fewer than 50) . This imbalance can severely a􀀋ect model performance; for example, rare attack classes may be underrepresented by a ratio of 40:1 compared to benign tra􀀎c, which can signi􀀌cantly reduce recall for these classes. To address this issue, over-and undersampling methods balance datasets before feeding them into the algorithms. However, undersampling may  \noverlook important data, whereas oversampling can introduce redundancy, ultimately weakening the model’s performance. Furthermore, the speed with which an intrusion detection tool makes decisions plays a vital role in its e􀀋ectiveness. The second paper in this thesis, titled Cost-Aware Machine Learning for Intrusion Detection: A Performance Trade-O􀀋 Study, demonstrates that by sacri􀀌cing an insigni􀀌 -cant amount of accuracy, it is possible to achieve models that are tens of times faster and signi􀀌cantly less memory-consuming, making them practical for real-time deployment. This is accomplished by exploring the combination of di􀀋erent deep learning and machine learning models, along with various over-and under-sampling methods. Furthermore, the paper proposes twelve prediction cost functions that integrate these trade-o􀀋s alongside traditional performance measures. A slow intrusion detection tool can otherwise become a bottleneck in a network, highlighting the need for models that balance accuracy and e􀀎ciency.  \nThe third paper, titled Power and Pitfalls of ML-Based Intrusion Detection Systems, examines key challenges in developing machine learning-based intrusion detection systems, with a focus on both dataset generation and model design. It highlights issues such as the lack of representative datasets and the limited generalizability of models. This paper examines ten signi􀀌cant research barriers and their interconnections, which means that a barrier may lead to one or more barriers. The study includes a statistical analysis of dozens of research papers, revealing the current stat","cbCaiuRTraRI6hdW","https://ap.wps.com/l/cbCaiuRTraRI6hdW","pdf",1994012,1,128,"English","en",105,"# Abstract\n## Machine learning and dataset needs\n## eBPF-powered malware detection dataset\n## Intrusion detection: dataset imbalance and sampling\n## Cost-aware models and prediction cost functions\n## ML-based IDS power and research pitfalls\n## Best-practice checklists and contributions","[{\"question\":\"Why does the thesis emphasize dataset quality for machine learning security tools?\",\"answer\":\"Machine learning models depend on high-quality, representative datasets to learn reliable patterns. The work highlights that poor dataset design or imbalance can directly reduce detection performance and generalizability.\"},{\"question\":\"How does the thesis collect data for Linux malware detection?\",\"answer\":\"It presents an eBPF-based automated data collection pipeline using Docker containers to generate labeled malware traces and clean environment traces, forming a dataset of clean and infected Linux systems.\"},{\"question\":\"What is the purpose of cost-aware intrusion detection models in this thesis?\",\"answer\":\"The thesis aims to balance accuracy with real-time efficiency by exploring model combinations and sampling methods and by introducing twelve prediction cost functions that incorporate performance trade-offs.\"}]","Machine Learning for Malware and Intrusion Detection - Dataset Design, Cost-Aware Models, and Research Pitfalls | PDF",1785725527,323,{"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},"machine-learning-for-malware-and-intrusion-detection-dataset-design-cost-aware-models-and-research-pitfalls","",{"@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/machine-learning-for-malware-and-intrusion-detection-dataset-design-cost-aware-models-and-research-pitfalls/119658/",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":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why does the thesis emphasize dataset quality for machine learning security tools?","Question",{"text":75,"@type":76},"Machine learning models depend on high-quality, representative datasets to learn reliable patterns. The work highlights that poor dataset design or imbalance can directly reduce detection performance and generalizability.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does the thesis collect data for Linux malware detection?",{"text":80,"@type":76},"It presents an eBPF-based automated data collection pipeline using Docker containers to generate labeled malware traces and clean environment traces, forming a dataset of clean and infected Linux systems.",{"name":82,"@type":73,"acceptedAnswer":83},"What is the purpose of cost-aware intrusion detection models in this thesis?",{"text":84,"@type":76},"The thesis aims to balance accuracy with real-time efficiency by exploring model combinations and sampling methods and by introducing twelve prediction cost functions that incorporate performance trade-offs.","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,123,128,131,135],{"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":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]