Settings

Theme

Reverse Engineering Apple Wallet

7 points by asxeem 22 days ago · 5 comments · 1 min read


Your iPhone walks up, the door unlocks. No app, no button. An open Aliro lock with secure UWB ranging + NFC tap, running end-to-end on an nRF5340 https://github.com/asxeem/openaliro

Ductapemaster 22 days ago

Nordic has newly-released silicon that supports Aliro using Channel Sounding, meaning a UWB chipset becomes optional. Also, NFC is supported directly.

https://www.nordicsemi.com/Products/Technologies/Aliro/Produ...

  • asxeemOP 21 days ago

    Are you saying Apple Wallet based unlock on approach can work with these chipsets without UWB? Current status of relevant uwb dev kits that does this is hundreds of USD and unavailable to purchase/out of stock since months. This repo works with common chips and I'm working on porting it out to ESP too (fingers crossed)

    https://github.com/asxeem/openaliro

    • Ductapemaster 8 days ago

      I looked into it and the channel sounding approach isn't yet ready. Will need the new iOS as well as some firmware work from Nordic's side.

      • asxeemOP 2 days ago

        Thanks for the follow up Ductapemaster! :)

        There's a massive update on what I've been working on in case it’s useful to anyone here working with UWB firmware with iOS/watchOS.

        openaliro used the iPhone with a key in Apple Wallet to pair and range/unlock over UWB+BLE with the nrf5340DK + DWM3000EVB approach; it was kind of expensive and could be optimized.

        I got the whole protocol to work with a DWM3001CDK ($20 chip).

        The part worth posting here is the DWM3001CDK target. It runs entirely on a single chip, it has an nRF52833 with the DW3110 beside it, no separate MCU board, no messy wiring with a DWM3000EVB.

        The single chip contains: the BLE peripheral, the Aliro reader, a Matter node and an OpenThread MTD and the full UWB ranging stack with a stock iOS/watchOS. It also has mcuboot with DFU FOTA via BLE; all of this in 409KB flash and 125KB RAM.

        The Matter node is hand-rolled, because chip fw does not fit the nrf52833. Tested it out on hardware: Apple Home provisional pairing with a live lock tile, walk-up unlock with the phone in the pocker (the Wallet animation plays) also the Apple watch, and DFU FOTA via Bluetooth. There are ports esp32 variants and nrf5340dk and also support for multiple NFC chipsets.

        The code also has multiple nfc chipsets, nrf5340dk (how it all began), multiple uwb transceivers, some community support for AI Thinker BU04 chipset, as well as ports for ESP32-S3/C5/C6.

        The firmware can directly flashed from the chrome/firefox browser for esp32x: https://openaliro.github.io/openaliro/flash/

        Digital twin to virtually test real hardware how it's working right now is here: https://openaliro.github.io/openaliro/twin.html

        Repo: https://github.com/openaliro/openaliro

asxeemOP 22 days ago

Reverse Engineered Apple Wallet Keys

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection