Skip to main content

O.MG Cable — The Complete Guide

一句話定位:O.MG Cable 是一條「外觀正常、內部藏了一顆無線植入晶片」的 USB 充電/傳輸線——你以為只是條線,它卻能透過 Wi-Fi 被遠端操控,隨時注入鍵盤敲擊、執行 Payload,甚至自我銷毀。紅隊的終極社交工程武器。

What if the charging cable you just picked up at a conference was actually a computer with a Wi-Fi radio? That's the O.MG Cable. Until tools like this existed, an implant of this class (think the NSA's COTTONMOUTH) cost tens of thousands of dollars. O.MG put it in a mass-produced, hand-made USB cable.

The cable looks and acts like a normal USB 2.0 cable — 5V charging, 480 Mbps data — but inside sits an implant that stays dormant (invisible on the data lines) until you trigger it over Wi-Fi. Then it deploys DuckyScript payloads, injects keystrokes, or pivots into the target's network, all controllable from a browser.

⚠️ Authorised testing only — and this one is special. O.MG devices are legally required to ship deactivated because they are so powerful. Use them solely for authorized red-team work, teaching, and testing your own detection — and see Malicious Cable Detector for the defensive counterpart.


Specs at a glance

ItemSpecification
Form factorHand-made USB 2.0 cable (1 m standard; custom 2 m available)
ImplantWiFi-enabled wireless HID chip (WebUI + 802.11 radio on board)
Payload languageDuckyScript 3.0 (Elite) / DuckyScript 2.0 (Basic)
Remote controlAny web browser over WiFi
ActivationRequired via O.MG Programmer (ships deactivated)
Distinctive featuresSelf-destruct, geofencing, WiFi triggers, spoofed VID/PID/MAC
Elite extrasEncrypted C², HIDX StealthLink, hardware keylogger, extended WiFi range
Data passthroughNormal USB 2.0 charging + data while dormant
Official docshttps://docs.hak5.org/omg-cable

Basic vs Elite (hardware tiers)

FeatureBasic (Gen 1)Elite (Gen 3)
Keystroke injectionDuckyScript 2DuckyScript 3
Payload slots850–300
Max payload size~4,000 keystrokes~1,500,000 keystrokes
Max speed120 keys/sec890 keys/sec
Self-destruct / geofence / WiFi trigger
FullSpeed hardware keylogger
HIDX StealthLink / encrypted C² / extended range

How the attack works

The key insight: while dormant, the cable is just a cable. It only becomes a keyboard when you tell it to — which is exactly why it's so hard to detect without the right tools.


Quickstart — activation & first payload

O.MG devices ship deactivated (legal requirement). You must activate with the Programmer:

Step 1 — Activate with the O.MG Programmer

  1. Insert the O.MG Cable's micro USB side into the O.MG Programmer.
  2. Plug the Programmer into a computer running Chrome or Edge (WebSerial).
  3. Open the WebFlasher (https://o.mg.lol/setup/), select the model, follow the 3-step wizard. The wizard optionally performs a forensic backup first.

Step 2 — Connect to the cable's WiFi

After activation, the cable broadcasts its own WiFi. Join it from your browser.

Step 3 — Deploy a DuckyScript payload

Open the cable's WebUI and paste/launch a payload — no recompiling to the specific device needed; DuckyScript runs directly.

REM Example: open notepad and type a proof-of-concept
DELAY 1000
GUI r
DELAY 500
STRING notepad
ENTER
DELAY 800
STRING Hello from an O.MG Cable!
ENTER

Click Run in the WebUI. Within moments the target machine shows the typed text.


Stealth features

FeatureWhat it does
Port StealthingImplant stays dormant (no USB enumeration) until a payload deploys
Spoofable identityClone any VID/PID, extended USB ID, and MAC address
No logs / no detectionsNothing on the data lines while dormant
Self-destructRemote command wipes payloads + loot, renders cable inert (recoverable via Programmer)
GeofencingAuto-trigger/self-destruct based on location — keeps the tool in scope
WiFi triggersFire a payload long-range with a single beacon
Encrypted C² (Elite)Encrypted control channel; can disable the onboard WebUI if wanted

You might be asking: "Can anything catch this cable?" The Malicious Cable Detector exists precisely because these are hard to catch by eye or by data-line sniffing — it uses side-channel power analysis to see the implant. Defense exists, but it has to be purposeful.


Advanced

CapabilityHow
Mouse injectionInject cursor movement/clicks (Elite+)
Hardware keylogger (Elite)FullSpeed USB keylogger add-on (with extra storage)
Encrypted network C²Reach the cable from anywhere via an encrypted tunnel to your own server
HIDX StealthLink (Elite)Bidirectional tunnel: Target ↔ O.MG ↔ control machine
Recover self-destructRe-attach to the Programmer to restore
Batch firmwareProgrammer supports bulk firmware installs

Troubleshooting

SymptomCauseFix
No WebUI appearsDevice not activatedActivate with the Programmer first
WebFlasher finds nothingBrowser not WebSerial-capable / device not in bootloaderUse Chrome/Edge; keep cable unplugged until wizard asks
Keystrokes slow / garbledWrong keyboard layout or DuckyScript versionCompile/reload with correct layout; check Basic vs Elite version
Can't find cable's WiFiDormant / not in setup modeRe-trigger via Programmer or press the onboard button sequence
Accidental self-destructPayload/geofence rule firedRecover with the Programmer (full reset). Review geofence scope