{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T22:35:26Z","timestamp":1787524526077,"version":"build-2736575974"},"reference-count":35,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2024,3,21]],"date-time":"2024-03-21T00:00:00Z","timestamp":1710979200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Digital Threats"],"published-print":{"date-parts":[[2024,3,31]]},"abstract":"<jats:p>Reverse engineering is the process of understanding the inner working of a software system without having the source code. It is critical for firmware security validation, software vulnerability research, and malware analysis. However, it often requires a significant amount of manual effort. Recently, data-driven solutions were proposed to reduce manual effort by identifying the code clones on the assembly or the source level. However, security analysts still have to understand the matched assembly or source code to develop an understanding of the functionality, and it is assumed that such a matched candidate always exists. This research bridges the gap by introducing the problem of assembly code summarization. Given the assembly code as input, we propose a machine-learning-based system that can produce human-readable summarizations of the functionalities in the context of code vulnerability analysis. We generate the first assembly code to function summary dataset and propose to leverage the encoder-decoder architecture. With the attention mechanism, it is possible to understand what aspects of the assembly code had the largest impact on generating the summary. Our experiment shows that the proposed solution achieves high accuracy and the Bilingual Evaluation Understudy (BLEU) score. Finally, we have performed case studies on real-life CVE vulnerability cases to better understand the proposed method\u2019s performance and practical implications.<\/jats:p>","DOI":"10.1145\/3592623","type":"journal-article","created":{"date-parts":[[2023,5,18]],"date-time":"2023-05-18T12:14:40Z","timestamp":1684412080000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Asm2Seq: Explainable Assembly Code Functional Summary Generation for Reverse Engineering and Vulnerability Analysis"],"prefix":"10.1145","volume":"5","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7907-2426","authenticated-orcid":false,"given":"Scarlett","family":"Taviss","sequence":"first","affiliation":[{"name":"School of Computing, Queen\u2019s University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4513-200X","authenticated-orcid":false,"given":"Steven H. H.","family":"Ding","sequence":"additional","affiliation":[{"name":"School of Computing, Queen\u2019s University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0913-3638","authenticated-orcid":false,"given":"Mohammad","family":"Zulkernine","sequence":"additional","affiliation":[{"name":"School of Computing, Queen\u2019s University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4051-9942","authenticated-orcid":false,"given":"Philippe","family":"Charland","sequence":"additional","affiliation":[{"name":"Mission Critical Cyber Security Section, Defence R&amp;D Canada, Quebec, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3014-0907","authenticated-orcid":false,"given":"Sudipta","family":"Acharya","sequence":"additional","affiliation":[{"name":"School of Computing, Queen\u2019s University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,3,21]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/2786805.2786849"},{"key":"e_1_3_2_3_2","first-page":"2091","volume-title":"Proceedings of the 33rd International Conference on Machine Learning","author":"Allamanis Miltiadis","year":"2016","unstructured":"Miltiadis Allamanis, Hao Peng, and Charles Sutton. 2016. A convolutional attention network for extreme summarization of source code. In Proceedings of the 33rd International Conference on Machine Learning. 2091\u20132100."},{"key":"e_1_3_2_4_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Alon Uri","year":"2019","unstructured":"Uri Alon, Omer Levy, and Eran Yahav. 2019. code2seq: Generating sequences from structured representations of code. In Proceedings of the International Conference on Learning Representations. Retrieved from https:\/\/openreview.net\/forum?id=H1gKYo09tX."},{"key":"e_1_3_2_5_2","unstructured":"Dzmitry Bahdanau Kyunghyun Cho and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In 3rd International Conference on Learning Representations (ICLR\u201915 San Diego CA USA May 7-9 2015 Conference Track Proceedings)."},{"key":"e_1_3_2_6_2","first-page":"845","volume-title":"Proceedings of the 23rd USENIX Security Symposium (USENIX Security\u201914)","author":"Bao Tiffany","year":"2014","unstructured":"Tiffany Bao, Jonathan Burket, Maverick Woo, Rafael Turner, and David Brumley. 2014. BYTEWEIGHT: Learning to recognize functions in binary code. In Proceedings of the 23rd USENIX Security Symposium (USENIX Security\u201914). USENIX Association, San Diego, CA, 845\u2013860."},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2012.345"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22110-1_37"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.3115\/v1\/W14-4012"},{"key":"e_1_3_2_10_2","unstructured":"Kyunghyun Cho Bart van Merrienboer Caglar Gulcehre Dzmitry Bahdanau Fethi Bougares Holger Schwenk and Yoshua Bengio. 2014. Learning phrase representations using RNN encoder\u2013decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP\u201914) Association for Computational Linguistics Doha Qatar 1724\u20131734. https:\/\/aclanthology.org\/D14-1179."},{"key":"e_1_3_2_11_2","first-page":"99","volume-title":"Proceedings of the 26th USENIX Security Symposium (USENIX Security\u201917)","author":"Chua Zheng Leong","year":"2017","unstructured":"Zheng Leong Chua, Shiqi Shen, Prateek Saxena, and Zhenkai Liang. 2017. Neural nets can learn function type signatures from binaries. In Proceedings of the 26th USENIX Security Symposium (USENIX Security\u201917). Vancouver, BC, 99\u2013116."},{"key":"e_1_3_2_12_2","unstructured":"Junyoung Chung Caglar Gulcehre Kyunghyun Cho and Yoshua Bengio. 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. NIPS 2014 Workshop on Deep Learning."},{"key":"e_1_3_2_13_2","doi-asserted-by":"crossref","unstructured":"Zhiyong Cui Ruimin Ke Ziyuan Pu and Y. Wang. 2020. Stacked bidirectional and unidirectional LSTM recurrent neural network for forecasting network-wide traffic state with missing values. Transportation Research Part C: Emerging Technologies 118 (2020) 102674\u2013102688.","DOI":"10.1016\/j.trc.2020.102674"},{"key":"e_1_3_2_14_2","doi-asserted-by":"crossref","first-page":"92","DOI":"10.1109\/CTEMS.2018.8769211","volume-title":"Proceedings of the 2018 International Conference on Computational Techniques, Electronics and Mechanical Systems (CTEMS\u201918)","author":"Dogo E. M.","year":"2018","unstructured":"E. M. Dogo, O. J. Afolabi, N. I. Nwulu, Bhekisipho Twala, and C. O. Aigbavboa. 2018. A comparative analysis of gradient descent-based optimization algorithms on convolutional neural networks. In Proceedings of the 2018 International Conference on Computational Techniques, Electronics and Mechanical Systems (CTEMS\u201918). IEEE, 92\u201399."},{"key":"e_1_3_2_15_2","first-page":"414","volume-title":"Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER\u201919)","author":"Gao S.","year":"2019","unstructured":"S. Gao, C. Chen, Z. Xing, Y. Ma, W. Song, and S. Lin. 2019. A neural model for method name generation from functional description. In Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER\u201919). 414\u2013421."},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.5555\/3110856"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-24797-2"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICASSP.2013.6638947"},{"key":"e_1_3_2_19_2","doi-asserted-by":"crossref","first-page":"2047","DOI":"10.1109\/IJCNN.2005.1556215","volume-title":"Proceedings of the 2005 IEEE International Joint Conference on Neural Networks","author":"Graves A.","year":"2005","unstructured":"A. Graves and J. Schmidhuber. 2005. Framewise phoneme classification with bidirectional LSTM networks. In Proceedings of the 2005 IEEE International Joint Conference on Neural Networks. 2047\u20132052."},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2019.05.026"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P16-1195"},{"key":"e_1_3_2_22_2","first-page":"602","volume-title":"Proceedings of the 2019 34th IEEE\/ACM International Conference on Automated Software Engineering (ASE\u201919)","author":"Jiang L.","year":"2019","unstructured":"L. Jiang, H. Liu, and H. Jiang. 2019. Machine learning based recommendation of method names: How far are we. In Proceedings of the 2019 34th IEEE\/ACM International Conference on Automated Software Engineering (ASE\u201919). 602\u2013614."},{"key":"e_1_3_2_23_2","first-page":"346","volume-title":"Proceedings of the 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER\u201918)","author":"Katz D. S.","year":"2018","unstructured":"D. S. Katz, J. Ruchti, and E. Schulte. 2018. Using recurrent neural networks for decompilation. In Proceedings of the 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER\u201918). 346\u2013356."},{"key":"e_1_3_2_24_2","volume-title":"Proceedings of the ICLR","author":"Le Tue","year":"2019","unstructured":"Tue Le, Tuan Nguyen, Trung Le, Dinh Q. Phung, P. Montague, O. Vel, and Lizhen Qu. 2019. Maximal divergence sequential autoencoder for binary software vulnerability detection. In Proceedings of the ICLR."},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00087"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.5555\/3305890.3305892"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P16-1057"},{"key":"e_1_3_2_28_2","doi-asserted-by":"crossref","first-page":"706","DOI":"10.2991\/ijcis.d.200527.005","article-title":"Using recurrent neural networks for part-of-speech tagging and subject and predicate classification in a sentence","volume":"13","author":"Mu\u00f1oz-Valero David","year":"2020","unstructured":"David Mu\u00f1oz-Valero, Luis Rodriguez-Benitez, Luis Jimenez-Linares, and Juan Moreno-Garcia. 2020. Using recurrent neural networks for part-of-speech tagging and subject and predicate classification in a sentence. International Journal of Computational Intelligence Systems 13, 1 (2020), 706\u2013716.","journal-title":"International Journal of Computational Intelligence Systems"},{"key":"e_1_3_2_29_2","first-page":"311","volume-title":"Proceedings of the 40th Annual Meeting on Association for Computational Linguistics (ACL\u201902)","author":"Papineni Kishore","year":"2002","unstructured":"Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. BLEU: A method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting on Association for Computational Linguistics (ACL\u201902). Association for Computational Linguistics, 311\u2013318."},{"key":"e_1_3_2_30_2","unstructured":"Sebastian Ruder. 2016. An overview of gradient descent optimization algorithms. CoRR abs\/1609.04747 (2016). http:\/\/arxiv.org\/abs\/1609.04747."},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.5555\/2831143.2831182"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2931579"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.5555\/2969033.2969173"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1515\/pralin-2017-0015"},{"key":"e_1_3_2_35_2","unstructured":"Bolin Wei Ge Li Xin Xia Zhiyi Fu and Zhi Jin. 2019. Code generation as a dual task of code summarization. Advances in Neural Information Processing Systems Curran Associates Inc. Vol. 32. https:\/\/proceedings.neurips.cc\/paper_files\/paper\/2019\/file\/e52ad5c9f751f599492b4f087ed7ecfc-Paper.pdf."},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2019.2917668"}],"container-title":["Digital Threats: Research and Practice"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3592623","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3592623","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T18:08:56Z","timestamp":1750183736000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3592623"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,3,21]]},"references-count":35,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2024,3,31]]}},"alternative-id":["10.1145\/3592623"],"URL":"https:\/\/doi.org\/10.1145\/3592623","relation":{},"ISSN":["2692-1626","2576-5337"],"issn-type":[{"value":"2692-1626","type":"print"},{"value":"2576-5337","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,3,21]]},"assertion":[{"value":"2022-05-30","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-03-23","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-03-21","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}