Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve detecting when to realign the payload #90

Closed
hasherezade opened this issue Sep 3, 2021 · 1 comment
Closed

Improve detecting when to realign the payload #90

hasherezade opened this issue Sep 3, 2021 · 1 comment

Comments

@hasherezade
Copy link
Owner

hasherezade commented Sep 3, 2021

In case if the additional IAT is located in a virtual cave of the PE, it should be dumped as realigned in order to preserve it.
Example:

cave_example
Import Table was reconstructed correctly, but some of the thunks are not in the range of the raw file

If we request explicitly that the file should be dumped as realigned (/dmode 3), this problem does not occur.
Yet, it should be detected and adjusted automatically if run in the auto-detect mode.

@hasherezade
Copy link
Owner Author

Result: the same PE is dumped automatically as realigned:

dump_realigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant