Skip to content

Workaround for staged TCP osx meterpreter #21621

Open
eipoverflow wants to merge 2 commits into
rapid7:masterfrom
eipoverflow:fix/payloads/osx/x64/stager/tcp_bug_workaround
Open

Workaround for staged TCP osx meterpreter #21621
eipoverflow wants to merge 2 commits into
rapid7:masterfrom
eipoverflow:fix/payloads/osx/x64/stager/tcp_bug_workaround

Conversation

@eipoverflow

@eipoverflow eipoverflow commented Jun 30, 2026

Copy link
Copy Markdown

The staged TCP osx meterpreter does not work for certain distributions and version of MacOS. This is due to a bug in stager, which fails to load and execute final stage. The bug is in hijacking method used in stager, which does not work (probably) due to different offset across versions. This PR temporary disables that feature, so that staged payloads for osx work regardless.

Linked to #21629

@dledda-r7 dledda-r7 self-assigned this Jul 8, 2026
@dledda-r7 dledda-r7 moved this from Todo to Waiting on Review in Metasploit Kanban Jul 8, 2026
@dledda-r7 dledda-r7 moved this from Waiting on Review to Ready in Metasploit Kanban Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

4 participants