Abstract
Software protection is an important research area in the computer field. Combined with the traditional asymmetric encryption algorithm which provides the measures of protection, computer fingerprinting was employed to identify the protection object. This novel software protection method is called AEA-CF, which stands for Asymmetric Encryption Algorithm based on Computer Fingerprint. Computers using AEA-CF must be connected to the Internet so that authentication information can be provided by a server. Experiments show that this method can protect software effectively.
Introduction
Traditional software protection mechanisms, such as registration codes (serial numbers) or hardware dongles, are increasingly vulnerable to sophisticated cracking techniques. These methods often rely on local authentication checks—like a simple if statement—that can be bypassed using debuggers or static analysis. Furthermore, credentials like serial numbers are easily shared, undermining the licensing model.
This paper proposes AEA-CF, a method that shifts the "source of truth" from the local machine to a remote server. By tying software execution directly to unique hardware identifiers and utilizing asymmetric encryption, the authors aim to make traditional cracking methods, such as keygenning and local bypasses, mathematically and architecturally much more difficult.
The AEA-CF Methodology
The core of AEA-CF is the integration of hardware fingerprints with RSA asymmetric encryption. The process is divided into two distinct phases: installation and execution.
1. Installation Phase
During the installation phase, the software extracts a unique hardware fingerprint ($A$) from the host machine, comprising identifiers like the CPU ID, MAC address, and Hard Disk serial number. This fingerprint is transmitted to a central server, which generates a private key ($K1$) using a proprietary function $F3(A)$ and a corresponding public key ($K2$). The server then encrypts the software's core protection module using $K2$ before the user downloads this machine-specific version.
2. Running Phase
In the running phase, every time the software is launched, it re-reads the hardware fingerprint and requests the decryption key from the server. The server validates the fingerprint and returns $K1$, allowing the local machine to decrypt the protection module into memory for execution. This ensures that the decryption key is never stored permanently on the user's machine.
Security Analysis and Key Insights
By moving the authentication logic to the network, AEA-CF addresses several critical vulnerabilities inherent in traditional software protection:
- Resistance to Local Bypasses: Since the decryption key is retrieved at runtime and the core logic is encrypted, pirates cannot simply "patch" a local check. The software remains non-functional without the server-provided key.
- Hardware Binding: The core module is uniquely encrypted for a specific machine. Copying the files to another PC renders them unexecutable because the hardware fingerprint will not match the required key, and the server will not provide the correct $K1$ for a mismatched fingerprint.
- Asymmetric Advantage: Using RSA ensures that the server holds the "power" to encrypt ($K2$), while the client only receives the "power" to decrypt ($K1$) temporarily. This prevents pirates from reverse-engineering the encryption process itself from the client side.
- Prevention of "Register Virtual Machines": Because the relationship between the fingerprint and the key ($F3$) is hidden on the server, pirates cannot build offline key generators.
Limitations and Future Directions
While AEA-CF offers robust security, it introduces certain trade-offs. The primary drawback is the requirement for a persistent internet connection to launch the software. Additionally, the server-side overhead of managing unique keys and encrypted modules for every user necessitates careful architectural planning; the authors suggest pre-calculating key pairs to minimize latency.
Furthermore, to balance security and speed, the authors recommend only encrypting "core" modules rather than the entire application. Future work may focus on optimizing the performance of runtime decryption and enhancing the robustness of hardware fingerprinting against sophisticated spoofing attacks where an attacker might attempt to "feed" the software a fake fingerprint.
Conclusion
AEA-CF represents a significant evolution in software protection by leveraging the security of asymmetric encryption and the uniqueness of hardware fingerprints. By centralizing authentication on a remote server and creating unique binaries for every user, it significantly raises the barrier for software piracy in an increasingly connected world.
Summary updated