On my next idea for hak5’s product dissecting, I’ve been really annoyed lately with the over glorified and overpriced usb rubber ducky when after a bit of searching through way too many search results, I read somewhere that at the heart of the USB Rubber Ducky was a Leonard Keyboard Arduino board, but with the new variant it is still probably Arduino and has OS detection. For some reason, the turds on hak5 forums purposely kept the code from how to detect OS because it is too “dangerous” or something stupid like that (there is a reason why I get migraines reading some of this garbage).
The part I despise is that there is a code on GitHub here: https://github.com/keyboardio/FingerprintUSBHost
Notice the X years ago. After a bit of reading that code and looking further, it is actually using the Pluggable USB library which is in Arduino core: https://github.com/arduino/ArduinoCore-API/blob/master/api/PluggableUSB.h
Which was last updated five years ago.
The reason why I’m annoyed with hak5 is their deliberate attempt at keeping this type of open source information and code away from the general community. While putting a $79.99 price tag and about $10+ shipping + tax, so it will most likely be closer to around 100$ per order when you can take an Arduino Micro and turn into basically a USB rubber ducky and solder on the USB male type c and type a. All for around $40~ and sure it won’t have the GUI or whatever, but comparing the prices and I think with a bit of effort a GUI can be coded to make programming payloads a lot easier.