module

Yum Package Manager Persistence

Disclosed
2003-12-17
Created
2019-04-30

Description

This module will run a payload when the package manager is used. No
handler is ran automatically so you must configure an appropriate
exploit/multi/handler to connect. Module modifies a yum plugin to
launch a binary of choice. grep -F 'enabled=1' /etc/yum/pluginconf.d/
will show what plugins are currently enabled on the system.

Author

Aaron Ringo

Platform

Linux,Unix

Architectures

cmd, x86, x64, armle, aarch64, ppc, mipsle, mipsbe

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/local/yum_package_manager_persistence
msf exploit(yum_package_manager_persistence) > show targets
...targets...
msf exploit(yum_package_manager_persistence) > set TARGET < target-id >
msf exploit(yum_package_manager_persistence) > show options
...show and set options...
msf exploit(yum_package_manager_persistence) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.