# Keystroke Injection Cable

A keystroke injection cable, also known as a Rubber Ducky or BadUSB cable, is a specialized USB device that emulates a keyboard and allows for the automated execution of pre-programmed keystrokes or commands on a target computer. It is commonly used for various purposes, including security testing, automation, and practical jokes.

To use a keystroke injection cable, you typically write a script or sequence of commands using a specific scripting language, such as Ducky Script. This script contains a series of keystrokes and instructions that you want to execute on the target computer. Once the script is loaded onto the keystroke injection cable, you connect it to the target computer's USB port.

When the cable is plugged in, the target computer recognizes it as a keyboard input device. The cable then rapidly injects the pre-programmed keystrokes into the computer, mimicking the actions of a physical keyboard. This allows for the automation of tasks, such as launching applications, navigating menus, executing commands, and even exploiting security vulnerabilities.

## <mark style="color:blue;">Hak5 O.MG Cable</mark>

<figure><img src="https://cdn.shopify.com/s/files/1/0068/2142/products/LtoA-Elite_96af42fe-1425-40fd-885c-2856ee984aac_2000x.jpg?v=1668118562" alt="" width="375"><figcaption></figcaption></figure>

The O.MG Cable is a hand made USB cable with an advanced implant hidden inside. It is designed to allow your Red Team to emulate attack scenarios of sophisticated adversaries. Until now, a cable like this would cost $20,000 (ex: COTTONMOUTH-I). These cables will allow you to test new detection opportunities for your defense teams. They are also extremely impactful tools for teaching and training.

The uncompromising attention to the physical size of the implant isn't where we stopped. Thanks to continual firmware update the resulting power, flexibility, and ease of use have made the O.MG Cable a favorite for both new students and seasoned pros.

The Elite Tier introduces new capabilities via our v3 firmware, which is currently in progress with Early Access (beta) with completion planned in 2023. (Go here to learn about the status & details of new features) Additionally, the Elite cables will the so perform exactly like a Plus cable under the v2.5 (stable) firmware. So you get the best of both worlds with future-proofed hardware.&#x20;

{% embed url="https://shop.hak5.org/products/omg-cable" %}

{% embed url="https://o.mg.lol" %}

{% embed url="https://docs.hak5.org/omg-cable/" %}

{% embed url="https://www.youtube.com/watch?v=-jL_Xz-BKBM" %}

## <mark style="color:blue;">ZSecurity Keystroke Injection Cable</mark>

<figure><img src="https://zsecurity.org/wp-content/uploads/2022/03/1-768x768.png" alt="" width="375"><figcaption></figcaption></figure>

This micro USB charging cable looks identical to a normal charging cable, the only difference is it can execute keystroke injection attacks when connected to a computer!

It automatically registers itself as a keyboard and sends pre-configured key strikes (payloads) to the machine that it is connected to, allowing you to execute a large number of attacks to harvest information or even gain full control over the target device.

The ATtiny85 is neatly disguised inside an ordinary-looking micro USB charging cable.

Features:

* BadUSB chip fully integrated into the cable.
* Looks identical to a normal charging cable.
* HID keystroke injection capabilities.
* Undetectable by antivirus software.
* 16.5 MHz 8-bit ATtiny85 with 8KB program space.

{% embed url="https://zsecurity.org/product/badusb-keystroke-injection-cable/" %}

## <mark style="color:blue;">USB Ninja</mark>

<figure><img src="https://sneaktechnology.com/wp-content/uploads/2018/12/2-600x400.jpg" alt="" width="375"><figcaption></figcaption></figure>

The USBNinja is a highly covert USB exploit framework allowing for wireless remote triggering of custom payloads.

While dormant, the USBNinja functions as a regular USB Cable: Data Transfer, Recharging, etc. However, when triggered (via smartphone or dedicated long-range antenna) - it executes its preprogrammed payload on the host device.

Emulating keyboard and mouse actions, payloads are completely customizable and can be highly targeted.

Undetectable by firewalls, AV software, or visual inspection, the USBNinja is an ideal tool for penetration testers, police, and the government.

{% embed url="https://sneaktechnology.com/pentest-engagement-scenario/badusb/" %}

{% embed url="https://lab401.com/products/usbninja" %}

{% embed url="https://hackerwarehouse.com/product/usb-ninja-cable/" %}

{% embed url="https://github.com/USBNinjaRRG/USBNinja" %}

## <mark style="color:blue;">Tindie/AprilBrother Evil Crow Cable</mark> <a href="#product-name" id="product-name"></a>



<figure><img src="https://github.com/joelsernamoreno/BadUSB-Cable/raw/master/images/rev3-cable.jpg" alt="" width="375"><figcaption></figcaption></figure>

BadUSB cable based on Attiny85 microcontroller with data line enabled.

{% embed url="https://www.tindie.com/products/aprbrother/evil-crow-cable/" %}

{% embed url="https://aliexpress.com/item/1005005951330078.html" %}

{% embed url="https://github.com/joelsernamoreno/BadUSB-Cable" %}
Documentation
{% endembed %}

## <mark style="color:blue;">Keystroke Injection Cable On AliExpress</mark>

<figure><img src="https://cdn.shopify.com/s/files/1/2175/8571/products/USBNinja-No-Remote_1024x1024@2x.png?v=1545508854" alt="" width="375"><figcaption></figcaption></figure>

{% embed url="https://aliexpress.com/item/1005005275534898.html" %}

{% embed url="https://aliexpress.com/item/1005005450497026.html" %}
