Code Monkey home page Code Monkey logo

Comments (4)

zangobot avatar zangobot commented on May 30, 2024

Hi!

There is no "shuffling" of the sections: the shift attack makes space between the PE header and the first section.
In theory, you can shuffle them by messing with the offset contained in the various section entries.
you can find all the info inside the paper
We wrote every details of the algorithm there 👍

Thank you for your interest!!!

from secml_malware.

moritzbrodscholl avatar moritzbrodscholl commented on May 30, 2024

Thank you very much for the quick answer!

Am I right in assuming that this space is generated the same way as in the extend-attack (by moving the offset which points to the section backwards and inserting the payload to keep the file structure intact)?

from secml_malware.

zangobot avatar zangobot commented on May 30, 2024

Exactly, but the content is added in different locations.
Extend exploits the ambiguity posed by the PE offset, Shift exploits the section entry physical offset.

from secml_malware.

moritzbrodscholl avatar moritzbrodscholl commented on May 30, 2024

Thank you a lot for your help!!

from secml_malware.

Related Issues (20)

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.