SMB Relay Attack Script
Relayer is an SMB relay Attack Script that automates all the necessary steps to scan for systems with SMB signing disabled and relaying authentication request to these systems with the objective of gaining a shell. Great when performing Penetration testing.
Relayer creates and delivers the payload leveraging several tools, Users can select which methods or tools works best:
Unicorn from trustedsec see https://github.com/trustedsec/unicorn
Ps1encode (https://github.com/CroweCybersecurity/ps1encode) to generate and encode a powershell based metasploit payload using an sct (COM Scriptlet) file. Relayer will automatically create a webserver using python to stage the payload.
PowerSploit (https://github.com/PowerShellMafia/PowerSploit)
Run install_req.sh to validate dependencies and install missing ones.
Once everything is ready, usage is simple, simply run as root:
./relayer.sh
Script runs the following Steps:
Only run this tool where you have permission to do so.