How To Make Usb Rubber Ducky Pendrive Us (Rasbperry Pi Pico)

 Tool:- Rasbperry Pi Pico

Link To Purchase:-https://www.amazon.in/Scriptronics%C2%AE-Raspberry-microcontroller-Development-Versatile/dp/B09J323LRG/ref=sr_1_4?keywords=raspberry+pi+pico&qid=1660327223&sprefix=%2Caps%2C201&sr=8-4



Step-1) Connect Your Rasbperry Pi Pico To Your Computer System Like This



Step-2)After That When You Connected From Your Computer System It Will Look Like This
In Your System Scrreen Display The Name Was(RP1-RP2)



Step-3)After That Download Flash File
       
        How To Download The Flash File ?
1)Go To Any Web Browser Type Here Pico-ducky Github
2)https://github.com/dbisu/pico-ducky Follow The Steps (https://github.com/dbisu/pico-ducky)

Step-4)After Downloading Flash File
    Download CircuitPython for the Raspberry Pi Pico. *Updated to 7.0.0
    Download Link:-https://circuitpython.org/board/raspberry_pi_pico/
   
Step-5)Copy & Paste That Flash File Into Your Rasbperry Pi Pico The Flash File Extension Is .UF2

Step-6)When You Paste It You Rasbperry Pi Pico Then After That Your Device Was Disconnected And Auto Reconnected Your System & It Will Change Your Device Name To RP1-RP2 To CIRCUITPY

Step-7)After That Download adafruit-circuitpython-bundle-7.x-mpy-YYYYMMDD.zip  
Download Link:-https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20220812


Step-8)Navigate to lib in the recently extracted folder and copy adafruit_hid to the lib folder in your Raspberry Pi Pico.(Like This)




Step-9)After That Create .txt File And Save As Into The payload.dd File (Like This)


Step-10)Then Copy That Code & Paste It On payload.dd
Link Of payload.dd Code You Copy & Paste The Code From Here(Scripts):-https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payloads 


Or You Make Your Own Script
------------------------------------------------------------------------------------------------------------------------

Install

Install and have your USB Rubber Ducky working in less than 5 minutes.

  1. Download CircuitPython for the Raspberry Pi Pico. *Updated to 7.0.0

  2. Plug the device into a USB port while holding the boot button. It will show up as a removable media device named RPI-RP2.

  3. Copy the downloaded .uf2 file to the root of the Pico (RPI-RP2). The device will reboot and after a second or so, it will reconnect as CIRCUITPY.

  4. Download adafruit-circuitpython-bundle-7.x-mpy-YYYYMMDD.zip here and extract it outside the device.

  5. Navigate to lib in the recently extracted folder and copy adafruit_hid to the lib folder in your Raspberry Pi Pico.

  6. Click here, press CTRL + S and save the file as code.py in the root of the Raspberry Pi Pico, overwriting the previous file.

  7. Find a script here or create your own one using Ducky Script and save it as payload.dd in the Pico.

  8. Be careful, if your device isn't in setup mode, the device will reboot and after half a second, the script will run.    


Setup mode

To edit the payload, enter setup mode by connecting the pin 1 (GP0) to pin 3 (GND), this will stop the pico-ducky from injecting the payload in your own machine. The easiest way to so is by using a jumper wire between those pins as seen bellow.

USB enable/disable mode

If you need the pico-ducky to not show up as a USB mass storage device for stealth, follow these instructions.
Enter setup mode.
Copy boot.py to the root of the pico-ducky.
Copy your payload script to the pico-ducky.
Disconnect the pico from your host PC. Connect a jumper wire between pin 18 (GND) and pin 20 (GPIO15). This will prevent the pico-ducky from showing up as a USB drive when plugged into the target computer.
Remove the jumper and reconnect to your PC to reprogram. The default mode is USB mass storage enabled.















    






Comments