VMPilot: A Modern C++ Virtual Machine SDK
VMPilot is an advanced virtual machine software development kit (SDK) implemented in C++. Secure by design, VMPilot is specifically engineered to safeguard your software from reverse engineering. Offering seamless integration and ease of use for your projects, VMPilot sets a new standard for software protection.
Unlike traditional black box solutions, VMPilot is built with transparency in mind. Its inner workings are easily understandable, yet formidable to crack. By incorporating modern cryptography and obfuscation techniques, your software is shielded against potential attacks. Even with the computing power of a supercomputer, breaking VMPilot in parallel becomes a daunting challenge.
Experience the power of VMPilot and fortify your software against reverse engineering threats.
Similar to VMProtect:
#include <vmpilot/sdk.hpp>
template <typename T>
T square(T x) {
VMPilot_Begin(__FUNCTION__);
auto result = x * x;
VMPilot_End(__FUNCTION__);
return result;
}
Output:
square:
push rbp
call _Z13VMPilot_BeginPKc ; VMPilot_Begin(__FUNCTION__);
... garbage code ...
... garbage code ...
... garbage code ...
call _Z11VMPilot_EndPKc ; VMPilot_End(__FUNCTION__);
pop rbp
ret
It would be fetched automatically by CPM(CMake Package Manager) during the build process.
It's our wrapper for capstone.
It's used to parse ELF files.
Release build
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -G Ninja -DCMAKE_LINKER=mold
ninja
Debug build
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -G Ninja -DCMAKE_LINKER=mold
ninja
The following projects are currently in progress and will be released in the future.
You are welcome to contribute to these projects, and if you have any questions or need further information about the details, please feel free to contact me.
VMPilot SDK
Identify the protected region in the target binary and save them into different files.
LLVM IR Obfuscator
Use the common library to encrypt the protected region.
Finish this first. It takes a segmented native x86 binary and decompiles it to LLVM IR.
Get
bytecode_compiler
's output, LLVM IR, and compile it to our bytecode.
Assemble encrypted bytecode and native code into a single binary.
VMPilot Loader
VMPilot runtime
Miscellaneous
Please refer to wiki for more information.