Skip to content
m0n5terPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

29 stars

Watchers

0 watching

Forks

Repository files navigation

ChameleonUltra

ChameLab

Desktop, mobile and web app for ChameleonUltra and ChameleonLite,
together with an extended firmware and the command line client.

Open in the browser · Download · Changelog (на русском)

The app

One app for Windows, macOS, Linux, Android, iOS and the browser. USB on desktop and in the browser, Bluetooth on phones and in Chrome / Edge, TCP everywhere.

  • Slots — all eight slots at a glance, with each card's name and LED color. Drag to reorder, tap to activate, edit HF and LF separately.
  • Multi-card LF — one LF slot can hold up to eight LF cards of any emulated type, mixed freely, and send the next one on each tap of a reader, or cycle through them while the device stays at the reader, so you can walk through them until the right card opens. No other Chameleon firmware or app can do this; see LF card cycling.
  • Read and dump — ISO14443-A and LF scans. MIFARE Classic Mini, 1K and 4K dumps with your key dictionaries, edited as hex and emulated in one tap.
  • Saved cards — a card library with search and color tags. Imports ChameleonUltraGUI, Proxmark3, Flipper .nfc / .rfid, MCT, .bin and .eml, and compares two dumps block by block.
  • QR sharing — show a card as a QR code (a series of codes for big dumps) and scan it with the camera on phones and in the web app, or from a screenshot; a phone's own camera opens it in the web app.
  • Cloning — write LF IDs to T55xx (EM410x also to EM4305) and MIFARE Classic to Gen1a / Gen2 magic cards.
  • Emulator settings — Gen1a / Gen2 modes, write modes, nonce detection for mfkey32, Ultralight / NTAG version, signature and counters.
  • HF sniffing — answer a reader as the card in the active slot and record both sides, every frame labelled; MIFARE Classic keys come out of the reader's authentications (mfkey32, mfkey64). Proxmark3 .trace load and save.
  • LF sniffing — record the 125 kHz signal at the antenna, see it as a zoomable waveform with a modulation and clock guess, and decode it as Manchester. Captures load and save as raw .bin, the same as the CLI's lf sniff --out.
  • Device settings — LED animation, button actions, long-press threshold, sleep timeout, BLE pairing, factory reset and firmware updates over USB or Bluetooth.
  • Stop anything — every long operation (dumps, key recovery attacks, writing magic cards, sniffing) has a Stop button and leaves the device in a usable state.

Key recovery includes Darkside, Nested, Static nested and mfkey32, plus the fully managed C# Hardnested solver on desktop, Android, iOS and the web. Hardnested needs a known key and substantial memory. Mobile and web calculations run locally; devices with insufficient memory report an error.

The app speaks English, German, Spanish, French, Italian, Portuguese, Russian, Chinese (Simplified), Japanese and Korean; pick the language in Settings.

Not there yet: the value block tool and Gen4 (GTU) magic card configuration. The full list is in the roadmap.

The web version needs Chrome or Edge: Firefox and Safari support neither Web Serial nor Web Bluetooth.

Sources, architecture and build steps: software/chamelab.

The firmware

The ChameLab firmware runs on both ChameleonUltra and ChameleonLite and moves together with the app: features are added on both sides and shipped in the same release.

  • Multi-card LF — an LF slot holds up to eight cards of any emulated LF type (EM410x, Electra, HID Prox, ioProx, Viking, PAC, Jablotron, IDTECK, Pyramid), in any mix, and emulates the next one each time the reader's field appears — one steady card per tap, wrapping back to the first — or, per slot, sends them in turn while the field is present, with 1–10 bursts per card and 0–3 s of silence between cards. The position is kept across sleep. The list is saved with the slot and follows it when slots are swapped. This is unique to ChameLab: neither the stock firmware nor other apps have it.
  • Slot LED colors — each card in a slot can have its own LED color, so you can tell which card is active by looking at the device. A slot that holds both an HF and an LF card alternates between their two colors.
  • Fixes — for example, saving no longer fails after many slot switches.

The full list is on the website and in the changelog.

Updating

The app on desktop, Android and iOS updates the firmware for you: it offers the newest release for your device and flashes it over USB or Bluetooth. To flash by hand:

  1. Download ultra-dfu-app-<version>.zip or lite-dfu-app-<version>.zip from the releases. The -full packages also contain the bootloader and are only needed for recovery.
  2. Put the device into DFU mode: hw dfu in the CLI, or hold button B while plugging in USB.
  3. Flash the package with firmware/flash-dfu-app.sh, nRF Connect for mobile or nRF Connect for Desktop.

Slots, cards and settings are kept by an application update.

Building

cd firmware
docker compose up --pull=always build-ultra

Use build-lite for the ChameleonLite. The packages land in firmware/objects/.

The CLI

The C# command line client shares protocol and recovery engines with the app. Build or run it with the .NET 10 SDK:

dotnet run --project software/chamelab/ChameLab.Cli -c Release
# Run several commands in the same connection/session:
dotnet run --project software/chamelab/ChameLab.Cli -c Release -- -c "hw connect" -c "hw version"

It covers what the app does not have yet, such as raw access to every firmware command, for example hw slot color.

It can also share a device over the same relay the app uses: hw share opens the connected Chameleon and prints a code, and hw connect --code TR1-ABCD-1234 joins a device shared from another machine.

The same commands run in the app too: Tools → Console (desktop, phones and the web app) uses the app's connection, so there is no need to disconnect it first.

Use dump_help for all commands and COMMAND --help for options. Release packages include the .NET runtime; launch chamelab (chamelab.exe on Windows). Migration progress and verification are recorded in docs/cli-migration.md.

Versions

Releases are tagged with the ChameLab version (v1.0.8), which goes up with every release. The firmware has its own version in firmware/VERSION (2.3.4-cl) and changes only when the firmware does.

Repository

Folder What's in it
software/chamelab The ChameLab app (Avalonia, .NET)
software/chamelab/ChameLab.Cli The C# CLI
software/chamelab/ChameLab.Cli.Commands The CLI's commands, shared by the CLI and the app's console
firmware Application and bootloader firmware for nRF52840
hardware Schematics and PCB files for Ultra and Lite
website The download page and the web app host

Related projects

  • ChameleonUltra — the official firmware, Python CLI and hardware from RfidResearchGroup, which ChameLab builds on.
  • ChameleonUltraGUI — a cross-platform app for ChameleonUltra and ChameleonLite; ChameLab imports its saved cards.
  • Proxmark3 (Iceman) — the RFID research tool; ChameLab imports its dumps and reads and writes its traces.

Support the project

ChameLab is free and stays free for everyone. If it helps you, you can support its development on Patreon or, with a Russian card, on Boosty.

License

Free software under the GNU GPL v3.

About

No description, website, or topics provided.

Resources

Contributing

Stars

29 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages