Jump to content

Multiple payloads...one menu


Recommended Posts

Hello everyone, I'm new to this forum and just recently bought a usb rubber ducky and a wifi pineapple mark v, I just recently flashed my ducky to the twin duck. I read about having the ducky run multiple payloads, i was wondering if it is possible to have a ducky have the multiple payloads but when you plug it in rather than it running the payloads right away a command prompt opens and allows you to select what payload you want to run.

for example i plug it in and cmd pops up :

1. hello world

2. cd tray eject spam

3. shut down pc

4. create user account w/ admin privileges

What pay load would you like to initiate?...._

if this is possible how could i go about doing this?

Link to comment
Share on other sites

The only way i see this is possible is to have a payload (binary) written in VBA (or whatever) that presents the menu and executes a given (binary, not ducky-script) payload.

All you have to do is point the twin-duck ducky-script to your custom binary on the sd-card.

Link to comment
Share on other sites

I always felt that the point of the USB Rubber Ducky was to allow the attacker to inject software discretely - without having to touch the machine itself.

That said, if you want to do the above then

At design time you could

write and compile a number of individual scripts to do each individual task (as separate bin files), save them to separate folders on your SD Card.

write some code to 'copy con' a .bat file to the target machine.

The .bat file would echo the options to the user, wait for the user's response and execute the appropriate bin file.

Your inject.bin would run the .bat file.

Your .bat file would execute the selected task by calling the appropriate bin file.

Just thinking aloud . . . .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...