Unsigned Over-the-Air Updates

Unsigned Over-the-Air Updates

An update nobody signed reached every user at launch.

What Is Unsigned Over-the-Air Updates?

A mobile app that downloads code updates at launch and runs them without checking a signature hands its users to anyone who can upload an update. You'll watch an attacker push a fake card screen through a leaked upload key, then roll back, rotate the key and turn on update code signing.

What You'll Learn in Unsigned Over-the-Air Updates

Unsigned Over-the-Air Updates — Training Steps

  1. A key in the history

    Fennory is a grocery delivery app built with React Native and Expo. Like many Expo apps, it downloads new JavaScript over the air at launch, so the team can ship changes without waiting for store review. Fennory publishes a small open-source helper library from the same repository history. Bob clones it and searches every past commit for anything that looks like an update key.

  2. What the app checks

    Before using the key, Bob looks at what the app receives when it asks for an update.

  3. Publish to production

    Bob has built an update that looks like Fennory's current app but adds one screen that asks customers to confirm their payment card before the next delivery, which sends what customers type to his server. Its code stays out of this lesson. He uploads it with the leaked key.

  4. Cards arriving

    Two days later Bob checks how many customers have reached the new screen.

  5. Why the phones trusted it

  6. Open Fennory

    Alice leads the Fennory mobile team. She has a delivery booked tonight and opens the app on her own phone to check the slot.

  7. Restart to update

    The app says an update has downloaded. Alice's team has not shipped anything this week.

  8. Customers are reporting it

    Within minutes, the support lead writes.

  9. Who published it

    Alice lists the recent updates on the production channel.

  10. Roll back first

    Every launch spreads the update further. Before anything else, Alice points the production channel back at the last update her team published.

Security Framework Coverage

OWASP Mobile Top 10

  • M2:2024 Inadequate Supply Chain Security

OWASP MASVS

  • MASVS-RESILIENCE-2 The app implements anti-tampering mechanisms.

CWE

  • CWE-494 Download of Code Without Integrity Check
  • CWE-347 Improper Verification of Cryptographic Signature

CIS Controls

  • CIS 16 Application Software Security

NIST CSF

  • PR.AT-02 Individuals in specialized roles are provided with awareness and training so that they possess the knowledge and skills to perform relevant tasks with cybersecurity risks in mind
  • PR.PS Platform Security

NICE Framework

  • DD-WRL-003 Secure Software Development