Meterpreter Loader Improvements#21141
Open
jbx81-1337 wants to merge 11 commits into
Open
Conversation
9f82a56 to
b623c75
Compare
"block" isn't a valid type of blocks any more, now it's instructions and data.
1e01993 to
7b3c7ab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the Meterpreter Loader
Fixes: #21132
This pull request adds support for using a custom loader when staging the Meterpreter
Custom Loader Support:
Added a new advanced option
MeterpreterLoader::CustomLoader(boolean)Updated the
stage_meterpretermethod to check for the custom loader option and, if enabled, read and append a user-provided custom loader binary (custom_loader.x64.bin) to the Meterpreter DLL, adjusting offsetsIn addition to the custom loader option, the x64 meterpreter loader now also have a Polymorphic Reflective Loader embedded into the stub. This allows to use metsrv DLLs that doesn't have any reflective loader included.
Reflective Loader Features: