Development of a methodology for identifying the authorship of binary and disassembled program codes based on an ensemble of modern natural language processing methods
DOI: 10.21293/1818-0442-2023-26-4-53-60
DOI: 10.21293/1818-0442-2023-26-4-53-60
Abstract: This article is part of a series of studies aimed at solving problems of identifying the authorship of source code. The analysis of binary or disassembled code is a critical task in information security, software development, and computer forensics due to the need to protect intellectual property and copyright, as well as to identify the authors of malware. Any program is a machine code that can be disassembled (converted into text in assembly language) using specialized tools and analyzed for authorship by analogy with text in natural language. To solve this problem, the article proposes a technique based on the fastText ensemble, support vector machine (SVM) and the author-developed hybrid neural network. The proposed methodology was evaluated on source codes in C and C++ languages, collected from the GitHub and Google Code Jam platforms, compiled into executable files and disassembled using reverse engineering tools. The average accuracy of identifying the author of disassembled code using the proposed method was more than 0.9. The technique was also tested on source codes, resulting in an average accuracy of 0.96 in simple cases and more than 0.85 in complex cases (obfuscation, coding standards, etc.).
Keywords: source code, machine learning, author, neural networks, ensemble, disassembler
Funding: This work was carried out with financial support from the Ministry of Science and Higher Education of the Russian Federation within the framework of the basic part of the state assignment for TUSUR for 2023–2025 (project No. FEWM-2023-0015)
For citation:
Kurtukova A. V., Romanov A. S., Shelupanov A. A. Development of a methodology for identifying the authorship of binary and disassembled program codes based on an ensemble of modern natural language processing methods. Doklady Tomskogo gosudarstvennogo universiteta sistem upravleniya i radioelektroniki, 2023, vol. 26, no. 4, pp. 53–60. DOI: 10.21293/1818-0442-2023-26-4-53-60
Authors and copyright holders:
Executive Secretary of the Editor’s Office
Editor’s Office: 40 Lenina Prospect, Tomsk, 634050, Russia
Phone / Fax: + 7 (3822) 701-582
Viktor N. Maslennikov
Executive Secretary of the Editor’s Office
Editor’s Office: 40 Lenina Prospect, Tomsk, 634050, Russia
Phone / Fax: + 7 (3822) 51-21-21 / 51-43-02