Join our Newsletter — 33% off our NHI Course
Home› Guides› Mobile Wallet and Contactless Payment Security: Tokens, Relay…
Guide Fraud Prevention

Mobile Wallet and Contactless Payment Security: Tokens, Relay Attacks and Device Binding

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 17 min read
On this page

Mobile wallets and contactless cards move the card credential out of the plastic and into phones, watches and cloud services, and every one of those hops is a place where a payment programme can quietly weaken its own security. This guide is for issuer, wallet and acceptance teams who design or run tap-to-pay products and want the architecture right before fraud teams have to compensate for it. It explains where the credential lives (secure element or host card emulation), what makes each tap unique, how on-device verification and token domain controls limit misuse, how device binding ties a token to one enrolled device, and what changes on the merchant side. Fraud patterns such as relay and ghost tapping, and the provisioning step-up decision, have their own deep guides; this page links them rather than repeating them.

Key takeaways

  • The credential is a token, not the card number. EMV Payment Tokenisation replaces the PAN with a token that is constrained to a merchant, device or payment scenario, so the issuer's real control point is the token and its domain.
  • Each tap carries a one-time cryptogram. Contactless EMV uses the same kind of cryptographic functions as contact chip, so copied static data does not produce a valid transaction; protect the keys behind the cryptogram, not the data in front of it.
  • Where the keys live decides the threat model. A hardware secure element and a host card emulation (HCE) app on the main processor need different controls: hardware isolation in one case, app hardening, attestation and short-lived keys in the other.
  • Device binding and on-device verification close the gap that contactless limits leave. A token that only works on one attested device, after a biometric or passcode check, is far harder to misuse than a card that needs nothing below the SCA threshold.
  • Relay and provisioning fraud live outside the cryptography. The strongest chip design still depends on the issuer deciding well when a new device asks for a token, and on monitoring the transactions that follow.

How a contactless payment stays unique

A contactless EMV transaction is a short exchange between a card or wallet and a terminal over NFC (ISO/IEC 14443). EMVCo's contactless specifications split the terminal side into an Entry Point (Books A and B) and payment kernels (Book C-n), and EMVCo approves the complete terminal product at an accredited laboratory, not individual components. EMVCo notes that contactless devices support the same kind of cryptographic functions as contact chip cards, which is the reason contactless is harder to counterfeit than magnetic stripe.

The unique part of each tap is the application cryptogram. Apple's platform security documentation describes it for wallets: the payment applet sends a one-time cryptogram with the Device Account Number, computed from a transaction counter and a key known to the payment network or issuer, and depending on the scheme it can include a terminal unpredictable number and cardholder verification results. The issuer uses these values to verify each transaction. Three practical consequences follow:

  • Static data is not enough: a token number and expiry copied from a receipt or a skim cannot build a valid cryptogram without the key.
  • Counters and unpredictable numbers stop simple replay: the issuer should reject cryptograms with a counter that goes backwards or repeats, and should not accept transactions where cryptogram validation was skipped.
  • A live relay is still possible: because a relay forwards the real exchange in real time, the cryptogram is valid. That is why the controls later in this guide focus on device binding, on-device verification and monitoring. See the NFC Relay and Ghost Tapping Fraud guide for the relay patterns and the issuer signals that reveal them.

Secure element vs host card emulation

The biggest design decision for a wallet or issuer app is where the payment credential and its keys live. Platforms are listed alphabetically below, and the order is not a ranking.

  • Android: Android documentation describes two routes. With a secure element, the NFC controller routes the reader's commands to a secure element chip (or SIM) and no app is involved in the transaction; Android provides no app API to talk to the secure element directly, and apps declare an off-host service. With host card emulation, available since Android 4.4, the NFC controller routes commands to the main processor, where the app's HostApduService answers each command APDU. Only the system can bind to that service, because it is protected by the BIND_NFC_SERVICE permission, but Android is explicit that protecting the response data is the app's responsibility.
  • Apple: Apple's documentation describes Apple Pay credentials held in a Secure Element, a certified chip running the Java Card platform whose integrated circuit has Common Criteria certification and which carries EMVCo certificates after a security evaluation. The NFC controller routes data between the Secure Element, the application processor and the terminal, and the Secure Enclave handles authentication so that the user's intent reaches the Secure Element without going through the application processor.
Design questionHardware secure elementHost card emulation (HCE)
Where keys and transaction logic runInside a tamper-resistant chip on the deviceIn the app on the main processor, often with keys protected by the platform keystore
Main threatsProvisioning to the wrong device, user authentication bypass, lost or stolen deviceMalware, rooted or modified devices, app repackaging, key extraction from app storage, plus all the secure element threats
Typical compensating controlsHardware isolation, factory pairing with the authentication component, issuer step-up at provisioningApp hardening, runtime and device attestation, short-lived or limited-use keys replenished from the issuer or token service, tight velocity limits
Who controls the stackDevice maker or wallet provider controls access to the chipIssuer or wallet developer controls the app and its server side
Regulatory hook (EU)Commission Delegated Regulation (EU) 2018/389 Article 9(3) requires, where an SCA element is used on a multi-purpose device, separated secure execution environments, mechanisms to detect that the software or device has been altered, and mechanisms to mitigate the consequences of alteration

Decision guidance: an issuer that pushes cards into a device maker's wallet inherits the secure element design and focuses on provisioning and monitoring. An issuer or wallet provider that builds its own HCE wallet owns the key storage problem and should plan for app attestation, a key-replenishment service and stricter limits from day one. Smaller issuers rarely have the mobile security engineering to run HCE well and usually do better with platform wallets plus strong provisioning decisions; large issuers with in-house mobile teams can justify HCE where they need control of the experience or market reach.

Host card emulation settings that matter

For teams building on Android HCE, several platform settings directly change exposure. These come from Android's HCE documentation; behaviour varies by Android version, so test on each supported release.

Setting or behaviourWhat it doesSecurity use
android:category="payment" on the AID groupMarks the service as a payment app; only one payment AID group can be enabled at a timeA payment app can transact only when it is the default wallet or is in the foreground and has called setPreferredService, so another app cannot silently take over payment AIDs
Default wallet role (Android 15 and later)User chooses the default under Settings, Apps, Default Apps; checked with RoleManager.isRoleHeld(ROLE_WALLET)Confirm your app holds the role before presenting a card as ready to tap, and tell the user when it does not
android:requireDeviceUnlockAsks the user to unlock before the service handles a tap; Android notes it only takes effect when Secure NFC is offSet to require unlock for payment services unless an issuer-side risk control replaces it
Secure NFC (Android 10 and later)When on, all card emulators are unavailable while the screen is offCheck with NfcAdapter.isSecureNfcSupported() and recommend it to customers who want stricter behaviour
requireDeviceScreenOn (Android 12 and later)Setting it to false allows NFC payments with the screen offLeave screen-off payments disabled unless a specific use case, such as transit, has its own limits
Observe Mode (Android 15 and later)Lets the device watch reader polling loops without allowing a transactionLets the wallet decide when a transaction proceeds, for example only after it recognises a terminal polling pattern
Random UID per tapHCE devices present a random UID each timeReaders and acceptance systems must never use the UID to identify or authenticate a payer

Treat the HCE app as a credential store: obfuscate and harden it, verify device and app integrity on the server side before replenishing keys, and keep keys short-lived so a copied key has little value. See the Mobile App Attestation guide and the Android Banking Trojans Guide for the malware that targets these apps.

Tokens, token domains and lifecycle

EMVCo describes a payment token as a replacement for the PAN that is constrained in how it can be used: limited to a specific merchant, device or payment scenario, and replaceable by the issuer for specific merchants, devices or transaction types, often without the cardholder doing anything. The Technical Framework (version 2.4, published 9 July 2026, checked November 2026) also defines the Payment Account Reference (PAR), which links tokenised transactions to the underlying account without exposing the PAN. Apple's documentation shows the merchant side of this: in stores neither Apple nor the device shares full card numbers with merchants, and for web payments the merchant receives a token encrypted to its merchant certificate.

  • Keep token domains tight: a device token should be usable only for the channels it was issued for (for example contactless and in-app on that device), so a leaked device token is not a card-not-present credential.
  • One token per device: issue a separate token for each phone and watch, so one can be suspended without cancelling the others or the physical card.
  • Lifecycle events are security events: card reissue, account closure, customer-reported device loss and fraud flags should all reach the token service so tokens are suspended or deleted promptly.
  • Use PAR for analytics, not as a credential: PAR lets fraud and loyalty systems join activity across tokens and the card; it should never authorise a payment.

For network tokens in e-commerce and card-on-file, see the Network Tokenisation for Payments Guide; for where tokenisation fits next to encryption at the terminal, see Payment Tokenisation vs P2PE.

Device binding and on-device verification

Device binding means the issuer accepts a token only from the device it was provisioned to, and that device proves it is the same device on each sensitive operation. On-device verification, called consumer device cardholder verification (CDCVM) in the payments industry, means the cardholder proves themselves to the phone, and the phone reports that result in the cryptogram data the issuer checks.

Apple's documentation shows a hardware example of both. The Secure Element and Secure Enclave are paired in the factory and derive a shared secret with elliptic curve Diffie-Hellman. A payment proceeds only after the Secure Element receives authorisation from the Secure Enclave, which requires biometrics, the passcode or a double-click on an unlocked Apple Watch. The passcode is offered after three failed fingerprint or two failed face matches and required after five failed attempts. An Authorization Random value created at first provisioning ties cards to the current Apple Pay enrolment: when the Secure Element receives a new value, it marks previously added cards as terminated.

Binding elementWhat it provesOwnerWhat to check
Token bound to device identifier at provisioningThe token was issued to this wallet instanceToken service provider and issuerReject cryptograms for a token from an unexpected device or wallet
Hardware-backed key (secure element or keystore)The key has not been copied to another deviceWallet or HCE app developerAttestation evidence that the key is hardware-backed where the platform offers it
On-device verification result in the cryptogram dataThe cardholder authenticated to the device for this paymentWallet, verified by issuerTreat transactions without verification as higher risk, with their own limits
App and device integrity attestationThe app is genuine and the device is not modifiedIssuer app and its serverGate key replenishment and provisioning on a passing attestation
Enrolment change signalsBiometrics or the wallet enrolment changedWallet and issuerRequire step-up or re-provisioning after a reset or enrolment change

For the issuer app side of binding, including enrolment, transaction signing and in-app wallet provisioning, see the Mobile Banking App Security Guide.

Where identity fits

Provisioning a token is an identity decision: a new device is being given a credential that acts for the cardholder. The step-up options (SMS code, in-app approval, outbound call, decline) and their strengths are covered in the Digital Wallet Token Provisioning Fraud Guide. Behind the customer journey sit non-human identities that deserve the same rigour: the issuer's API credentials to the token service provider, the keys that sign push-provisioning payloads, and the HSM keys that derive card and token keys. Store them in an HSM or secrets manager, scope them per environment and rotate them on a schedule. See Payment HSMs and the Payment Service Provider NHI and Key Security Guide.

Limits, authentication and regulation

  • EU and EEA contactless exemption: Commission Delegated Regulation (EU) 2018/389 Article 11 lets payment service providers skip strong customer authentication for a contactless payment at point of sale if the single amount is no more than EUR 50 and either cumulative contactless spend since the last SCA is no more than EUR 150 or there have been no more than five consecutive contactless payments.
  • Monitoring duty: Article 2(2) of the same regulation requires transaction monitoring that considers, at a minimum, compromised or stolen authentication elements, the amount of each payment, known fraud scenarios and signs of malware in authentication sessions.
  • Wallets and the counters: wallet payments verified on the device count as authenticated in a way that a plain card tap below the limits does not. Design product rules so unverified wallet modes (for example transit modes) carry their own limits rather than inheriting the verified ones.
  • Other markets: limits and rules differ by country and change, including recent UK changes covered in the relay guide. See the Payments Sector Regulation Map.

Acceptance: terminals and tap to pay on phones

On the merchant side, the security model depends on the device that reads the card:

Acceptance optionSecurity basisMain merchant responsibilities
Dedicated EMV contactless terminalEMVCo-approved Entry Point and kernels; PCI-approved hardware where requiredDevice inventory, tamper inspection, segmentation of the store network, vendor remote access control
Phone or tablet accepting taps through a solution listed under PCI MPoCSoftware-based security on a commercial off-the-shelf device, validated against the PCI Mobile Payments on COTS standardUse only listed solutions, enrol devices in management, keep the OS and app current, control staff access to the acceptance app
Legacy CPoC-listed solutionPCI Contactless Payments on COTS, whose sunset period ended on 31 October 2026; PCI SSC no longer accepts new CPoC submissions and points new projects to MPoCCheck with the acquirer and solution provider how existing deployments are handled and plan migration

See the PCI Mobile Payments on COTS Guide and the Point of Sale Security Guide for the merchant controls in depth.

Implementation roadmap

  1. Map the credential paths: list every way a card becomes a tap credential (physical card, platform wallets, your own HCE wallet, wearables) and the token domain each uses.
  2. Decide secure element, HCE or both: record the threat model and compensating controls for each, including who owns key storage and replenishment.
  3. Set token domains and limits per path: channel restrictions, per-token velocity and amount limits, and lower limits for unverified modes and newly provisioned tokens.
  4. Build device binding and attestation: gate provisioning and key replenishment on device and app attestation; for HCE, keep keys short-lived.
  5. Pilot in a ring: start with staff cards, then a small customer cohort, comparing decline rates, false positives and fraud against the physical card baseline.
  6. Wire lifecycle and monitoring: connect reissue, closure and fraud events to the token service; feed provisioning, device and transaction data into one fraud view.
  7. Plan rollback: be able to suspend a single token, a device model, a wallet type or all HCE keys, and to tighten limits by configuration without an app release.

Detection and measurement

  • Cryptogram validation failures: rate and pattern of failed or missing cryptogram checks by token, device model and terminal; a rise can mean replay attempts or a terminal problem.
  • Unverified transaction share: proportion of wallet transactions without on-device verification, by mode, against the policy you set.
  • Attestation failure rate: share of key replenishment or provisioning requests failing attestation, and fraud rate among those that pass.
  • Time to suspend a token: minutes from a fraud flag or lost-device report to suspension.
  • Fraud basis points by credential path: fraud value as a share of spend for physical contactless, each wallet type and HCE, so design weaknesses show up as a path, not as noise.

Framework mapping

Control areaNIST CSF 2.0NIST SP 800-53 Rev. 5ISO/IEC 27001:2022 Annex A
Device and cardholder authenticationPR.AA-03IA-2, AC-19A.8.1 User endpoint devices, A.8.5 Secure authentication
Key generation and management for card and token keysPR.DS-02SC-12A.8.24 Use of cryptography
Protection of payment data in transitPR.DS-02SC-8A.8.24 Use of cryptography
Transaction and device monitoringDE.CM-09SI-4A.8.16 Monitoring activities

On the threat side, the lures that precede wallet fraud map to MITRE ATT&CK for Mobile T1660 Phishing, and credential capture by overlay maps to T1417.002 GUI Input Capture.

Common failure patterns

  • Treating the cryptogram as the whole defence: relay and fraudulent provisioning both produce valid cryptograms; without device binding and monitoring the chip offers no protection against them.
  • Loose token domains: device tokens that also work for card-not-present payments turn a device compromise into an online fraud problem.
  • Long-lived keys in HCE apps: keys stored in app storage without hardware backing or replenishment limits are worth stealing and reusing.
  • Inheriting verified limits for unverified modes: screen-off or transit modes running under the same limits as verified payments widen the gap a stolen device can exploit.
  • Lifecycle gaps: reissued or closed cards whose wallet tokens stay active because the token service was never told.
  • Using the NFC UID as an identifier: acceptance or loyalty systems that key on the UID break on HCE devices, which randomise it, and invite spoofing.

Practitioner checklist

  • Document every credential path (card, platform wallets, HCE, wearables) with its key location and token domain.
  • Restrict device tokens to the channels they were issued for and issue one token per device.
  • Reject transactions with failed, missing or replayed cryptograms and alert on unusual counter patterns.
  • For HCE, use hardware-backed keys where available, short-lived keys and attestation-gated replenishment.
  • Require device unlock for payment services and keep screen-off payments off unless a specific mode has its own limits.
  • Apply lower limits to unverified modes and to newly provisioned tokens.
  • Connect card lifecycle and fraud events to the token service and test suspension of a single token end to end.
  • Protect token service API credentials and provisioning signing keys in an HSM or secrets manager with rotation.
  • Accept taps on phones only through solutions listed under PCI MPoC and plan migration from CPoC-listed solutions.
  • Report fraud basis points by credential path every month and review the limits against them.

Standards and references

Related NHI Mgmt Group resources: NFC Relay and Ghost Tapping Fraud · Digital Wallet Token Provisioning Fraud Guide · Network Tokenisation for Payments Guide · PCI Mobile Payments on COTS Guide · Bluetooth, RFID and NFC Security Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.