Software Code Protection on the .NET Platform
Authors:
- Lviv Polytechnic National UniversityLULviv Polytechnic National University
- Andriy FechanAFAndriy Fechan
- Oleksii KhoverkoOKOleksii Khoverko
Open Access
- 1 June 2025
- journal article
- Published by Lviv Polytechnic National University in Computer systems and network
- Vol. 17, 17-33
Abstract
In the work, a study of the functioning of complex information systems is carried out, which is aimed at the analysis of existing protection methods, the development of the concept of the code transformation mechanism, which will ensure a high level of protection of .NET applications. The architecture of the .NET Framework with modern universal improvements is considered. One of the important elements is the Base Class Library (BCL), which is a set of base classes and libraries that provide standard functionality, such as working with files, networks, databases, text processing, and basic data structures. It was determined that obfuscation is one of the most common methods of software protection, which consists in modifying the source or intermediate code in such a way as to preserve its functionality, but make it difficult to understand. The main features of code improvement are established, which consist in obfuscating execution flows, encrypting string literals, and using packers and crypters. A characteristic feature of packers and crypters is direct injection into memory, which reflects its functionality in unpacking or decrypting program code directly into random access memory (RAM), which makes it difficult to remove a dump of the process. In addition, the entanglement of execution threads allows you to modify the logic of the software operation by inserting unnecessary conditions, loops or transitions, which creates complex execution structures. The anti-debugging process is proposed, which is one of the key components of software protection against reverse engineering. A conceptual approach to the implementation of software anti-debugging mechanisms is formed, which consists in multi-level protection of software and changes the instructions and behavior of the virtual machine. One of the important elements of such algorithms is checking parent processes and detecting debugging using hardware breakpoints. This, in its turn, opens up the possibility during the design of a virtual machine in combination with other techniques to create significant obstacles for the analysis of the software code.Keywords
This publication has 8 references indexed in Scilit:
- ADVANCED TECHNIQUESIN OF SOFTWARE CODE OBFUSCATION USING ARTIFICIAL INTELLIGENCEScientific notes of Taurida National V.I. Vernadsky University. Series: Technical Sciences, 2024
- A taxonomy of IoT firmware security and principal firmware analysis techniquesInternational Journal of Critical Infrastructure Protection, 2022
- VMGuards: A Novel Virtual Machine Based Code Protection System with VM Security as the First Class Design ConcernApplied Sciences, 2018
- International Journal of Advanced Research in Computer Science and Software EngineeringInternational Journal of Advanced Research in Computer Science and Software Engineering, 2017
- Software protection for dynamically-generated code2013
- Multi-stage Binary Code Obfuscation Using Improved Virtual Machine2011
- The Tools Perspective on Software Reverse Engineering2010
- Proteus2006