Skip to content

About

LLVM Obfuscation Pass To Globally Defeat Emulation Backends For Symbolic Executors/AI/Lifters

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Usermode Emulation Breaker

Built for LLVM 19.1 - Windows x64

Usermode applications have these lovely security boundaries to prevent it accessing elevated instructions for kernel purposes.
Symbolic execution environments aren't aware of this, they tend to use emulated environments that support both kernel and usermode processes, as they emulate the instruction execution, not the OS environment.
Thereby using the instructions that will fault on usage, we create a form of exception nanomites that require no registration, we just execute them, fault, continue.
A symbolic executor, Using an emulated backend, will execute it, corrupt the control flow, and continue on.

image
image

Annotations

__attribute__((annotate("obfus")))
  • Marks your function for the pass

How To Build

  • Download LLVM 19.1
  • Download VCPKG
  • VCPKG install asmjit
  • Open build.bat in a text editor.
  • Find the LLVM 19.1 references in the command line, Change them to your file path.
  • Find the VCPKG references in the command line, Change them to your file path.
  • Run the build script
  • Build your application with the -load-pass-plugin Param to the FunctionPass.dll

About

LLVM Obfuscation Pass To Globally Defeat Emulation Backends For Symbolic Executors/AI/Lifters

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages