[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-455383-en":59,"doc-seo-455383-105":100,"doc-similar-455383":164},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":72,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":73,"language":74,"language_code":75,"site_id":76,"html_lang":75,"table_of_contents":77,"faqs":78,"seo_title":79,"seo_description":66,"update_tm":80,"read_time":81,"preview_page_count":19,"preview_urls":82},455383,3985747870947,"dawugda","https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","A distributed framework for zero-day malware detection using federated ensemble models","Classification and detection of zero-day attacks remain a significant challenge within cybersecurity. Vast malware diversity and imbalanced data complicate real-time detection and classification, reducing precision and robustness. The paper proposes a stacked ensemble federated learning model using accuracy-aware node weighting to address inter- and intra-class similarities. Malware Portable Executable files are collected, antivirus-validated via VirusTotal, converted to images and categorized into 28 families. Deep transfer-learning features from a fine-tuned ResNet-50 are extracted, then stacked centrally for improved generalization and efficient robust classification.","OPEN ACCESS  \nCitation: Ishfaq H, Shah JH, Saleem R, Afzal M (2026) A distributed framework for zero-day malware detection using federated ensemble models. PLoS One 21(1): e0339907. [https://](https://)[ ](https://)[doi.org/10.1371/journal.pone.0339907](doi.org/10.1371/journal.pone.0339907)  \nEditor: Sohail Saif, Maulana Abul Kalam Azad University of Technology West Bengal, INDIA Received: June 24, 2025  \nAccepted: December 12, 2025  \nPublished: January 7, 2026  \nPeer Review History: PLOS recognizes the benefits of transparency in the peer review process; therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. The editorial history of this article is available here: [https://doi.org/10.1371/journal](https://doi.org/10.1371/journal). pone.0339907  \nCopyright: © 2026 Ishfaq et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.  \nRESEARCH ARTICLE  \nA distributed framework for zero-day malware detection using federated ensemble models  \nHassan Ishfaq1, Jamal Hussain Shah1*, Rabia Saleem2, Maira Afzal1  \n1 Department of Computer Science, COMSATS University Islamabad, Wah Cantt, Pakistan,  \n2 Department of Computer Science, Government College University, Faisalabad, Pakistan  \n* [jhshah@ciitwah.edu.pk](jhshah@ciitwah.edu.pk)  \nAbstract  \nClassification and detection of zero-day attacks remain a significant challenge within the domain of cybersecurity. Due to the vast types of malware families and the presence of an imbalanced dataset, real-time detection and classification become increasingly complex and inaccurate. Thus, there’s an urgent need to develop an intelligent and adaptive defense mechanism capable of identifying and classifying such attacks with improved precision and robustness. This paper proposed a stacked ensemble federated learning model with an accuracy-aware node weighting scheme to address the challenges posed by inter-and intra-class similarities among different types of malwares. In the initial phase, malware Portable Executable (PE) files are collected from multiple online repositories and validated by three different antivirus programs through VirusTotal to ensure reliability. These validated files are then converted into image form and categorized into 28 families to facilitate feature extraction. In the second phase, deep feature representations are extracted through a transfer learning-based fine-tuned ResNet-50 model, which captures both low-level and high-level patterns that are relevant to malware classification. After feature extraction from multiple distributed nodes, architecture is fed into the novel proposed Ensemble Stacked Federated Model for enhanced generalization and robust classification. The model is tested on both private and publicly available datasets. The experimental results demonstrate that the proposed method outperforms existing baseline approaches in terms of accuracy and computational efficiency. This improvement is achieved because it performs independent training at each federated node separately and then stacks their outputs with a central ensemble model, which enhances the learning rate and reduces overfitting. The code used for the experiments is available here.  \n1. Introduction  \nThe cybercrimes and cyberattacks including malware have seen an impressive and the consistent rise recently. Even with significant advancements within modern  \nPLOS One | [https://doi.org/10.1371/journal.pone.0339907](https://doi.org/10.1371/journal.pone.0339907) January 7, 2026 1 / 27  \nData availability statement: The dataset supporting the findings of this study is publicly available in the FigShare repository at [https://](https://)[ ](https://)[doi.org/10.6084/m9.figshare.29107697](doi.org/10.6084/m9.figshare.29107697), and code at Git","cbCaibECypVhzvUs","https://ap.wps.com/l/cbCaibECypVhzvUs","pdf",3935658,11,27,"English","en",105,"# Abstract\n# 1. Introduction\n# Data availability statement\n# Funding\n# Competing interests","[{\"question\":\"What problem does the proposed work target?\",\"answer\":\"It targets accurate real-time classification of zero-day attacks under challenges created by malware diversity and imbalanced datasets.\"},{\"question\":\"How are malware samples prepared for the model?\",\"answer\":\"Portable Executable (PE) files are collected, validated with three antivirus engines through VirusTotal, converted into image form, and grouped into 28 malware families for feature extraction.\"},{\"question\":\"What model architecture does the paper propose for federated learning?\",\"answer\":\"It uses a transfer-learning fine-tuned ResNet-50 to extract deep features at distributed nodes, then trains independently at each node and stacks the node outputs with a central ensemble model using accuracy-aware node weighting.\"}]","A distributed framework for zero-day malware detection using federated ensemble models | PDF",1790742744,68,[83,87,91,96],{"page_no":8,"url":84,"width":85,"height":86},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/25f417d7f1617ccef0c7494b838d11b5.webp",983,1272,{"page_no":14,"url":88,"width":89,"height":90},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6c65e3746f0024f09e588bbcb5f75765.webp",982,1270,{"page_no":92,"url":93,"width":94,"height":95},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7c9a85a27352329d169c5ba4e837a143.webp",981,1269,{"page_no":19,"url":97,"width":98,"height":99},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/34edb4631f7b8e80bc93ce2b7163f969.webp",980,1268,{"code":4,"msg":101,"data":102},"ok",{"site_id":76,"language":75,"slug":103,"title":65,"keywords":104,"description":66,"schema_data":105,"social_meta":158,"head_meta":160,"extra_data":162,"updated_unix":163},"a-distributed-framework-for-zero-day-malware-detection-using-federated-ensemble-models","",{"@graph":106,"@context":157},[107,120,140],{"@type":108,"itemListElement":109},"BreadcrumbList",[110,114,116,118],{"item":111,"name":112,"@type":113,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":115,"name":9,"@type":113,"position":14},"https://docshare.wps.com/document/",{"item":117,"name":40,"@type":113,"position":92},"https://docshare.wps.com/document/research-report/",{"item":119,"name":65,"@type":113,"position":19},"https://docshare.wps.com/document/a-distributed-framework-for-zero-day-malware-detection-using-federated-ensemble-models/455383/",{"url":119,"name":65,"@type":121,"image":122,"author":127,"headline":65,"publisher":129,"fileFormat":132,"inLanguage":75,"description":66,"dateModified":133,"datePublished":134,"encodingFormat":132,"isAccessibleForFree":135,"interactionStatistic":136},"DigitalDocument",{"url":123,"@type":124,"width":125,"height":126},"https://docshare.wps.com/thumbnails/a-distributed-framework-for-zero-day-malware-detection-using-federated-ensemble-models/455383.png","ImageObject",300,407,{"name":63,"@type":128},"Person",{"url":111,"name":130,"@type":131},"DocShare","Organization","application/pdf","2026-11-30","2026-09-30",true,{"@type":137,"interactionType":138,"userInteractionCount":72},"InteractionCounter",{"@type":139},"ViewAction",{"@type":141,"mainEntity":142},"FAQPage",[143,149,153],{"name":144,"@type":145,"acceptedAnswer":146},"What problem does the proposed work target?","Question",{"text":147,"@type":148},"It targets accurate real-time classification of zero-day attacks under challenges created by malware diversity and imbalanced datasets.","Answer",{"name":150,"@type":145,"acceptedAnswer":151},"How are malware samples prepared for the model?",{"text":152,"@type":148},"Portable Executable (PE) files are collected, validated with three antivirus engines through VirusTotal, converted into image form, and grouped into 28 malware families for feature extraction.",{"name":154,"@type":145,"acceptedAnswer":155},"What model architecture does the paper propose for federated learning?",{"text":156,"@type":148},"It uses a transfer-learning fine-tuned ResNet-50 to extract deep features at distributed nodes, then trains independently at each node and stacks the node outputs with a central ensemble model using accuracy-aware node weighting.","https://schema.org",{"og:url":119,"og:type":159,"og:title":65,"og:site_name":130,"og:description":66},"article",{"robots":161,"canonical":119},"index,follow",{"doc_id":61,"site_id":76},1790870335,{"list":165,"token":104},[166,173,179,185,192,198,205,211,218,225],{"doc_id":167,"doc_title":168,"file_type":70,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":40,"create_tm":172},31373,"Analysis of Fileless Malware and its Evasive Behavior","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229739869121/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=Fci2htT9y0OLuO7MSSpcHB1MytU%3D","analysis-of-fileless-malware-and-its-evasive-behavior",48,1779397258,{"doc_id":174,"doc_title":175,"file_type":70,"home_preview_img_url":176,"slug":177,"view_count":81,"category_name":40,"create_tm":178},31032,"Obfuscated File-less Malware Detection Using Memory Forensics and Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229727954941/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=TZQB4yzV0q2n3XWj9EooN0xV0hM%3D","obfuscated-file-less-malware-detection-using-memory-forensics-and-machine-learning",1778533223,{"doc_id":180,"doc_title":181,"file_type":70,"home_preview_img_url":182,"slug":183,"view_count":56,"category_name":40,"create_tm":184},124216,"Machine Learning and Federated Learning-Guided Defense for Cyber-Security - A Dissertation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837083752/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=zi4wwn6HLlIbJS0DCaZFUn4juT0%3D","machine-learning-and-federated-learning-guided-defense-for-cyber-security-a-dissertation",1785821065,{"doc_id":186,"doc_title":187,"file_type":70,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":40,"create_tm":191},122232,"IMPROVING MALWARE DETECTION USING INFORMATION GAIN AND ENSEMBLE MACHINE LEARNING","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836746540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=FmWlmlC3YGwFOEP4VcOgzD5x77c%3D","improving-malware-detection-using-information-gain-and-ensemble-machine-learning",26,1785809544,{"doc_id":193,"doc_title":194,"file_type":70,"home_preview_img_url":195,"slug":196,"view_count":46,"category_name":40,"create_tm":197},122332,"Malware detection using machine learning - Master of Science thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836886305/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=WlpT%2FRojm4lfql5XkJtrclksicM%3D","malware-detection-using-machine-learning-master-of-science-thesis",1785810068,{"doc_id":199,"doc_title":200,"file_type":70,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},123237,"Numerical Simulation and Assessment of Hyper Parameter Tuned Machine Learning Based Malware Detection System","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836993371/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=bKFPkdHfgtiSeiKKT%2FN16dWw2sQ%3D","numerical-simulation-and-assessment-of-hyper-parameter-tuned-machine-learning-based-malware-detection-system",17,1785815380,{"doc_id":206,"doc_title":207,"file_type":70,"home_preview_img_url":208,"slug":209,"view_count":24,"category_name":40,"create_tm":210},678475,"An emerging threat - Fileless malware - a survey and research challenges","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229995076100/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=hj7sqz%2FtJA7XfiyMH%2BUmAblx8xo%3D","an-emerging-threat-fileless-malware-a-survey-and-research-challenges",1793827609,{"doc_id":212,"doc_title":213,"file_type":70,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},124158,"Malware Classification Using Machine Learning and Dimension Reduction Techniques on PE File Data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837079812/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=evSCHXkpsX%2B1vnBRvQncRVHUXeg%3D","malware-classification-using-machine-learning-and-dimension-reduction-techniques-on-pe-file-data",25,1785820785,{"doc_id":219,"doc_title":220,"file_type":70,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":40,"create_tm":224},291250,"MACHINE LEARNING IN CYBERSECURITY - EXPLORING APPROACHES FOR MALWARE DETECTION AND CATEGORIZATION - Master’s Degree Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903762311/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=0AoVWeWxsc1sdKkcmZX8Ff4Usoc%3D","machine-learning-in-cybersecurity-exploring-approaches-for-malware-detection-and-categorization-masters-degree-thesis",16,1789643874,{"doc_id":226,"doc_title":227,"file_type":70,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":40,"create_tm":231},128162,"Detailed Analyses and Efficient Identification of Malware Evidence in CLaMP Dataset based on Machine Learning Approaches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839480548/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=2ge%2FuQoA%2BrpIMje%2F0oc80VqR0U8%3D","detailed-analyses-and-efficient-identification-of-malware-evidence-in-clamp-dataset-based-on-machine-learning-approaches",14,1785945209]