Giter Site home page Giter Site logo

vmpilot's Introduction

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.

Expected Usage

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

Dependencies

  • CMake (3.20 or higher)
  • Supporting C++17 or higher compiler
  • OpenSSL 3.1.1
  • autotools (autoconf, automake, and libtool) for retdec

Underlining Dependencies

It would be fetched automatically by CPM(CMake Package Manager) during the build process.

Optional Dependencies

Build

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

Ongoing Projects

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

    • Protect Region Segmentator

      Identify the protected region in the target binary and save them into different files.

    • Protect Region Obfuscator

      LLVM IR Obfuscator

    • Protect Region Encryptor

      Use the common library to encrypt the protected region.

    • Native code decompiler (see sdk/include/bytecode_compiler/bytecode_compiler.hpp)
      • x86 support

        Finish this first. It takes a segmented native x86 binary and decompiles it to LLVM IR.

      • x86_64 support
      • Support for other architectures
        • ARM, ARM64
    • LLVM IR Backend

      Get bytecode_compiler's output, LLVM IR, and compile it to our bytecode.

    • Post-process assembler

      Assemble encrypted bytecode and native code into a single binary.

  • VMPilot Loader

    • ELF loader
    • PE loader
    • Mach-O loader
  • VMPilot runtime

    • VMPilot VM
  • Miscellaneous

    • Migrate OpenSSL to Botan
      • Remove OpenSSL dependency
      • CMake CPM support
    • Documentation
    • Unit tests
    • CI/CD

Documentation and Known Issues

Please refer to wiki for more information.

Flowchart

vmpilot's People

Contributors

25077667 avatar collieiscute avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.