Bad USB

flipper zero can act as a badusb device , r ecognized by computers as a human interface device (hid), such as a keyboard or even a mouse a badusb device can change system settings, open backdoors, retrieve data, initiate reverse shells, or basically do anything that can be achieved with physical access it is done by executing a set of commands written in the rubber ducky scripting language , also known as duckyscript this set of commands is also called a payload on this page, you’ll learn about how badusb devices work and how to turn your flipper zero into one note that you can connect flipper zero to a computer not only via usb, but also via bluetooth low energy (ble) flipper zero scripting language before using your flipper zero as a badusb device, you need to write a payload in the txt format in any common ascii text editor using the scripting language flipper zero can execute extended rubber ducky script syntax the syntax is compatible with the classic rubber ducky scripting language 1 0 but provides additional commands and features, such as the alt+numpad input method, sysrq command, and more uploading new payloads to flipper zero once the payload is created, you can upload it to your flipper zero via qflipper or flipper mobile app to the sd card/badusb/ folder the new payloads will be available in the bad usb application using your flipper zero as a badusb device via usb connection to turn your flipper zero into a badusb device using usb, do the following if qflipper is running on your computer, close it on your flipper zero, go to main menu > bad usb select the payload make sure the bad usb app is in usb mode — you should see a usb logo (as shown below) to switch to usb mode, press %right% usb if needed, you can modify the keyboard layout (us english is default) by pressing %left% layout and selecting from the list of layouts connect your flipper zero to the computer via a usb cable press %ok% run to execute the payload on the computer via ble сonnection to turn your flipper zero into a badusb device using ble , do the following a ctivate bluetooth on your flipper zero by going to main menu > settings > bluetooth if qflipper is running on your computer, close it on your flipper zero, go to main menu > bad usb select the payload make sure the bad usb app is in ble mode — you should see a bluetooth logo (as shown below) to switch to ble mode, press %right% ble if needed, you can modify the keyboard layout (us english is default) by pressing %left% config and selecting from the list of layouts on your computer, go to bluetooth settings and connect to the detected wireless badusb device confirm connection both on your computer and flipper zero (by selecting ok on both devices ) on your flipper zero , p ress run to execute the payload on the computer to unpair your flipper zero, go to %left% config and select remove pairing bad usb application source code
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash. Please leave your questions in English.
To ask a question or participate in discussions, you'll need to authenticate first.