Encrypted Software Container Bootstrapping for Anti-Cracking Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing software protection methods are inadequate against reverse analysis and cracking, which undermines the profitability of software enterprises.
Innovation Solution
A software file and method that utilizes encryption containers and a bootstrap program to encrypt and decrypt working software within an encryption memory, ensuring authorization is required before execution, and uses multiple encryption keys to enhance security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If software is encrypted to form encrypted software, then anti-piracy ability is improved, but it is still possible to reverse and crack the encrypted software
Solution Approach 1:
The software is segmented into multiple components: encrypted binary code, authorization verification module, and runtime decryption module. This segmentation allows the software to maintain high anti-piracy capability while managing complexity through modular design, where each segment has a specific function in the protection mechanism.
Solution Approach 2:
Authorization verification is performed preliminarily before the software executes its main functions. The system checks authorization status in advance, and only after successful verification does it proceed to decrypt and execute the encrypted binary code, preventing unauthorized access before it can cause harm.
2Reliability
If software is encrypted, then anti-reversal capability is improved, but decryption is required for execution
Solution Approach 1:
The software includes a built-in runtime decryption module that automatically decrypts the encrypted binary code during execution. This self-service mechanism eliminates the need for external decryption tools or complex user operations, maintaining ease of execution while preserving anti-reversal capability through automatic in-memory decryption.
Solution Approach 2:
An intermediary decryption module acts as a bridge between the encrypted binary code and the CPU execution unit. This intermediary component handles the decryption process transparently, allowing the main software to remain encrypted while enabling smooth execution through the mediation of the decryption module.
3Reliability
If authorization verification is implemented, then software protection is improved, but unauthorized access attempts increase
Solution Approach 1:
The system implements preliminary anti-action by incorporating authorization verification that actively detects and blocks unauthorized access attempts before they can execute malicious code. The verification mechanism preemptively identifies piracy attempts and prevents them from succeeding, thereby protecting the software while the increased detection capability naturally leads to more identified unauthorized attempts.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
Embodiments of the present disclosure disclose a software file, a software running method and an apparatus related thereto, the software running method includes: obtaining a booting request to boot the working software of the software file; booting the bootstrap program of the software file according to the booting request and allocating an encryption memory for an encryption container corresponding to the software file; instructing the security processor through the bootstrap program to obtain the first decryption key of the encryption container disk image file of the software file and sending the first decryption key to the encryption container, so that the encryption container decrypts the encryption container disk image file to obtain the encryption container disk image and the working software stored in the encryption memory; running the encryption container disk image to boot the encryption container; and booting the working software when the encryption container is instructed to determine that a local authorization file in the encryption container disk image is legal. The software file, the software running method and the apparatus related thereto provided in the embodiments of the present disclosure can improve the anti-reversal and anti-cracking ability of the software.