RustRedOps
In Construction....
The project is still under development
Overview
RustRedOps is a repository that houses various tools and projects related to Red Team operations, developed in Rust. This repository is dedicated to providing effective and efficient tools for security professionals and penetration testers who want to perform security assessments and intrusion tests.
Contents
The repository is organized into several projects, each with its own purpose and functionality. Here are some examples of the projects included:
-
- This project exploits the Asynchronous Code Injection (APC) technique to execute malicious code in target processes.
-
- It focuses on a variation of APC injection, executing code before the main process starts.
-
- This project addresses the direct execution of malicious payloads in a system's local environment.
-
- Exploits the technique of masking or altering the arguments of a process to hide malicious activity.
-
- It focuses on injecting dynamic link libraries (DLL) into running processes to execute malicious code.
-
- It exploits shellcode injection directly into running processes to control or execute malicious tasks.
-
- This project deals with hijacking the threads of processes running on the local system to execute malicious code.
-
- It addresses the hijacking of threads in remote system processes to carry out malicious actions.
-
Local Function Stomping Injection
- It focuses on replacing locally running functions with malicious code, changing their default behavior.
-
Remote Function Stomping Injection
- It exploits the substitution of functions in remote systems to carry out malicious activities.
-
- Performing malicious code injection via memory mapping into local processes.
-
- Performing malicious code injection via memory mapping into remote processes.
-
- Dumping the lsass.exe process.
-
- Writing and reading shellcode to the Windows Registry.
-
- Demonstration on API hooking which is a programming technique that allows you to intercept and manipulate calls to Windows API functions.
-
- Encrypting / Decrypting a shellcode using AES
-
- Encrypting / Decrypting a shellcode using RC4
Resources
- Each individual project can include a features section that details the project's main features and functionalities.
- You can view the installation instructions, usage and examples for each project in their respective directories.
Requirements
- Rust: Rust is a modern and secure programming language used to develop the tools in this repository.
- Cargo: Cargo is Rust's package manager and compiler, essential for compiling and running projects.
Compile
Compiling the Project
To start the compilation, use the following command:
cargo build --release
Adding Destination Architectures
If you are using a different operating system or need to compile for a specific architecture, you can list all available target architectures with the following command:
rustup target list
Once you have identified the desired target architecture, add it using rustup:
rustup target add <arch>
Replace with the desired architecture, such as x86_64-pc-windows-gnu.
Compiling for a Specific Architecture
Then compile the project for the specific architecture:
cargo build --release --target <arch>
How to get started
Follow these steps to start using the projects in this repository:
- Clone this repository on your local machine:
git clone https://github.com/joaoviictorti/RustRedOps.git
- Navigate to the directory of the project you are interested in:
cd RustRedOps/<name-project>
- Follow the project-specific installation and usage instructions as described in the README inside this directory.
Contributing to RustRedOps
To contribute to RustRedOps, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and confirm them:
git commit -m '<commit_message>'
. - Send to the original branch:
git push origin <project_name> / <local>
. - Create the pull request.
Alternatively, consult the GitHub documentation on how to create a pull request.