firmware icon indicating copy to clipboard operation
firmware copied to clipboard

BadUSB port to StickCs

Open ghost opened this issue 2 years ago • 11 comments

Hi, there is no badUSB with the Bruce software on the m5 stick c plus 2 why? Thanks :)

ghost avatar Jun 22 '24 17:06 ghost

StickCs doesn't have OTG to run as HID device..

It will need to plug another device to make it work.. I bought it to develop, but didn't make any progress yet

bmorcelli avatar Jun 22 '24 19:06 bmorcelli

with "marauder" I use this image which allows me to connect my sd card in gpio. The problem is with “Bruce” it doesn’t work unfortunately. probably because it was not programmed with it.

foto_no_exif

ghost avatar Jun 23 '24 07:06 ghost

Bruce uses the same pins Marauder, Launcher and Nemo.. which is the same as the picture you sent..

Is your SDCard being read in the Launcher?

Remember to use an SDCard formatted in FAT32 and lesser than 32gb.. otherwise most of the firmwares doesn't recognize

bmorcelli avatar Jun 23 '24 14:06 bmorcelli

Ce qui serait bien de faire avec "Bruce" pour le (BadUSB), est avec le bluetooth est de créer un hospot, ainsi lorsque la connexion s'établie entre les deux, qu'on puisse se connecter sur le m5 stick via navigateur web et faire des commandes ou importer directement un payload.

ghost avatar Jun 25 '24 15:06 ghost

This is indeed a great Idea... maybe use the WebUI to deploy these kind of "attacks"

bmorcelli avatar Jun 25 '24 17:06 bmorcelli

I can suggest this project to help develop the functionalities of: -Wireless BadUSB over a WiFi AP -BadUSB on M5StickC (..WiFi Duck and utilizes the native USB function of ESP32 S2/3 chip. As a result, you can run WiFi Duck with a default module below 10$..) -Add Keyboard layouts

https://github.com/wasdwasd0105/SuperWiFiDuck

mtclpt avatar Jun 30 '24 11:06 mtclpt

Pourtant avec le m5 stick c plus 2 on est quand même obligé d'acheter ce module à 10$ ? (Pour le faire fonctionner) Merci

ghost avatar Jun 30 '24 15:06 ghost

Hi softm5, No. What I meant to say is that in this project they managed to use the regular USB port of several ESP32 modules to make BadUSB.

mtclpt avatar Jun 30 '24 18:06 mtclpt

Ok, bonne idée !

ghost avatar Jun 30 '24 18:06 ghost

-BadUSB on M5StickC (..WiFi Duck and utilizes the native USB function of ESP32 S2/3 chip. As a result, you can run WiFi Duck with a default module below 10$..)

WifiDuck uses ESP32-S2 or S3 ( same as Cardputer)

StickCs GPIO is connected to a CH9102 chip, that converts from UART to TTL (Serial), so it's not possible (yet, at least?) to use it as HID (Human Interface Device)..

ESP32-S2 and S3 have a OTG (On-The-Go) chip, that allows us to use it as HID (Mouse, Keyboard or whatever)

The solution to use BadUSB on StickCs would be connecting it to a UART->HID adapter, like this for example... I bought one of these to test, but didn't have time to study and test

The other option is BLE keyboard, that's nice too, and easy to add to the project, I think...

bmorcelli avatar Jul 02 '24 15:07 bmorcelli

-BadUSB on M5StickC (..WiFi Duck and utilizes the native USB function of ESP32 S2/3 chip. As a result, you can run WiFi Duck with a default module below 10$..)

WifiDuck uses ESP32-S2 or S3 ( same as Cardputer)

StickCs GPIO is connected to a CH9102 chip, that converts from UART to TTL (Serial), so it's not possible (yet, at least?) to use it as HID (Human Interface Device)..

ESP32-S2 and S3 have a OTG (On-The-Go) chip, that allows us to use it as HID (Mouse, Keyboard or whatever)

The solution to use BadUSB on StickCs would be connecting it to a UART->HID adapter, like this for example... I bought one of these to test, but didn't have time to study and test

The other option is BLE keyboard, that's nice too, and easy to add to the project, I think...

i found this, attiny85 is pretty cheap and can make it into hat for stickc2 easily.

PhucHauDeveloper avatar Aug 19 '24 09:08 PhucHauDeveloper