Skip to content

About

LLVM Homomorphism Obfuscation Pass Laundering Self Mutating Encryption Keys Downwards Through Call Chains

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Function Chain Laundering

Built for LLVM 19.1 - Windows x64

This is a component of Nessa's homomorphism engine.
This is arguably one of the most important mechanisms to Nessa's homomorphism. We essentially take any function we can in the binary, clone it, then walk up the call chain, cloning everything up the chain.
Once we fully map out the functions parenting, we insert loads of encryption keys from the top down, up to 8 functions of full on mutation, since every site is a single xref clone, you need to defeat every site, and recover its entire callgraph.
Remember, every single call is indirected and encrypted, you can't walk backwards, only downwards from the entrypoint.
Each key is passed down through parameters, as every function is unique, every call chain knows what it has to pass down and each function mutates it as it goes down.

image
image
image
image
image

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 Homomorphism Obfuscation Pass Laundering Self Mutating Encryption Keys Downwards Through Call Chains

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages