MIPS (LE/BE) encoder modules are Linux only due to cacheflush system call

Open
#4,863 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
security

Research direction

Start with the mips{be,le}/byte_xori and mips{be,le}/longxor encoder modules and inspect how their cacheflush system-call requirement is represented. Then trace how operating-system compatibility is selected for exploits and payloads, including the suggested tags approach. Done means Linux-only uses of these modules are prevented from being selected for other operating systems.

Written by the indexing model from the issue text.

Description

library module

Metasploit encoder modules are supposed to be compatible across all operating system for the specified architecture. The use of the cacheflush system call in the mips{be,le}/byte_xori and mips{be,le}/longxor modules makes these Linux specific. We need some way to make sure that only Linux exploits and payloads use these modules (tags, etc).

Dominant language
Ruby
Stars
39k
Forks
15k
Avg merge
5d 6h
Merged PRs (30d)
32

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rapid7/metasploit-framework

All issues in rapid7/metasploit-framework

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.