2.17 Hak5 — Hak5 and O.MG devices
Translated from French; the French version prevails if the two differ.
In short. The Hak5 / O.MG connector brings together Hak5 and O.MG penetration-testing hardware: WiFi Pineapple Pager, Shark Jack, O.MG Cable, O.MG Plug and O.MG Programmer. It is a built-in connector: it opens from the Connectors view, like the C2 console and Arduino. You save your devices there, model by model; each one opens with what its model can do (web interface, connection test, SSH shell, serial console, O.MG console). For an O.MG implant, Open in the studio leads to the DuckyScript Studio tool of the Tools view, set on that device. Secrets go to the system vault.
Lawful use. These devices are penetration-testing tools. Only use them on systems and networks you are authorized to test. HexaConnect drives the devices; the content of payloads remains the operator’s responsibility.
Opening the connector
- In the Connectors view, the Hak5 / O.MG row follows the built-in connectors. It shows the number of saved devices, or Hak5 device plugged in over USB (in green) as soon as a known device is plugged in (see USB detection). A click opens the devices view full screen; the sidebar keeps Connectors highlighted.
- Since version 1.3.0, Hak5 is no longer a sidebar entry. Devices already saved are kept as they are, secrets included: nothing to redo after the update. A policy, a preference or a deployment kit that still names
hak5inrailvisibilitystays valid; that value is simply ignored.
The view
- On the left: the DEVICES list, one model per row with its number of saved devices.
- On the right, for the selected model: what it does, Saved devices (state and buttons of each device, adding a new device), What it needs (endpoint and fields), USB detection and, where relevant, Detectable accessories.
- Device state: Ready, No secret (password expected but missing), then after a test Reachable or Unreachable.
- Buttons, depending on the model: Test, Console, Open in the studio, Open web, Open SSH, Serial console, then Edit and Delete.
Devices and secrets
- A device = a name, an endpoint (web address, SSH host or serial port depending on the model) and the model’s fields.
- Secrets: passwords and tokens are stored in the system vault, never in the devices file. When editing, a secret field left empty keeps the saved secret. Deleting a device also removes its secret.
- Certificate: for a device reached over the web, “Accept an unverified certificate” allows a self-signed HTTPS certificate on the device’s own network. Only turn it on for a trusted device.
Supported models
- WiFi Pineapple Pager: Wi-Fi audit access point, driven through its web interface. Web address (for example
172.16.42.1:1471), user (“root” by default), web interface password, and Protocol HTTP or HTTPS: HTTP by default, as the Pager’s interface answers over HTTP on port 1471; choose HTTPS for a device served over TLS. A scheme written in the address (http://…,https://…) always takes precedence. Test signs in and reads the model and firmware; Open web opens the interface in the browser. - Shark Jack: wired network attack tool. SSH host in “arming mode” (
172.16.24.1by default), user “root”, optional password (otherwise asked at connection). Open SSH opens a prefilled SSH session in the Sessions view; Serial console opens a serial session. Payloads are dropped through that shell or console. - O.MG Cable and O.MG Plug: O.MG implants, configured through the web interface served on their Wi-Fi access point (configuration web address,
http://192.168.4.1by default). Buttons Console (page 2.19), Open in the studio (DuckyScript Studio tool of the Tools view, page 2.18) and Open web. - O.MG Programmer: serial programmer for O.MG devices. Serial port (for example
COM5); Serial console opens a console on that port for flashing. - MK7AC WiFi Adapter: Wi-Fi adapter, an accessory of the Pineapple, with no management interface. It is only recognized over USB and listed among the detectable accessories.
USB detection
A known device plugged in over USB turns the Hak5 / O.MG row of the Connectors view green; the row updates when you plug it in or remove it.
| Device | USB signature (vendor:product) | Note |
|---|---|---|
| Shark Jack | 0BDA:8153 | USB-Ethernet link (RTL8153), in arming mode only |
| O.MG Programmer | 10C4:EA60 | CP2102N serial bridge; a bare CP210x bridge is therefore taken for this programmer |
| MK7AC WiFi Adapter | 0E8D:7612 | MT7612U adapter (accessory) |
| WiFi Pineapple Pager, O.MG Cable, O.MG Plug | None | Reached over the network or Wi-Fi: no USB detection |
Going further
- 2.18 Hak5 — O.MG DuckyScript studio: write a payload and push it to an O.MG Cable / Plug (Build, Build + Run), from the Tools view.
- 2.19 Hak5 — O.MG native console: log, keyboard state and payload slots of an O.MG Cable / Plug, without opening its web interface.