Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This gem is a Metasploit-specific gem that contains all of the Meterpreter payloads (except for Mettle). This is made up of:
Mettle, the Native Linux / Posix payload, currently is developed at https://github.com/rapid7/mettle (to be moved here at some point?)
Given the nature of the contents of this gem, installation outside of Metasploit is not advised. To use Meterpreter, download and install Metasploit itself.
To build the gem:
lib/metasploit-payloads/version.rb
rake win_prep
to build on Windowsrake java_prep
to build Java filesrake python_prep
and rake php_prep
to copy the latest PHP/Python
meterpreter files into placedata
folder.rake build
to generate the new gem file using content in
meterpreter folder.rake release
to release the binary to RubyGems.Note, when using the command rake win_prep
and related Windows rake
tasks, you must be in the Visual Studio Developer command prompt,
and have a path to a git binary in your default path. If your
git.exe is part of posh-git or GitHub for Windows, that means adding
something like the following to your path:
"C:\Users\USERNAME\AppData\Local\GitHub\PortableGit_LONG_UUID_STRING_THING\bin"
FAQs
Unknown package
We found that metasploit-payloads demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.