Badlnk is a reverse shell in shortcut file (.lnk).
How it works?
Shortcut file (Microsoft Windows 9.x) LNK is a file extension for a shortcut file used by Microsoft Windows to point to an executable file. LNK stands for LiNK. Shortcut files are used as a direct link to an executable file, instead of having to navigate to the executable.
LNK files contain some basic properties, such as the path to the executable file and the “Start-In” directory. LNK files use a curled arrow to indicate they are shortcuts, and the file extension is hidden (even after disabling “Hide Extensions for Known File Types” in Windows Explorer).
The script creates a .lnk file that points to the user’s “cmd.exe” file (located in the default folder C:\Windows\System32\cmd.exe) to run a reverse shell through arguments.
Features
Reverse TCP Port Forwarding using Ngrok.io
Requirements
Also Read – WiFiPumpkin3 : Powerful Framework For Rogue Access Point Attack
Usage
git clone https://github.com/thelinuxchoice/badlnk
cd badlnk
bash badlnk.sh
Disclaimer
Usage of BADlnk for attacking targets without prior mutual consent is illegal. It’s the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…