Skip to content

Workaround for staged TCP osx meterpreter #21621

Merged
dledda-r7 merged 2 commits into
rapid7:masterfrom
eipoverflow:fix/payloads/osx/x64/stager/tcp_bug_workaround
Jul 15, 2026
Merged

Workaround for staged TCP osx meterpreter #21621
dledda-r7 merged 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
Contributor

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
@github-project-automation github-project-automation Bot moved this from Ready to In Progress in Metasploit Kanban Jul 15, 2026
@dledda-r7
dledda-r7 merged commit 3a064e4 into rapid7:master Jul 15, 2026
21 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Metasploit Kanban Jul 15, 2026
@dledda-r7 dledda-r7 added rn-no-release-notes no release notes rn-fix release notes fix and removed rn-no-release-notes no release notes labels Jul 15, 2026
@dledda-r7

dledda-r7 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Release Notes

This fix a limitation on running fileless staged meterpreter in recent OSX versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants