Logo
Overview

NDIAS 2026 - Classic KeeLoq Garage: Next HOP

May 15, 2026
1 min read

Challenge Overview

Category: Keyfob Files: capture_c5c6.bin, memo_c5c6.txt Flag format: flag{FRAMEHEX}

Reuse the DeviceKey from Find the Key to predict the next valid OPEN frame.

1. Inputs

  • DeviceKey = 0x6D3A91C46CEE3373
  • Last observed hop (press 4) = 0x314C03E4
  • Last decrypted plaintext = 0xADC40043 → counter = 0x0043, DISC = 0xADC4

2. Prediction

Increment the counter by one and keep DISC and BTN unchanged:

plaintext_next = 0xADC40044
hop_next = KeeLoq_encrypt(0xADC40044, 0x6D3A91C46CEE3373)
= 0x65317ADF

Each captured burst was 96 bits / 12 bytes with the alternating preamble AA AA up front. The full wire layout is:

AA AA | D5 | <hop 4> | <serial 4> | <btn 1>

For the predicted press:

AA AA D5 | 65 31 7A DF | 01 D4 A2 B7 | 01

Flag

flag{AAAAD565317ADF01D4A2B701}