Open Patronics opened 2 years ago
This has been requested a bit in the Discord.
Currently the SD card in the Flipper Zero is not recognized as a mass storage device by Windows. That would probably be a good step one before implementing this feature.
Theoretically possible. But going to be suuuuuuper slow. We'll keep this thing in backlog, but don't expect it be implemented anytime soon.
1+ to this. This is an important feature on the ducky and bash bunny that allows you to quickly download payloads off the usb onto the target machines, or take data off the target machine and store it on the drive, negating the need for internet.
Hope to see this implemented at some point!
+1 This would be amazing... I really hope this will get implemented
DuckyScript 3.0 transfers data by flashing the CapsLock and NumLock LEDs, meaning the OS wouldn't have to use the card as mass storage at all. Maybe you could implement it that way?
IMHO The feature of masstorge is important not only from perspective of copying data from/to it. It is also some form of cover channel - one could delay execution of ducky script and pretend it's just a storage, or have an excuse when catched with device connected
This is a much needed feature for full badusb functionality. The current level of functionality can be achieved with a $5 arduino.
Storage subsystem went throw a bunch of optimization. Now we can say that there is nothing else we can do to improve it any more.
We still don't think that current performance is enough for normal work of twin ducky, but community can try to implement it. Could work for some cases.
IMHO we shouldn't directly access Flipper SD card for "Twin Duck" mass storage purposes for Flipperr operator's own safety. IMHO we should emulate mass storage on some buffer with very limited size suitable for moving config files/powershell scripts back and forth. Then the buffer could be synced with flipper SDcard. Or what's about Flipper internal storage - is 100% occupied by firmware those days ?
While looking for this functionality i have came across this - https://github.com/emptythevoid/flipperzero/blob/main/badusb/save_to_flipper_poc/save_to_flipper_fast.txt Caveats being, you need to exit bad usb in order for script to use COM port and reveal flipper zero VID/PID to AV/EDR. Speeds seem to be enough for sending/receiving payloads/stdout/similar without issues.
Hope to see "Twin Duck" implemented either trough COM port or Mass Storage due to so many benefits it offers -
PS, i have taken a look into source code of bad_usb.fap (and similar apps) however, sadly i dont have enough coding experience in C in order to develop this feature.
Many of the sample badusb scripts from Hak5 use the "Twin Duck" firmware, emulating a USB drive in addition to a keyboard input. This would add a lot more flexibility to the BadUSB feature.