Real device testing

How banks test mobile apps on real devices securely

Reading Time : 6 min read
mobile apps on real devices securely

Every mobile security lead has the same moment. The build passes on the emulator, the scan comes back clean, and then someone runs it on a physical iPhone with Face ID enabled and a real carrier network. Suddenly the Keychain behaves differently, the biometric prompt fails a step-up flow, and the device integrity check returns a verdict nobody planned for.

Emulators don’t share the threat model of real hardware. Secure keystores, biometrics, device attestation and live network conditions only show up on physical devices. That’s why banks and financial-services teams test there, and why the device lab itself becomes something you have to secure.

Here’s the approach I’d use to do both: test the app hard, and keep the lab from becoming a new risk. For more on the hardware gap, see real devices vs emulators.

How banks test mobile apps on real devices securely infographic

Start with OWASP MASVS and MASTG so every test maps to a control

Two OWASP documents do most of the work. The OWASP Mobile Application Security Verification Standard (MASVS) defines what “secure” means. The OWASP Mobile Application Security Testing Guide (MASTG) explains how to verify each control. MASTG is maintained as a live web resource, with its v2.0.0 refactor moving away from a static checklist, so link your test cases to the current pages instead of a stale spreadsheet.

Three MASVS areas matter immediately for banking apps:

  • Storage. MASVS-STORAGE-1 states, “The app securely stores sensitive data.”
  • Cryptography. MASVS-CRYPTO-1 requires the app to employ “current strong cryptography” used according to industry best practices.
  • Key management. MASVS-CRYPTO-2 says the app “performs key management according to industry best practices.”

For governance, NIST SP 800-163 Rev. 1, “Vetting the Security of Mobile Applications” (published April 2019, superseding the 2015 baseline), gives you the planning, testing and approval mindset. It covers how to plan a vetting process and develop security requirements for evaluating apps. On the payment side, PCI DSS applies pressure too. Requirement 6.3.3, for example, expects critical and high-severity patches deployed within 30 days of release, which means your regression evidence has to be fast and repeatable. For a deeper treatment of how scans become proof, read our guide to mobile app security testing from scan to proof.

Banking App Security Testing Checklist Builder
Banking App Security Checklist Builder
OWASP MASVS mapped
Mobile banking · Real devices · MASVS

Build a security checklist that holds up on real hardware.

Emulators don’t share the threat model of a real phone. Keychain, Keystore, biometrics, attestation and live networks only behave honestly on physical devices. Answer seven questions and get a prioritised test plan, mapped to OWASP MASVS controls, with the evidence each test should leave behind.

Where mobile banking security gets tested A banking app on a phone sends traffic over pinned TLS to a backend shield that makes the risk decision, while a secured real-device lab runs the tests with synthetic data and produces audit evidence. TLS + PINNING SYNTHETIC DATA VERDICT EVIDENCE iOS ANDROID The banking app KEYCHAIN · KEYSTORE · BIOMETRICS The backend decides ATTESTATION · INTEGRITY · SESSIONS The device lab ISOLATION · ACCESS · RETENTION iOS ANDROID The app The backend The lab SECURE STORAGEBIOMETRICS ATTESTATIONRISK DECISION ISOLATIONRETENTION PINNED TLS VERDICT EVIDENCE

The app

Secure storage · hardware-backed keys · biometric step-up · pinned TLS · what an attacker holds in their hand

The backend

Validates attestation and integrity verdicts · owns sessions · makes the risk decision a patched client can’t skip

The lab

In scope, not neutral · session reset · least privilege · encrypted paths · artifact retention rules

0
Of 7 answered
—
Test scenarios
—
MASVS controls mapped
—
Critical, test first

Scope the checklist to your banking app

Answer for the release you’re testing next. Features and authentication methods decide which scenarios appear, your objectives decide which MASVS areas are covered, and compliance and QA maturity shape the evidence and next moves.

0 / 7
Answer all seven questions to build the checklist.
Your security testing checklist

Risk-based priority mix
Critical: release blocker High: this release Medium: scheduled regression
Test scenarios

Tick tests off as you run them. Open any scenario for steps, platform notes and the evidence to keep.

0 / 0 done
OWASP MASVS control map

Highlighted controls are covered by your checklist. Link each test case to the current MASTG page for that control rather than a static spreadsheet.

Secure the device lab itself

Lab controls to expect

    The do not list

      Compliance and evidence
      Your 30/60/90 moves
      Draft test policy for sign-off

      A short agreed document beats a secret tool. Fill in the bracketed fields, then have Security, QA and Compliance sign it before the next release.

      The six real-device security checks

      Reference · open any card
      Copied

      Treat the device lab as in scope

      A device lab is infrastructure that handles your builds, credentials and screenshots. Put it in the threat model. The surface includes test runners, device pools, uploaded builds, logs, videos, screenshots, and the network paths to staging backends.

      AWS Device Farm's own documentation is a useful reference here. It publishes security best practices covering network isolation and access controls, and it notes that data can persist between sessions in some cases and needs appropriate handling. Whatever platform you pick, ask the same questions.

      Baseline controls to expect:

      • Session isolation and a reset between runs, so one tester's data never reaches the next session.
      • Least privilege access, with roles scoped by team and app.
      • Encryption in transit for every path between runners, devices and staging.
      • Artifact retention rules that say who can view logs, videos and HAR files, and when they're deleted.
      • Deployment choice. Cloud works for many teams, and on-prem fits stricter data residency needs. Our comparison of cloud vs on-premise device lab management covers the trade-offs.

      Then write down the "do not" list. Never use real customer or production accounts. Never log secrets or tokens. Never leave sensitive screenshots and recordings unmasked. Synthetic test data is the rule, and it's the heart of secure test data for banking apps.

      Run six security checks on real iOS and Android devices

      Map each check to a MASVS theme so the result doubles as audit evidence.

      1. Storage and backup safety. Confirm tokens and account data land in the iOS Keychain or Android Keystore, not in plain preferences, logs or backups.
      2. Cryptography and key management. Verify keys are hardware-backed where the device supports it, and that the app rejects weak algorithms.
      3. Authentication, MFA step-up and session management. Test step-up prompts for high-risk actions, biometric fallback, and session invalidation after logout, timeout and password change.
      4. Network protection. Validate TLS and certificate pinning, and confirm the app fails closed when a proxy presents an untrusted certificate. Exporting a HAR file helps with network traffic validation and review.
      5. Device integrity and anti-tampering. On iOS, Apple documents DeviceCheck and App Attest as services that help reduce fraudulent use of your services. Apple's documentation also states that not every device supports App Attest, so you need physical hardware to see real behavior. On Android, the Google Play Integrity API supplies integrity verdicts that your app sends to your backend for a decision.
      6. Supply chain. Verify third-party SDKs and dependencies against an approved list before each release.

      One rule covers the integrity checks: the backend must make the risk decision. A client-side check that an attacker can patch out isn't a control. Your test should prove the server rejects a bad attestation or integrity verdict, not just that the app displays a warning.

      Make it repeatable so security doesn't become the bottleneck

      A one-time pen test ages out the day you ship. Treat security as secure regression, tied to every release, and the 30-day patch expectations in PCI DSS stop feeling like a scramble.

      The bottleneck is usually authoring. Teams can't script every flow by hand, so security cases get skipped. Record a validated flow once, such as a biometric login or a step-up transfer, and turn it into reusable automation. Kobiton's Appium Script Generation converts recorded manual sessions into Appium scripts, and tests can run in parallel across selected real devices. Session Explorer then lets engineers replay a failed run and find the defect with logs and device context.

      Keep the evidence clean. Use synthetic data, sanitize artifacts before they leave the lab, and record only results you can verify. An audit trail that shows what was tested, on which device, by whom, and when is worth more than any claim about speed.

      Write the policy before the next release

      The teams that do this well don't have a secret tool. They have a short, agreed document: which MASVS controls get tested, what data is allowed, who can see artifacts, and how long they live. Security, QA and compliance should all sign it.

      Draft that policy this week, then pressure-test it against your next release candidate on real devices. If you'd like to see how a real-device lab fits into that workflow, explore Kobiton's real device testing best practices and bring your security team along.

      Real-Device Security Testing

      Prove banking app security on real devices

      • Run parallel tests across selected real devices
      • Replay failed runs with logs and device context
      • Convert recorded manual sessions into Appium scripts
      Real device grid with banking app security verdictsREAL DEVICES • MASVS MAPPEDiOS 18Mid-rangeAvailableMASVS-AUTH ✓Android 14FlagshipIn UseMASVS-CRYPTO ✓iOS 17Mid-rangeAvailableMASVS-STORAGE ✓Android 13Mid-rangeAvailableMASVS-NETWORK ✓iOS 18FlagshipAvailableMASVS-RESILIENCE ✓Android 14Mid-rangeIn UseMASVS-CODE ✓Run Tests6 devices • MASVS verdicts

      Interested in Learning More?

      Subscribe today to stay informed and get regular updates from Kobiton

      Ready to accelerate delivery of
      your mobile apps?

      Request a Demo