
Explore offensive rust from basics to advanced concepts, highlighting ownership and borrowing, memory safety, concurrency, and high performance, with web development using Rocket and security-focused Windows tooling.
Install Rust on Windows or Linux to write and run a hello world program. Explore cargo workflows, main function basics, and building and running your Rust code.
Discover how to use Rust's in-built formatter with the fmt command to format .rs files, like main dot rs, in the source folder, using rush format to produce clean code.
Learn how to compile a Rust program from a 64‑bit environment to a 32‑bit windows target using rustup toolchains, switch targets, and verify with the size of unsigned integer.
Explore Rust variables, mutability, and shadowing, declaring integers and booleans with let and mut, understanding signed vs unsigned types, scope rules, and value sizes.
Explore arithmetic and bitwise operators, assignment shorthand, and group handling, then master Rust loops—from for and while to void loop—plus if/else conditions and break.
Learn how to use arrays, vectors, and strings in rust, including fixed-size storage, heap-backed vectors, safe iteration, and string conversions from and to UTF-8.
Learn Rust's ownership, borrowing, and references by exploring immutable and mutable variables, moves, and the rules preventing data corruption with multiple readers or writers.
Learn to read user input in Rust by prompting, reading a line into a mutable string, trimming before parsing to i32 or i64, and collecting values into a vector.
Parse command line arguments as a vector of strings, print them, treat the first as the program name, and enforce a three-argument limit with a usage message and exit.
Explore Rust functions by declaring and calling them, passing parameters and return values, and printing results. Learn about arrays, vectors, strings, references, and pub visibility, all within ownership concepts.
learn to work with pointers in rust, including constant and mutable raw pointers, dereferencing, taking the address of, and reading or writing values via pointer arithmetic on vectors.
Explore Rust structures as blueprints for data groups, define student with name, edge, year of education, and marks, initialize, debug print, clone, and implement methods with self and mutability.
Connect to the Active Directory using LDAP3 in Rust, bind with credentials, and query the global catalog to retrieve user distinguished names and attributes.
Learn to execute operating system commands in Rust on Windows using process::Command, building argument vectors, and capturing stdout and stderr.
Develop a Rust reverse shell by binding a socket to 127.0.0.1:port, accepting connections, sending commands, returning output via buffered reads, with error handling and multi-connection support.
Explore how rust uses transmute to convert data types, place buffers in memory, and turn them into function pointers to illustrate shell code execution concepts.
Demonstrates how to execute shellcode with Windows API by allocating memory, copying the shellcode, and creating a thread to run it under user mode, highlighting memory API usage.
Inject remote shellcode into a Windows process by obtaining a process handle, allocating memory, writing the shellcode into that memory, and creating a remote thread to execute it.
Explain the theory of data injection via dll injection, detailing load library, remote process memory sharing, and using get proc address to run a thread that loads data.
Explore dll injection into a remote Windows process using Rust. Allocate memory with VirtualAllocEx, write the dll path, load the library via GetModuleHandle and GetProcAddress, then create a remote thread.
Create a dynamic library in rust by configuring cargo to build a cdylib, exporting an extern c function with no_mangle and unsafe, and using a message box for demonstration.
Explains proxying a dll by forwarding exported functions from a malicious dll to a legitimate one, executing malicious code before handing control to the original function.
discover how windows named pipes enable bidirectional inter-process communication, with a server creating and connecting to a pipe, client connections, blocking mode, read/write operations, and impersonation of the client's token.
Are you a red teamer looking for a programming language that can keep up with your demanding projects? Look no further than Rust!
Rust's memory safety features, including its borrowing and ownership system, help prevent these types of vulnerabilities. As a result, Rust is often used to write code that is critical to the security of a system, such as cryptographic libraries and operating system kernels.
Rust is a programming language that was designed for performance and safety, making it perfect for hacking projects that require speed and reliability. With its strict type system and modern features, Rust allows you to write efficient and reliable code with minimal effort.
Not only is Rust fast and safe, but it also has a thriving community of developers who are constantly working on new tools and libraries. This means that you'll have access to a wide range of resources and support as you work on your hacking projects
In addition to its security benefits, Rust is also known for its speed and efficiency. It has the potential to replace lower-level languages like C and C++ in many cases, and is already being used in production by companies such as Dropbox and Coursera.
Overall, Rust is a powerful and versatile language that is well-suited to red teaming and other security tasks. If you're looking to improve your organization's defenses or expand your skill set, consider learning Rust and incorporating it into your red teaming efforts