Rapid7 Vulnerability & Exploit Database

Reptile Rootkit reptile_cmd Privilege Escalation

Back to Search

Reptile Rootkit reptile_cmd Privilege Escalation

Disclosed
10/29/2018
Created
12/22/2019

Description

This module uses Reptile rootkit's `reptile_cmd` backdoor executable to gain root privileges using the `root` command. This module has been tested successfully with Reptile from `master` branch (2019-03-04) on Ubuntu 18.04.3 (x64) and Linux Mint 19 (x64).

Author(s)

  • f0rb1dd3n
  • bcoles <bcoles@gmail.com>

Platform

Linux

Architectures

x86, x64

Development

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/reptile_rootkit_reptile_cmd_priv_esc
msf exploit(reptile_rootkit_reptile_cmd_priv_esc) > show targets
    ...targets...
msf exploit(reptile_rootkit_reptile_cmd_priv_esc) > set TARGET < target-id >
msf exploit(reptile_rootkit_reptile_cmd_priv_esc) > show options
    ...show and set options...
msf exploit(reptile_rootkit_reptile_cmd_priv_esc) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;