DynastyPersist - A Linux Persistence Tool!
-
A Linux persistence tool!
-
A powerful and versatile Linux persistence script designed for various security assessment and testing scenarios. This script provides a collection of features that demonstrate different methods of achieving persistence on a Linux system.
Features
-
SSH Key Generation: Automatically generates SSH keys for covert access.
-
Cronjob Persistence: Sets up cronjobs for scheduled persistence.
-
Custom User with Root: Creates a custom user with root privileges.
-
RCE Persistence: Achieves persistence through remote code execution.
-
LKM/Rootkit: Demonstrates Linux Kernel Module (LKM) based rootkit persistence.
-
Bashrc Persistence: Modifies user-specific shell initialization files for persistence.
-
Systemd Service for Root: Sets up a systemd service for achieving root persistence.
-
LD_PRELOAD Privilege Escalation Config: Configures LD_PRELOAD for privilege escalation.
-
Backdooring Message of the Day / Header: Backdoors system message display for covert access.
-
Modify an Existing Systemd Service: Manipulates an existing systemd service for persistence.
Usage
-
Clone this repository to your local machine:
git clone https://github.com/Trevohack/DynastyPersist.git
-
One linear
curl -sSL https://raw.githubusercontent.com/Trevohack/DynastyPersist/main/src/dynasty.sh | bash
Support
For support, email [email protected] or join our Discord server.
- Discord:
https://discord.gg/WYzu65Hp
Thank You!
Source: www.kitploit.com