Jump to content

Reverse shell not working


johnjdoe

Recommended Posts

Hi all,

I received my USB Rubber Ducky it is some month ago. Now, I have the time to test it.

The first test I made was putting it in a Windows machine and I got the "Hello world". :-)

I would like to demonstrate the danger from bad USB and for that I tried a reverse shell as this:

With the payload generator from http://ducktoolkit-411.rhcloud.com/Home.jsp I generated a inject.bin with the IP and the listener port from my Kali machine and the keyboard layout from my target (Belgian keyboard). Delay 3000.

On the Kali box I started the listener.

On a Windows 7 Home Premium (SP1) with the Belgian keyboard on it, I putted the USB Rubber Ducky in and wait. After some seconds there were some screens (cmd, notepad with input, ...) but then nothing ... Nor on the W7 nor on the Kali.

The W7 is not a realy quick machine but it seems to me that the response time was enough.

Does anybody has an idea what mistake I did or what's wrong? How could I debug the situation?

Thank you in advance for each help!

Link to comment
Share on other sites

My advice would be not to run code that you don't understand from a proprietary site! :)

Debug by using your own script that does what you require and the port that to the duck.

If you do want to debug: The duck is just a "dumb" keyboard that executes keystrokes. You have the generated script, so run it line by line manually and then work out what instruction causes it to fail.

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.

Guest
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...