module
Service Persistence
| Disclosed | Created |
|---|---|
| Jan 1, 1983 | May 30, 2018 |
Disclosed
Jan 1, 1983
Created
May 30, 2018
Description
This module will create a service on the box, and mark it for auto-restart.
We need enough access to write service files and potentially restart services
Targets:
System V:
CentOS
Debian
Kali 2.0
Ubuntu
Upstart:
CentOS 6
Fedora >= 9,
Ubuntu >= 9.10,
systemd:
CentOS 7
Debian >= 7,
Fedora >= 15
Ubuntu >= 15.04
Note: System V won't restart the service if it dies, only an init change (reboot etc) will restart it.
We need enough access to write service files and potentially restart services
Targets:
System V:
CentOS
Debian
Kali 2.0
Ubuntu
Upstart:
CentOS 6
Fedora >= 9,
Ubuntu >= 9.10,
systemd:
CentOS 7
Debian >= 7,
Fedora >= 15
Ubuntu >= 15.04
Note: System V won't restart the service if it dies, only an init change (reboot etc) will restart it.
Authors
h00die [email protected]
Cale Black
Cale Black
Platform
Linux,Unix
Architectures
cmd
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.