DIY Injection Tool
This project is a fun little gadget built using an Arduino Micro. Its purpose? To inject a command that opens a prank website for some harmless fun! The best part? The outer shell is a completely DIY case, handcrafted to give it a unique and personal touch
Supplies
3D Printing Pen
- Model: 3Doodler Create.
- Used to build the device’s outer case.
- Filament: eco-plastic strands, chosen for their durability and recyclability.
Protoboard
- Used to assemble and stabilize the circuit, including the Arduino board.
I2C LCD
- Specs: 16 columns x 2 rows.
- Purpose: Displays information like battery charging status.
- Protocol: Uses the I2C protocol, simplifying wiring with the micro-controller.
Arduino Micro
- Microcontroller: ATmega32U4.
- Features: Recognized as an HID (Human Interface Device) when connected via USB.
- Use Case: Injects commands into a computer.
Power Supply Component
- Simulates a USB output to trick users into thinking the device functions as a power bank once fully charged.
Wiring (hardware)
Circuit Design Overview:
- Diagram on the Left :
- The diagram illustrates how the USB-powered circuit was constructed.
- A protoboard was used to secure both the power supply component (decorative) and the microcontroller board.
- The microcontroller board connects to the LCD display via wired connections.
- Diagram on the Right:
- This schematic highlights the circuit's functionality.
- The only active connection in the circuit is between the Arduino board and the LCD component:
- SDA (Serial Data): Assigned to Pin 3.
- SCL (Serial Clock): Assigned to Pin 2.
- These pins handle data transmission and reception using pulse signals characteristic of the I2C protocol.
- Pin details are provided in the board's datasheet.
- Powering the screen:
- The LCD display is connected to the power (VCC) and ground (GND) terminals.
- Power Supply Module:
- This component is purely decorative.
- It features a USB port but does not serve any functional role in the circuit.
Coding
The Arduino Micro was programmed using the Arduino IDE, an Integrated Development Environment capable of uploading programs, or "sketches," to microcontroller boards. In this experiment, the board was programmed in the C++ programming language, and the result was a “Magic sketch” that integrates libraries for injecting keyboard commands and controlling the LCD display.
To create animations and display text on the LCD, the LiquidCrystal_I2C library was used. This library allowed the use of functions like print() for showing static text and createChar() for generating special characters, such as Pac-Man or a battery icon, from their binary representations. These features enabled the display of both static messages and simple animations on the screen.
The project also included functionality for injecting keyboard commands, made possible through the Keyboard.h library. The sketch executes a sequence of actions: it opens the command line using a Windows + R shortcut, enters a prank URL, and simulates an F11 key press to switch the browser into fullscreen mode. The selected prank website mimics a “hacking” interface, complete with visual effects reminiscent of Hollywood-style hacking scenes, to create a fun and harmless joke.
The complete code for these sketches is provided below for anyone interested in replicating or learning from the project.
Downloads
DIY CASE
The protective shield for the device was crafted using a 3D printing technique with a 3D pen and a template (as shown in the attached figure). The design aimed to create a box to house the device while maintaining access to its components. It’s important to take your time during the crafting process and ensure adequate spacing for peripherals, such as the LCD display, USB, and micro-USB ports. This attention to detail helps ensure functionality and ease of use while maintaining the device’s overall integrity.
Downloads
Voilá
Happy hacking! Remember, this project is designed to raise awareness about the potential risks of harmful devices. Please use it responsibly and avoid engaging in any unethical activities.