Fake sudo

Fake sudo
Download Copy
Title: Fake sudo
Author: TW-D

1. Copies the "sudo" command spoofing program to the user's home directory. 2. Defines a new persistent "sudo" alias with the file "~/.bash_aliases". 3. When the user "sudoer" executes the command "sudo" in a terminal, the spoofing program : 3a. By default retrieves the username and password and writes them to "/tmp/.sudo_password". 3b. But this behavior can be changed in line 21 of the "sudo-phishing.sh" file. 4. The spoofing program deletes the "sudo" alias. Then it deletes itself.

🏆   Recognized with a Payload Award in September 2023

 

Phishing is a popular technique for gaining access to a target. Generally, phishing is a digitally delivered social engineering method. Phishing techniques may use a wide net, or specifically target one role or individual — known as spearphishing. Many phishing campaigns involve tricking a target into divulging confidential information, such as by mimicking a known-trusted source — be it a website or person. See all phishing payloads.

This payload is for the Bash Bunny. Simultaneously mimic multiple trusted devices to trick targets into divulging sensitive information without triggering defenses. The Bash Bunny is truly the world's most advanced USB attack platform.

Submit your own payload, or browse more featured Bash Bunny Payloads.

 

 

Related Payloads

Export Firefox Cookies Database
Export Firefox Cookies Database
This script may come in handy for those who want to quickly save all the cookies of their Firefox session by exporting t
Read More
Uninstall Signal
Uninstall Signal
A script used to uninstall signal-desktop app on Windows users. Open a PowerShell, stop the Signal proccess if it runs
Read More
Starting a PowerShell with administrator permissions in Windows 10/11
Starting a PowerShell with administrator permissions in Windows 10/11
This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can unde
Read More