module

Sudo Commands

Disclosed
01/01/1970
Created
07/25/2018

Description

This module examines the sudoers configuration for the session user
and lists the commands executable via sudo.

This module also inspects each command and reports potential avenues
for privileged code execution due to poor file system permissions or
permitting execution of executables known to be useful for privesc,
such as utilities designed for file read/write, user modification,
or execution of arbitrary operating system commands.

Note, you may need to provide the password for the session user.

Author

bcoles

Platform

BSD,Linux,OSX,Solaris,Unix

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 post/multi/recon/sudo_commands
    msf /(s) > show actions
        ...actions...
    msf /(s) > set ACTION < action-name >
    msf /(s) > show options
        ...show and set options...
    msf /(s) > run
  
Title
NEW

Explore Exposure Command

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