Flangvik / UAC-D-E-Rubber-Ducky

Python2 / BASH / VBS- UAC D&E Rubber Ducky

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

As featured on HAK5 - 2117, thanks! :)

This the official blazing fast UAC-bypassing Rubber Ducky payload generator.

For anything related , hit me up: https://twitter.com/SkiddieTech

To keep yourself update on my latest projects https://www.youtube.com/channel/UC7mbR9Jc7opzYP-scLOKaWg Subscribe! :)

      _   _  _   ___   ___  _   _  ___ _  __
     | | | |/_\ / __| |   \| | | |/ __| |/ /
     | |_| / _ \ (__  | |) | |_| | (__| ' <
      \___/_/ \_\___| |___/ \___/ \___|_|\_\

    [+++++++++++++++++++++++++++++++++++++++]

Our main goal is to silently and FAST download an drop any binary executable to an Windows box,granting it administrator privileges to freely roam the system.

It uses a simple 2 stage process

Stage 1: Stage one is the script that is triggered when the ducky is connected to any targeted windows machine. It will execute an powerful one-liner inside the "run" dialog of the system. The one liner is a simple powershell script, that when executes instantly hides then powershell windows and runs it the background. The powershell script downloads and execute our stage 2 .vbs payload in the %temp% directory

Stage 2: Once your .vbs payload is on the system, we proceed to download our main binary payload. The .vbs script exploits a flaw in the windows registry system, this allows us to execute any binary file on the system with admin privilege without prompting the user for access (UAC).

======= NT Authority/System on ANY windows system u say?

As far as i can tell, still after the latest Windows 10 update, using this setup togheter with the "Getsystem" script in the meterpreter module, we will always be able to get NT Authority/System permisson using Tech 1 (Named Pipe Impersonation (In Memory/Admin))

Tested on Win7,Win8 and Win10 running latest update.(As of 2016)

Execution demo video: http://sendvid.com/uh6i317i

Tutorial on how to use the Offline version of the payload + demo. Keep in mind you have to have your Ducky flashed with the Twin-Duck Firmware. So you can store local files on the SD-Card and read it. https://www.youtube.com/watch?v=X1uS0ELBJvI

Tutorial on how to use the Online version of the payload + demo. Coming soon

As you can see, we get an meterpreter shell that says it's running under user, however, if we drop into a CMD shell inside the meterpreter module, we can see we are running inside the system32 dir, indicating that we are running as admin, we can even use the getsystem script in the meterpreter module to gain NT System privliges, that's pretty sick.(Tested working on Win7,Win8 and Win10!

origin/master

About

Python2 / BASH / VBS- UAC D&E Rubber Ducky


Languages

Language:Python 100.0%