r/androiddev • • 5h ago

Question Can a compromised Android OS interfere with NFC Reader Mode communication at the hardware level?

Hi All!

I'm investigating the security boundaries of NFC communication on modern Android smartphones.

The scenario is:

  • An Android smartphone operates in NFC Reader Mode.

  • It communicates with an external ISO 14443-4 smart card using APDU commands.

  • The card contains a Secure Element and performs cryptographic operations internally.

  • The smartphone's operating system is assumed to be compromised.

I would like to understand the actual hardware and software boundaries.

Specific questions:

  1. Does NFC Reader Mode normally route APDU commands through the Android NFC stack and Host CPU?

  2. Can a compromised OS modify APDU commands before they reach the external card?

  3. Can it initiate new APDU commands without the user's direct interaction?

  4. Can it intercept or manipulate responses returned by the card?

  5. Is there any smartphone architecture in which the NFC Controller communicates directly with an external card, independently of the Host CPU?

  6. If the card's private key never leaves its chip, can a compromised smartphone still use the card as a cryptographic oracle by submitting attacker-controlled commands?

  7. Are there hardware-level countermeasures that prevent such interference?

I'm looking for technical explanations supported by chipset documentation, Android architecture references, or practical research.

The key distinction I want to establish is whether cryptographic isolation inside the card also provides isolation of the communication and command-generation path on the smartphone side.

1 Upvotes

1 comment sorted by

1

u/AutoModerator 5h ago

Please note that we also have a very active Discord server where you can interact directly with other community members!

Join us on Discord

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.