[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-493293-105":59,"doc-detail-493293-en":131},{"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":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","flowmaltrans-unsupervised-binary-code-translation-for-malware-detection-using-flow-adapter-architecture","FlowMalTrans - Unsupervised Binary Code Translation for Malware Detection Using Flow-Adapter Architecture","","Applying deep learning to malware detection has gained strong interest due to its effective performance. Because malware targets many Instruction Set Architectures (ISAs), detection systems must generalize across ISA diversity. However, training deep models typically requires large labeled malware datasets per ISA, making data collection and labeling costly. FlowMalTrans reduces this burden by leveraging Neural Machine Translation ideas and Normalizing Flows to translate malware between ISAs and enable cross-ISA detection using models trained on a target ISA.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/flowmaltrans-unsupervised-binary-code-translation-for-malware-detection-using-flow-adapter-architecture/493293/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/flowmaltrans-unsupervised-binary-code-translation-for-malware-detection-using-flow-adapter-architecture/493293.png","ImageObject",300,407,{"name":92,"@type":93},"anakgang17","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-10-01",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why is cross-ISA malware detection difficult with deep learning?","Question",{"text":113,"@type":114},"Malware affects many Instruction Set Architectures, but training requires extensive labeled malware samples for each ISA, which is especially scarce for low-resource ISAs.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does FlowMalTrans reduce the need for labeled malware data?",{"text":118,"@type":114},"For a given source ISA, it translates binaries into a target ISA that has sufficient malware samples, then uses a model trained on the target ISA to analyze the translated code.",{"name":120,"@type":111,"acceptedAnswer":121},"What role do Normalizing Flows play in the proposed architecture?",{"text":122,"@type":114},"Normalizing flows are used as invertible transformations to capture ISA-specific syntax and semantic dependencies, improving translation structure, reliability, and generalization to unseen binaries.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},493293,1791364805,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},962090883568,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","FlowMalTrans: Unsupervised Binary Code Translation for Malware Detection Using Flow-Adapter Architecture  \nMinghao Hu  \nGeorge Mason University [mhu20@gmu.edu](mhu20@gmu.edu)  \nJunzhe Wang  \nGeorge Mason University [jwang69@gmu.edu](jwang69@gmu.edu)  \nWeisen Zhao  \nGeorge Mason University [wzhao9@gmu.edu](wzhao9@gmu.edu)  \nQiang Zeng  \nGeorge Mason University [zeng@gmu.edu](zeng@gmu.edu)  \nLannan Luo B  \nGeorge Mason University [lluo4@gmu.edu](lluo4@gmu.edu)  \narXiv :2508 .202 12v2 [ cs .CR] 6 Sep 2025  \nAbstract  \nApplying deep learning to malware detection has drawn great attention due to its notable performance. As malware spreads across a wide range of Instruction Set Architectures (ISAs), it is important to extend malware detection capacity to multiple ISAs. However, training a deep learning-based malware detection model usually requires a large number of labeled malware samples. The process of collecting and labeling sufficient malware samples to build datasets for each ISA is labor-intensive and time-consuming. To reduce the burden of data collection, we propose to leverage the ideas of Neural Machine Translation (NMT) and Normalizing Flows (NFs) for malware detection.  \nSpecifically, when dealing with malware in a certain ISA, we translate it to an ISA with sufficient malware samples (like X86-64) . This allows us to apply a model trained on one ISAto analyze malware from another ISA. We have implemented and evaluated the model on seven ISAs. The results demonstrate the high translation capability of our model, enabling superior malware detection across ISAs. We have made our code and dataset open-sourced available 1.  \n1 Introduction  \nMalware is defined as software intended to damage computers or associated systems (Preda et al., 2008) . In recent years, many malware detection tools have been developed (Xie et al., 2024), and their success largely depends on the underlying techniques. Signature-based detection identifies malware by matching patterns from known malware families (Sathyanarayan et al., 2008), but it often fails to detect altered or novel malware. In contrast, behavior-based detection analyzes program execution to identify suspicious behavior (Liu et al., 2011), yet this method lacks scalability.  \nThe use of deep learning methods like LSTMand CNNs in malware detection has garnered sig-  \n1 [https://github.com/mhu16419/FlowMalTrans](https://github.com/mhu16419/FlowMalTrans)  \nnificant interest because of their strong performance (Sewak et al., 2018 ; Gopinath and Sethuraman, 2023) . However, there are two major challenges that hinder the broader adoption of deep learning in this domain.  \nChallenges. Malware infects a broad range of Instruction Set Architectures (ISAs) . With the rise in cyberattacks on IoT devices (Chen et al., 2025 ; Ma et al., 2023 ; Tsai et al., 2024), malware has begun targeting an increasing number of ISAs (Davanian and Faloutsos, 2022 ; Caviglione et al., 2020) . Hence, it is essential to enable malware detection across ISAs. Currently, there are numerous ISAs available (Wang et al., 2023a) . Due to this wide variety, training one model for each ISA demands substantial time and effort. In addition, deep learning models rely heavily on having enough malware samples during training, which is problematic for low-resource ISAs where such data is limited. Our Approach. Malware is generally closedsource whose original source code is typically inaccessible. What is available is the binary form of the malware. Once disassembled, this binary can be represented in assembly language. Based on this observation, we propose leveraging Neural Machine Translation (NMT) techniques (Artetxeet al., 2018) to facilitate malware analysis.  \nWhen handling a binary in a given ISA (referred to as the source ISA), we translate it to an ISA with rich malware samples, such as X86-64, which we refer to as the target ISA. Once translated, we use a model trained on the target ISA to test the translated code. Th","cbCaicGOwNwu80dB","https://ap.wps.com/l/cbCaicGOwNwu80dB","pdf",642973,21,"English","# Abstract\n# Introduction\n## Challenges\n## Our Approach","[{\"question\":\"Why is cross-ISA malware detection difficult with deep learning?\",\"answer\":\"Malware affects many Instruction Set Architectures, but training requires extensive labeled malware samples for each ISA, which is especially scarce for low-resource ISAs.\"},{\"question\":\"How does FlowMalTrans reduce the need for labeled malware data?\",\"answer\":\"For a given source ISA, it translates binaries into a target ISA that has sufficient malware samples, then uses a model trained on the target ISA to analyze the translated code.\"},{\"question\":\"What role do Normalizing Flows play in the proposed architecture?\",\"answer\":\"Normalizing flows are used as invertible transformations to capture ISA-specific syntax and semantic dependencies, improving translation structure, reliability, and generalization to unseen binaries.\"}]","FlowMalTrans - Unsupervised Binary Code Translation for Malware Detection Using Flow-Adapter Architecture | PDF",1790879556,53,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c267d4fd5be62b9a6be9270e98a06369.webp",983,1390,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7e6ca12c6e7983e00bd7442599550644.webp",982,1388,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/fe4f80ef52396a49221b726abd2a9ca8.webp",981,1387,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/65342f175eb4d0ff9976ff2fa8f82633.webp",980,1385]