Coder Social home page Coder Social logo

Comments (3)

es3n1n avatar es3n1n commented on June 16, 2024

Hello,
Implementing such a feature requires a little bit more time than I have these days. And while theoretically implementing this is possible and at first glance doesn't require a lot of work, I am not sure if I would get to it anytime soon.
PR welcome though.

from obfuscator.

ZehMatt avatar ZehMatt commented on June 16, 2024

Is there even a reliable way to extend the existing .x section without having to fix RVA's for x64 builds? This will likely shift the address of sections that follow invalidating all RVA's. With relocation items its probably possible but there is still a chance that some code uses imagebase relative addressing.

from obfuscator.

es3n1n avatar es3n1n commented on June 16, 2024

Is there even a reliable way to extend the existing .x section without having to fix RVA's for x64 builds? This will likely shift the address of sections that follow invalidating all RVA's. With relocation items its probably possible but there is still a chance that some code uses imagebase relative addressing.

Ah yes, I completely forgot about x64 rva addressing, if we want to process those as well, we would need to analyze all of the functions within the binary and recompile every single one of them. This indeed requires a lot of work and at the current state I'm not 100% sure in reliableness of my code analysis thingy 😄, however, I fixed some bugs in the dev branch, but there are still a lot more.

However, there is another (a bit more dirty, but still) approach for this, with the custom SDK we can allocate a bunch of memory in the .text section and overwrite it with our stubs. But yeah, I'm not really a fan of such implementation 🤷‍♂️ .

from obfuscator.

Related Issues (14)

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.