Jump to content

Dropping a PDF via HID attackmode

Didier Stevens

Recommended Posts

I updated my HID file dropping method for the Bash Bunny.

This is for hardened computers that don't accept removable storage.


  • create a pure ASCII PDF with embedded file (for example EXE) using my make-pdf-embedded tool
  • create a Ducky script to type out said PDF
  • launch notepad on target machine and type out content of PDF
  • save file as .pdf file
  • open with Adobe Reader
  • extract embedded file
  • if necessary, change extension
  • open file

More details: https://blog.didierstevens.com/2017/04/24/bash-bunny-pdf-dropper/

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