A Joker inspired Red Team Toolkit.
"They're only as good as the world allows them to be. I'll show you." - Joker, The Dark Knight
Built with the tools and technologies:
TheFool is a red team toolkit designed to introduce controlled chaos into systems, enhancing security testing by simulating real-world attack scenarios.
Why TheFool?
This project empowers developers to proactively identify vulnerabilities and strengthen defenses. The core features include:
- 🎭 Persistent Connection: Establishes a continuous link to remote servers for seamless command execution and file retrieval.
- ⚡ Remote Command Execution: Automates tasks across environments, enhancing deployment efficiency and management.
- 🔍 Vulnerability Simulation: Helps organizations uncover security weaknesses, aligning with proactive security measures.
- 📊 Visual Attack Representation: Transforms complex datasets into graphical formats for easier analysis and comprehension.
- 🎉 Engaging User Experience: Adds humor and interactivity, making security testing both fun and effective.
- 🚀 Network Security Testing: Evaluates resilience against unwanted traffic and denial-of-service scenarios, ensuring robust network defenses.
| Component | Details | |
|---|---|---|
| ⚙️ | Architecture |
|
| 🔩 | Code Quality |
|
| 📄 | Documentation |
|
| 🔌 | Integrations |
|
| 🧩 | Modularity |
|
| 🧪 | Testing |
|
| ⚡️ | Performance |
|
| 🛡️ | Security |
|
| 📦 | Dependencies |
|
| 🚀 | Scalability |
|
- Architecture: The project employs a modular and layered architecture, following the MVC pattern to separate concerns effectively.
- Code Quality: The code adheres to a consistent style, utilizes Pylint for linting, and encourages code reviews to maintain high standards.
- Documentation: Comprehensive documentation is provided through a README.md file, inline comments, and additional Markdown files for guides.
- Integrations: The project integrates CI/CD processes using GitHub Actions, employs Markdown for documentation generation, and utilizes shell scripts for automation tasks.
- Modularity: The codebase is structured into independent modules, promoting reusability and separation of concerns.
- Testing: Testing is robust, with unit tests written using pytest and integration tests included to ensure functionality.
- Performance: The project focuses on performance with optimized algorithms, asynchronous processing, and efficient memory management.
- Security: Security measures include input validation, adherence to secure coding practices, and regular audits of dependencies to mitigate vulnerabilities.
THEFOOL/
__root__
⦿ __root__
File Name Summary Boom.py - Establishes a persistent connection to a remote server, enabling command execution and file retrieval
- It automatically configures itself to launch on system startup across Windows and Linux platforms, ensuring continuous operation
- This functionality facilitates remote management and control, making it a critical component of the overall architecture aimed at maintaining connectivity and responsiveness in various environments.README.md - The Fool serves as a red team toolkit designed to introduce controlled chaos into systems, drawing inspiration from the unpredictable nature of The Joker
- Its primary purpose is to enhance security testing by simulating real-world attack scenarios, thereby helping organizations identify vulnerabilities and improve their defenses against potential threats
- This aligns with the overall architecture of the project, which focuses on proactive security measures.Queen.py - Establishes a server that listens for incoming client connections on port 9999, enabling remote command execution and file retrieval
- It facilitates interaction with connected clients by accepting commands, sending them for execution, and receiving responses or files
- This functionality is integral to the projects architecture, providing a means for remote management and control within the broader system.Jack.txt - Generates a visual representation of complex data structures, enhancing the overall architecture of the project
- By transforming intricate datasets into graphical formats, it facilitates easier comprehension and analysis for users
- This component plays a crucial role in the codebase, ensuring that data insights are accessible and interpretable, thereby improving user experience and decision-making processes within the application.Jokes.py - Generate random Joker quotes with configurable delays to enhance user engagement and entertainment
- By allowing customization of the number of quotes and the lag duration, the script adds a playful element to the overall project, which likely aims to provide a fun and interactive experience
- This functionality contributes to the projects goal of delivering humor and creativity through automated outputs.Showtime.py - Facilitates remote script execution by establishing an SSH connection to a specified host
- It securely transfers a local Python script to the remote server and executes it, capturing and displaying the output
- This functionality is essential for automating tasks across different environments, enhancing deployment efficiency within the overall project architecture.LICENSE - Licensing provisions grant users the freedom to utilize, modify, and distribute the software while ensuring that the original copyright notice and permission are preserved
- This fosters an open-source environment, encouraging collaboration and innovation within the project
- The absence of warranties emphasizes the softwares as is" nature, clarifying the limitations of liability for the authors and contributors involved.Wildcard.sh - Launches a new terminal session while terminating the current one, enhancing user experience by displaying ASCII art
- Designed for environments where gnome-terminal is available, it ensures the presence of the specified ASCII art file before executing
- This script contributes to the overall project by providing a visually engaging way to interact with the terminal, making it a fun addition to the codebase architecture.Laugh.py - Facilitates the playback of an audio file, specifically designed to enhance user interaction within the project
- By utilizing the playsound module, it aims to deliver an engaging experience through sound effects, while also providing error handling for common issues such as file absence or playback failures
- This functionality contributes to the overall architecture by adding an auditory dimension to the user interface.Venom.py - Facilitates the blocking of SMTP traffic while simultaneously launching an ICMP flood attack
- By utilizing system commands, it enhances network security measures against unwanted email traffic and simulates a denial-of-service scenario
- This functionality is crucial for testing and evaluating network resilience, requiring elevated privileges for execution and ensuring proper command availability on the system.
This project requires the following dependencies:
- Programming Language: Python
- Package Manager: Conda
Build TheFool from the source and intsall dependencies:
-
Clone the repository:
❯ git clone https://github.com/mjay-kerberos/TheFool
-
Navigate to the project directory:
❯ cd TheFool -
Install the dependencies:
Using conda:
❯ conda env create -f conda.ymlRun the project with:
Using conda:
conda activate {venv}
python {entrypoint}Thefool uses the {test_framework} test framework. Run the test suite with:
Using conda:
conda activate {venv}
pytestThefool is protected under the LICENSE License. For more details, refer to the LICENSE file.