[20] Flipper Zero - BADUSB (fixing CTRL-ALT DELETE)

Published: 15 February 2023
on channel: Derek Jamison
2,602
31

In this video, we look at the badusb feature of the Flipper Zero. We use it to emulate a keyboard. Our keyboard types some text then presses BACKSPACE and DELETE. At the end of the script it also successfully does a "CTRL-ALT DELETE" signal.

When then run the exact same script using a different firmware. It turns out DELETE and BACKSPACE commands had bugs, that were initially fixed in some firmware implementations in late December 2022. These same fixes have made their way into other firmware implementations, but not all of them. When making badusb scripts that use DELETE or BACKSPACE, make sure you are running on a firmware with the fix (or you might be troubleshooting for hours, like I was.)

To check if your firmware has the fix:
open the "bad_usb_script.c" file in your firmware
search for the text "DELETE" (with double quotes, typically around line 80.)
if it says "HID_KEYBOARD_DELETE_FORWARD" you have the fix.
if it says "HID_KEYBOARD_DELETE" the firmware does not have the fix yet.


My tutorials are at
https://github.com/jamisonderek/flipp...


Watch video [20] Flipper Zero - BADUSB (fixing CTRL-ALT DELETE) online, duration hours minute second in high quality that is uploaded to the channel Derek Jamison 15 February 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,602 times and liked it 31 visitors.