lunes, 18 de mayo de 2020

BADlnk - Reverse Shell In Shortcut File (.Lnk)


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.

Legal 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

Features:

Requirements:
  • Ngrok Authtoken (for TCP Tunneling): Sign up at: https://ngrok.com/signup
  • Your authtoken is available on your dashboard: https://dashboard.ngrok.com
  • Install your auhtoken: ./ngrok authtoken <YOUR_AUTHTOKEN>
  • Target must reboot/re-login after installing the .reg file

Usage:
git clone https://github.com/thelinuxchoice/badlnk
cd badlnk
bash badlnk.sh

Author: github.com/thelinuxchoice/badlnk
Twitter: twitter.com/linux_choice




via KitPloit

Related posts


  1. Hacking Hardware
  2. Ethical Hacking
  3. Experto En Seguridad Informática
  4. Hacking Growth
  5. Como Aprender A Ser Hacker

No hay comentarios:

Publicar un comentario