Skip to content

These scripts are designed to help identify and clean potential malware and ransomware infections on CyberPanel servers

Notifications You must be signed in to change notification settings

elwizard33/Cyberpanel-Server-Wizard-Cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CyberPanel Server Wizard Cleanup Scripts

Overview

These scripts are designed to help identify and clean potential malware and ransomware infections on CyberPanel servers. There are two versions available: the Basic version and the Advanced version. Both perform diagnostics to detect malicious files, suspicious processes, and encrypted files, followed by appropriate cleanup and decryption processes.

Features of Both Scripts

  • Automated Diagnostics: Identify malicious files, suspicious processes, and encrypted files.
  • Cleanup of Malicious Artifacts: Remove detected malicious files and terminate suspicious processes.
  • Ransomware Decryption: Attempt to decrypt files encrypted with known ransomware extensions.
  • Wizard-Themed Interface: Engage users with an intuitive, themed experience guiding them through the cleanup process.

Advanced Version Features

  • User Interaction: Prompts users for confirmation before executing critical cleanup tasks, ensuring control over actions.
  • Detailed User and Key Auditing: Scans for suspicious users and SSH keys, providing a detailed report of potential security threats.
  • Enhanced Security Recommendations: Offers additional security measures to consider after cleanup.
  • Ensures Root Privileges: Confirms the script is run with appropriate permissions for effective operation.

Detailed Differences Between Versions

  • User Confirmation:

    • Basic: Executes tasks with minimal user input, focusing on efficiency.
    • Advanced: Interactively prompts the user for confirmations at critical steps to ensure actions align with user intent.
  • Malicious User and Key Checks:

    • Basic: Does not check for suspicious users or SSH keys.
    • Advanced: Includes comprehensive checks for unauthorized users and unexpected SSH keys, asking the user for validation.
  • Security Recommendations Post-Cleanup:

    • Basic: Focuses on the immediate cleanup.
    • Advanced: Provides additional security tips post-cleanup, such as password changes and firewall adjustments.

Decrypting Scripts

Prerequisites

  • Ensure you have curl, wget, and bash available on your system.
  • Take a Snapshot: If you’re using a virtual machine, take a snapshot before you start to safeguard against unintended consequences.
  • Follow cybersecurity best practices by backing up your data prior to running the scripts.

Quick Start

You can directly download and execute the Basic version of the script using the following command:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/elwizard33/Cyberpanel-Server-Wizard-Cleanup/refs/heads/main/scripts/wizard_cleanup.sh)"

For the Advanced version, use this command:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/elwizard33/Cyberpanel-Server-Wizard-Cleanup/refs/heads/main/scripts/advanced_wizard_cleanup.sh)"

Support

If you do not feel comfortable running these scripts or need further assistance, you can contact me at [email protected] for paid support.

Acknowledgments

  • Thank you to @usmannasir for sharing the decryption scripts used in this cleanup process.

Other Tools For Cleaning The Attack

Disclaimer

These scripts are provided as-is, without any warranty or guarantee. Use them at your own risk. The author is not responsible for any harm or loss resulting from the use of these scripts. Always ensure your environments are backed up and secure before running any security scripts.

About

These scripts are designed to help identify and clean potential malware and ransomware infections on CyberPanel servers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages