Key Croc
  • The Key Croc by Hak5
  • Key Croc Basics
    • Serial Console Access
    • Updating the Firmware
    • Factory Reset
  • Configuration
    • Default Settings
    • Understanding Languages
  • Files and Directory Structure
    • Understanding the File System
  • Getting the Key Croc Online
  • Configuring Cloud C²
  • Writing Payloads
    • Payload Development
    • Ducky Script Commands
    • Command Quick Reference
    • The MATCH Command
    • The SAVEKEYS Command
    • The ATTACKMODE Command
      • USB Identifiers
    • The QUACK Command
    • Advanced QUACK Commands
    • The LED Command
  • Beginner Guides
    • Password Sniffing with the Key Croc — Easy, or Super Easy?
    • New Features in Key Croc 1.3
  • Tips & Tricks
    • Interactive Payload Development
    • Installing Extras like Metasploit
    • Helpful Payload Snippets
Powered by GitBook
On this page
  • Protected Network
  • Open Networks
  • Resetting Wireless Configuration
  • Overriding DNS

Was this helpful?

Getting the Key Croc Online

The Key Croc features an onboard WiFi module for connecting to nearby 2.4GHz networks. To configure WiFi, edit the config.txt file on the root of the Key Croc flash disk from Arming Mode.

The two WiFi parameters are:

  • WIFI_SSID – the network name

  • WIFI_PASS – the WPA-PSK password

Any characters after these key words will be used as the values.

Protected Network

Example:

WIFI_SSID MyTargetNetwork
WIFI_PASS I'm not telling you.

Some special characters interpreted by bash may need to be escaped.

Open Networks

For open networks which do not require a password, omit the WIFI_PASS option.

Resetting Wireless Configuration

To disconnect the Key Croc from a network, remove the WIFI_SSID and WIFI_PASS options, then restart the device.

Overriding DNS

By default the Key Croc is configured to attempt to obtain an IP address from a network's DHCP server. Configuring a static IP address is outside the scope of this guide, however considering its Debian base this can be achieved in a number of ways.

The DNS server may be overridden from that obtained via DHCP by using the DNS option in config.txt, in the format:

DNS x.x.x.x x.x.x.x

To determine the IP address obtained by the Key Croc for development purposes, see the guide on Interactive Payload Development from the Tips section of this documentation.

Last updated 1 year ago

Was this helpful?