Eric Betts 449a6fb2f3 Update where to get a SAM
NARD is gone from the list, Smart Card 2 Click now just points at eBay
for the SAM itself (search Y7C07A or Y7C07B), and SAMAdams gets a note
about using "notify me" since Red Team Tools does new runs from time to
time.
2026-11-17 21:40:13 -08:00
2025-04-29 17:11:37 -07:00
2026-03-27 11:59:22 -07:00
2023-12-21 21:55:59 -08:00
2023-07-16 17:04:37 -07:00
2024-04-18 20:22:02 -07:00
2026-08-25 18:53:11 -07:00
2026-11-17 21:40:13 -08:00
2024-07-24 17:09:11 -07:00
2026-03-09 20:03:44 -07:00
2024-07-27 14:59:06 -07:00
2024-07-27 14:59:06 -07:00
2024-07-24 17:09:11 -07:00
2026-06-17 20:07:39 -07:00
2026-06-17 20:07:39 -07:00
2023-04-15 20:57:01 -07:00
2026-03-24 18:50:50 -07:00
2026-08-16 12:46:34 -07:00
2026-03-07 12:47:04 -08:00
2023-06-17 19:55:18 -07:00
2024-07-23 21:00:46 -07:00
2024-07-23 21:00:46 -07:00
2026-06-17 19:48:50 -07:00
2026-11-17 21:40:13 -08:00
2026-06-17 20:07:39 -07:00
2026-08-12 12:26:37 -07:00
2026-08-25 18:53:11 -07:00
2026-03-25 01:59:59 -07:00
2026-06-17 20:07:39 -07:00
2023-04-15 20:57:01 -07:00
2026-06-17 16:30:59 -07:00
2026-06-17 16:20:31 -07:00
2026-06-17 20:07:39 -07:00
2026-08-25 18:53:11 -07:00
2026-08-25 18:53:11 -07:00

🔐 Seader

A Flipper Zero application (aka "fap") that read credential from HID: iClass, iClass SE, Desfire EV1/EV2, and Seos using a HID SAM and UART adapter. Latest release on the App Catalog.

🐬 Bugs

File issues in GitHub.

🛠️ Hardware

Option 1: SAMAdams

Buy it at Red Team Tools

New runs happen from time to time, so if it's out of stock, use the "notify me" button on the product page and you'll hear when the next batch lands.

Option 2: Flippermeister

Buy it at Red Team Tools.

Option 3: Smart Card 2 Click

Buy an HID SAM: eBay is the best bet these days, search for the HP part numbers "Y7C07A" or "Y7C07B".

Put SAM into adapter (because of chip on top) and plug into Smart Card 2 Click (Mikroe digikey with cheaper US shipping). Connect Smart Card 2 Click to Flipper Zero (See Connections below).

Optionally 3d print a case designed by sean

Connections

Smart Card 2 Click Flipper
5v 1
GND 8 / 11 / 18
TX 16
RX 15

🧩 Development

To Build App

  • Install ufbt
  • git submodule update --init --recursive to get dependencies
  • ufbt to build
  • ufbt launch to launch

To Build ASN1 (if you change seader.asn1)

  • Install git version of asnc1 (brew install asn1c --head on macos)
  • Run asn1c -D ./lib/asn1 -no-gen-example -no-gen-OER -no-gen-PER -pdu=all seader.asn1 in in root to generate asn1c files

🗃️ References

💾 Memory usage commands

  • arm-none-eabi-nm ~/.ufbt/build/seader.fap -CS --size-sort
  • arm-none-eabi-readelf ~/.ufbt/build/seader.fap -t
  • ufbt cli -> free_blocks

🔌 USB SAM Reader (ACR39U-style passthrough)

Seader can present the attached HID SAM to a host PC as a USB CCID contact smart-card reader, so any PC/SC application can drive the SAM directly (e.g. the PM3 SAM host tools). The SAM appears as the card in slot 0.

Menu: with a SAM detected, choose USB SAM Reader. Connect the Flipper to a PC over USB; a PC/SC reader appears (default identity: ACS / "ACR39U ICC Reader"). Press Back to stop and restore the normal USB console.

  • Host APDUs (PC_TO_RDR_XfrBlock) are relayed to the SAM over Seader's existing T=1 / CCID path; the response is returned to the host verbatim.
  • The reader name is user-editable in the app: SAM detected → USB Reader Name → set the manufacturer, then the product string. Both persist (usb_reader.conf) and the USB PID auto-bumps on any change so Windows re-enumerates a fresh device node instead of showing the cached old name. Windows builds the PC/SC reader name as <manufacturer> <product> <slot>, which is what name-matching host tools key on. Keep at least the manufacturer non-empty: with no manufacturer string (iManufacturer = 0) Windows names the reader from the generic driver description and PC/SC apps stop finding it. Compile-time defaults / VID live in sam_reader.h (SEADER_READER_DEFAULT_*). Neutral VID 0x1209 keeps the inbox CCID driver bound (avoid a real vendor's VID like ACS 0x072F, which loads the vendor driver and refuses a non-genuine device).
  • Implementation: usb_ccid_reader.{c,h} (self-contained USB CCID gadget) + sam_reader.{c,h} (SAM relay bridge) + scenes/seader_scene_reader.c, worker state SeaderWorkerStateReaderEmulation.

Why a custom USB gadget: the firmware's stock usb_ccid interface advertises only 2 endpoints (no interrupt IN) and dwProtocols = T=0 only. Windows' WUDF usbccid driver refuses to start it ("This device cannot start. Code 10"), and it can't present a T=1 card. usb_ccid_reader.c therefore defines its own FuriHalUsbInterface with a 3-endpoint descriptor (bulk in/out + interrupt in) and dwProtocols = T=0|T=1, then bridges host APDUs to the SAM. Built against the f7 SDK's libusb_stm32 (usb_ccid.h, usb_std.h, usbd_core.h) + furi_hal_usb.h.

Languages
C 94%
Cython 5.4%
HTML 0.4%
Makefile 0.2%