Electronics

BadUSB USB Virtual Keyboard Development Board ATMEGA32U4 Beetle Compatible

AED 45.95

1

Description

This is a  "Beetle" Compatible Board, As a minimalized version of Arduino Leonardo,It has similar strong capabilities. it aims to solve low-cost controller problems, provide ease of use, and provide a low-cost solution for disposable projects such as DIY projects, workshops, gift projects, E-Textiles, and education. It has an Atmel AtMega32u4 @16MHz clock time and a lot of interfaces: 10 digital pins, 5 analog pins, and 4 pwn pins. To make it even more user-friendly, it is Micro USB compatible, which eliminates the need for direct programming and testing. The beetle can be a great solution for students and makers who cannot afford to spend a lot of money on hardware.

Note: This Module can be used for making a Virtual keyboard or Hacking BadUSB is a USB security flaw that allows attackers to turn a simple USB device into a keyboard, which can then be used to type malicious commands into the victim's computer.

BadUSB revolves around the fact that many different devices plug into the same USB connectors. By hacking the code of the USB micro-controller of an "innocent" device, like a USB memory stick, you can turn it into something far more capable, such as a keyboard or a mouse This is made worse by the fact that malware scanners cannot access the firmware running on USB devices, meaning they cannot fix the problem.

  

Specification
  • Microcontroller: ATmega32u4
  • Clock Speed: 16 MHz
  • Operating Voltage: 5V DC
  • Digital I/O Pins: 10
  • PWM channels: 4
  • Analog Input channels: 5
  • UART: 1
  • I2C: 1
  • Micro USB: 1
  • Power Ports: 2
  • Flash Memory: 32 KB of which 4KB used by bootloader
  • SRAM: 2.5 KB
  • EEPROM: 1 KB

 

 

Package Includes:

1 x "Beetle" Compatible Board

1 x Pin Headers

 

Code:

This simple board is small enough to be attached to a key chain, kept in a wallet, etc. In this video, I show how to make a sketch that turns this Arduino-compatible device into a keyboard. This isn't just any old keyboard, but a keyboard that types predefined things when plugged in. Just like a Rubber Ducky or other BadUSB devices. Example code I put together super quickly, to demonstrate the key features of the Keyboard. h library:

Key codes are available in this header file. The library where this belongs comes with the Arduino IDE:

to see the Keyboard.h Click Here


This code is going to Open Notepad program in Windows

 

 
#include "Keyboard. h"
void setup() {
 Keyboard.begin();
 delay(1000);
 Keyboard.press(KEY_LEFT_GUI);
 Keyboard.press('r');
 delay(10);
 Keyboard.releaseAll();
 delay(200);
 Keyboard.print("notepad");
 Keyboard.press(KEY_RETURN);
 delay(10);
 Keyboard.releaseAll();
 delay(500);
 Keyboard.print("This message will self destruct in 5 seconds!");
 delay(5000);
 Keyboard.press(KEY_LEFT_CTRL);
 Keyboard.press('a');
 delay(10);
 Keyboard.releaseAll();
 Keyboard.press(KEY_DELETE);
 delay(10);
 Keyboard.releaseAll();
 Keyboard.press(KEY_LEFT_ALT);
 Keyboard.press(KEY_F4);
 delay(10);
 Keyboard.releaseAll();
 Keyboard.end();
}
void loop() {
 // put your main code here, to run repeatedly:
}