├── Windows PrivEsc ├── AlwaysInstallElevated │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs └── Get-Unquoted │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ └── main.rs ├── command_exec ├── .gitignore ├── .vscode │ └── launch.json ├── Cargo.lock ├── Cargo.toml └── src │ └── main.rs ├── getprocaddress_spoofing.rs ├── hide_process_from_taskmgr ├── iathooking-dll.rs ├── iathooking ├── .gitignore ├── .vscode │ └── launch.json ├── Cargo.lock ├── Cargo.toml └── src │ └── main.rs ├── ldaptest.rs ├── pelib ├── .gitignore ├── .vscode │ └── launch.json ├── Cargo.lock ├── Cargo.toml └── src │ ├── main.rs │ └── mylib.rs ├── peloader64 ├── .gitignore ├── Cargo.lock ├── Cargo.toml └── src │ └── main.rs ├── peparse.rs ├── processhollowing ├── .gitignore ├── Cargo.lock ├── Cargo.toml └── src │ └── main.rs ├── redteamtooling ├── botnet │ ├── botnetclient │ │ └── main.rs │ └── botnetserver │ │ ├── Cargo.toml │ │ └── main.rs ├── commandexecution │ ├── Cargo.toml │ └── main.rs ├── convertbytestosidstring │ ├── Cargo.toml │ └── main.rs ├── decodeuac │ ├── Cargo.toml │ └── main.rs ├── get-asreproastable │ ├── Cargo.toml │ └── main.rs ├── get-kerberoastable │ ├── Cargo.toml │ └── main.rs ├── get-unconstrained │ ├── Cargo.toml │ └── main.rs ├── get-usersdescription │ ├── Cargo.toml │ └── main.rs ├── reverseshell │ ├── reverseshellclient │ │ ├── Cargo.toml │ │ └── main.rs │ └── reverseshellserver │ │ └── main.rs └── usefulsnippets │ ├── FillStructureFromArray │ ├── Cargo.toml │ └── main.rs │ ├── FillStructureFromMemory │ ├── Cargo.toml │ └── main.rs │ └── ReadStringFromMemory │ ├── Cargo.toml │ └── main.rs ├── reverse_shell ├── client │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs └── server │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ └── main.rs ├── shellcode_injection ├── .gitignore ├── Cargo.lock ├── Cargo.toml └── src │ └── main.rs └── toolkit ├── .gitignore ├── .vscode └── launch.json ├── Cargo.lock ├── Cargo.toml └── src ├── injections.rs ├── main.rs ├── peparser64.exe ├── peparser64.pdb ├── peparser64.rs └── windows_services.rs /Windows PrivEsc/AlwaysInstallElevated/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Windows PrivEsc/AlwaysInstallElevated/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/AlwaysInstallElevated/Cargo.lock -------------------------------------------------------------------------------- /Windows PrivEsc/AlwaysInstallElevated/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/AlwaysInstallElevated/Cargo.toml -------------------------------------------------------------------------------- /Windows PrivEsc/AlwaysInstallElevated/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/AlwaysInstallElevated/src/main.rs -------------------------------------------------------------------------------- /Windows PrivEsc/Get-Unquoted/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Windows PrivEsc/Get-Unquoted/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/Get-Unquoted/Cargo.lock -------------------------------------------------------------------------------- /Windows PrivEsc/Get-Unquoted/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/Get-Unquoted/Cargo.toml -------------------------------------------------------------------------------- /Windows PrivEsc/Get-Unquoted/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/Windows PrivEsc/Get-Unquoted/src/main.rs -------------------------------------------------------------------------------- /command_exec/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /command_exec/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/command_exec/.vscode/launch.json -------------------------------------------------------------------------------- /command_exec/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/command_exec/Cargo.lock -------------------------------------------------------------------------------- /command_exec/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/command_exec/Cargo.toml -------------------------------------------------------------------------------- /command_exec/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/command_exec/src/main.rs -------------------------------------------------------------------------------- /getprocaddress_spoofing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/getprocaddress_spoofing.rs -------------------------------------------------------------------------------- /hide_process_from_taskmgr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/hide_process_from_taskmgr -------------------------------------------------------------------------------- /iathooking-dll.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/iathooking-dll.rs -------------------------------------------------------------------------------- /iathooking/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /iathooking/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/iathooking/.vscode/launch.json -------------------------------------------------------------------------------- /iathooking/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/iathooking/Cargo.lock -------------------------------------------------------------------------------- /iathooking/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/iathooking/Cargo.toml -------------------------------------------------------------------------------- /iathooking/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/iathooking/src/main.rs -------------------------------------------------------------------------------- /ldaptest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/ldaptest.rs -------------------------------------------------------------------------------- /pelib/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /pelib/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/pelib/.vscode/launch.json -------------------------------------------------------------------------------- /pelib/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/pelib/Cargo.lock -------------------------------------------------------------------------------- /pelib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/pelib/Cargo.toml -------------------------------------------------------------------------------- /pelib/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/pelib/src/main.rs -------------------------------------------------------------------------------- /pelib/src/mylib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /peloader64/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /peloader64/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/peloader64/Cargo.lock -------------------------------------------------------------------------------- /peloader64/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/peloader64/Cargo.toml -------------------------------------------------------------------------------- /peloader64/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/peloader64/src/main.rs -------------------------------------------------------------------------------- /peparse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/peparse.rs -------------------------------------------------------------------------------- /processhollowing/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /processhollowing/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/processhollowing/Cargo.lock -------------------------------------------------------------------------------- /processhollowing/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/processhollowing/Cargo.toml -------------------------------------------------------------------------------- /processhollowing/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/processhollowing/src/main.rs -------------------------------------------------------------------------------- /redteamtooling/botnet/botnetclient/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/botnet/botnetclient/main.rs -------------------------------------------------------------------------------- /redteamtooling/botnet/botnetserver/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/botnet/botnetserver/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/botnet/botnetserver/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/botnet/botnetserver/main.rs -------------------------------------------------------------------------------- /redteamtooling/commandexecution/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/commandexecution/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/commandexecution/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/commandexecution/main.rs -------------------------------------------------------------------------------- /redteamtooling/convertbytestosidstring/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/convertbytestosidstring/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/convertbytestosidstring/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/convertbytestosidstring/main.rs -------------------------------------------------------------------------------- /redteamtooling/decodeuac/Cargo.toml: -------------------------------------------------------------------------------- 1 | [dependencies] 2 | indexmap = "2.1.0" 3 | -------------------------------------------------------------------------------- /redteamtooling/decodeuac/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/decodeuac/main.rs -------------------------------------------------------------------------------- /redteamtooling/get-asreproastable/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-asreproastable/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/get-asreproastable/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-asreproastable/main.rs -------------------------------------------------------------------------------- /redteamtooling/get-kerberoastable/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-kerberoastable/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/get-kerberoastable/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-kerberoastable/main.rs -------------------------------------------------------------------------------- /redteamtooling/get-unconstrained/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-unconstrained/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/get-unconstrained/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-unconstrained/main.rs -------------------------------------------------------------------------------- /redteamtooling/get-usersdescription/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-usersdescription/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/get-usersdescription/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/get-usersdescription/main.rs -------------------------------------------------------------------------------- /redteamtooling/reverseshell/reverseshellclient/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/reverseshell/reverseshellclient/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/reverseshell/reverseshellclient/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/reverseshell/reverseshellclient/main.rs -------------------------------------------------------------------------------- /redteamtooling/reverseshell/reverseshellserver/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/reverseshell/reverseshellserver/main.rs -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/FillStructureFromArray/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/FillStructureFromArray/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/FillStructureFromArray/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/FillStructureFromArray/main.rs -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/FillStructureFromMemory/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/FillStructureFromMemory/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/FillStructureFromMemory/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/FillStructureFromMemory/main.rs -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/ReadStringFromMemory/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/ReadStringFromMemory/Cargo.toml -------------------------------------------------------------------------------- /redteamtooling/usefulsnippets/ReadStringFromMemory/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/redteamtooling/usefulsnippets/ReadStringFromMemory/main.rs -------------------------------------------------------------------------------- /reverse_shell/client/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /reverse_shell/client/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/client/Cargo.lock -------------------------------------------------------------------------------- /reverse_shell/client/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/client/Cargo.toml -------------------------------------------------------------------------------- /reverse_shell/client/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/client/src/main.rs -------------------------------------------------------------------------------- /reverse_shell/server/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /reverse_shell/server/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/server/Cargo.lock -------------------------------------------------------------------------------- /reverse_shell/server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/server/Cargo.toml -------------------------------------------------------------------------------- /reverse_shell/server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/reverse_shell/server/src/main.rs -------------------------------------------------------------------------------- /shellcode_injection/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /shellcode_injection/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/shellcode_injection/Cargo.lock -------------------------------------------------------------------------------- /shellcode_injection/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/shellcode_injection/Cargo.toml -------------------------------------------------------------------------------- /shellcode_injection/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/shellcode_injection/src/main.rs -------------------------------------------------------------------------------- /toolkit/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /toolkit/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/.vscode/launch.json -------------------------------------------------------------------------------- /toolkit/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/Cargo.lock -------------------------------------------------------------------------------- /toolkit/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/Cargo.toml -------------------------------------------------------------------------------- /toolkit/src/injections.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/injections.rs -------------------------------------------------------------------------------- /toolkit/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/main.rs -------------------------------------------------------------------------------- /toolkit/src/peparser64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/peparser64.exe -------------------------------------------------------------------------------- /toolkit/src/peparser64.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/peparser64.pdb -------------------------------------------------------------------------------- /toolkit/src/peparser64.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/peparser64.rs -------------------------------------------------------------------------------- /toolkit/src/windows_services.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winsecurity/Offensive-Rust/HEAD/toolkit/src/windows_services.rs --------------------------------------------------------------------------------