Mobile App Threat Modelling for Banking Apps: Mapping the Attack Before It Happens

Mobile App Threat Modelling for Banking Apps: Mapping the Attack Before It Happens

A banking app can pass its VAPT cycle and still be exposed in the flows that matter most. Checklist testing covers screens and APIs, but it does not ask how someone would misuse a specific flow, such as device registration or beneficiary addition. That question belongs to threat modelling, and it needs an answer before testing starts.

This guide shows how to build a threat model for a mobile banking app, from the money-moving flows down to the controls that protect them. It walks through a filled-in example for a UPI payment and explains how the finished model sets the scope for a red team exercise.

TLDR

  • Mobile app threat modelling identifies what a banking app must protect, who would attack it and which controls should stop them, before testing begins.
  • A useful model covers four layers: the app binary, the device it runs on, the APIs it calls and the backend that trusts those calls.
  • The finished model becomes the red team’s scope, so testing targets the attack paths that could actually lead to fraud.

What is mobile app threat modelling?

Mobile app threat modelling is a structured way of identifying what a mobile app needs to protect, how it could be attacked and which controls should stop each attack, so that security work focuses on the risks that matter most. For a banking app, the model centres on the flows that move money or confirm identity, and it covers the app, the device, the APIs and the backend together.

Most teams use a framework to keep the exercise consistent. STRIDE is widely used for mobile apps, because its six categories (spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege) map cleanly onto how banking fraud happens. The OWASP Mobile Application Security Verification Standard (MASVS) then gives each threat a recognised control to check against.

Threat modelling is also the first area of a full assessment, as our guide to what a comprehensive security assessment of a mobile banking app should cover explains.

How to build a threat model for a mobile banking app

A threat model for a banking app can be built in five steps, and a first version can usually be built over a few working sessions with security, mobile engineering and the fraud team in the same room.

Step 1: Define the flows and assets that matter

Start with the flows that move money or confirm identity, such as UPI payments, beneficiary addition, device registration, card controls and account recovery. For each flow, list the assets it relies on, including session tokens, device binding records, MPIN checks and transaction limits.

Step 2: Map the attack surface across four layers

Mobile attack surface mapping works best when every flow is traced through the same four layers, because each one is trusted for something different.

Layer What it is trusted to do Key question for the model
App binary Hold logic and enforce client-side checks What would someone learn by taking the app apart?
Device state Report whether the device is genuine and uncompromised What happens if the device is rooted, jailbroken or emulated?
APIs Carry requests between the app and the bank Does the server verify each request, or trust the app?
Backend Make the final decision on money and identity Which rules are enforced only on the client?

Step 3: Identify threats with STRIDE

Walk each flow through the six STRIDE categories and write down every realistic threat. For a banking app, spoofing and tampering usually dominate, because fraud often depends on impersonating a customer’s device or altering what the app sends. Base them on real banking app attack scenarios your fraud team has seen, not only textbook examples.

Step 4: Rate and prioritise each threat

Score each threat on likelihood and business impact, then rank them. A threat that could move money or take over an account sits at the top, even if it needs several steps. Rating chains of weaknesses, rather than single flaws, is what separates a useful model from a vulnerability list.

Step 5: Map controls and decide how to verify them

For each high-priority threat, name the control that should stop it and map it to the relevant OWASP MASVS group. Then record how you will verify it, whether through automated testing, a penetration test or a red team objective. The model is only finished when every top threat has an owner and a test.

A worked example: threat modelling a UPI payment flow

The table below shows part of a filled-in model for a UPI payment in an Android banking app that uses SIM-based device binding and an MPIN. It is a starting template rather than a complete model, but it shows the level of detail a red team can scope from.

Flow step STRIDE category Threat Priority Control to verify
Device registration Spoofing A new device is bound to an existing customer’s account High Server-side verification of device identity and binding
App launch Tampering A modified copy of the app runs against production APIs High Runtime integrity checks backed by server-side attestation
Login and MPIN Spoofing MPIN or session checks are bypassed on a compromised device High Server-enforced authentication and session expiry
Payment request Tampering Amount, payee or limit values are altered after the app validates them High Every transaction rule enforced on the server
Payment request Repudiation A customer disputes a payment the bank cannot prove they made Medium Signed requests and tamper-proof transaction logs
Transaction history Information disclosure One customer’s data is returned to another Medium Object-level authorisation on every API
Beneficiary limits Elevation of privilege A new payee gets higher limits than policy allows Medium Server-side cooling period and limit checks

Two patterns stand out. Most high-priority threats depend on the server trusting something the app or device reports, and most of the controls that matter sit on the backend rather than in the app. That is typical for banking apps, and it is why a model that stops at the app binary misses the threats most likely to cause losses.

Our page on security for UPI applications covers the controls that matter most for payment apps.

How the threat model sets red team scope

A finished threat model turns directly into red team objectives. Each high-priority threat becomes a question the red team tries to answer, such as “can a new device be bound to an existing account without the customer’s approval?” The red team then works exploit-first, proving whether a threat is real rather than listing theoretical weaknesses.

Red team engagements are usually run as black-box tests, giving the team the same scope and visibility as a real attacker. Banks that prefer to test in a user acceptance testing (UAT) environment can do so, provided the scope and visibility stay the same. Because the model ties every objective to a business risk, the findings that come back are easy to prioritise and explain to the board.

The model also sets the testing rhythm. Many banks run red team exercises on a periodic schedule, such as once or twice a year, and update the model before each one, as well as after trigger points such as a new payment feature or a rise in app-related fraud.

For how engagements are scoped and run, see our guide to red teaming for mobile banking apps: scope, rules of engagement and deliverables. If you are still deciding which kind of testing you need, read red teaming vs penetration testing for mobile banking apps.

Common threat modelling mistakes in banking apps

Most weak threat models fail in the same few ways:

  • Modelling only the app binary, when the highest-impact threats sit in the APIs and backend.
  • Treating the model as a one-time document instead of updating it with each major release.
  • Rating threats one at a time, which hides attack paths that chain several medium issues together.
  • Leaving the fraud team out, so the model misses the attack patterns they already see in production.
  • Listing controls without saying how each one will be tested.

How Bugsmirror approaches threat modelling

ThreatLock is Bugsmirror’s red teaming service for mobile apps, and every engagement starts with threat modelling aligned to the app’s architecture. Bugsmirror’s specialists use that model to define the scope, then simulate real-world attacks across Android and iOS, backing every finding with a proof of concept and verifying fixes through regression testing.

Since ThreatLock is part of MASST, Bugsmirror’s mobile application security suite & tools, the threats a model identifies can be addressed at every layer it covers, from build-time hardening to runtime protection and server-side validation of API calls.

Our guide to what mobile app shielding actually includes explains how build-time hardening and runtime protection work together.

If you want to see which attack paths matter most for your banking app, book a free mobile app security audit. Our team will map your app’s critical flows and show you where your controls need attention first.

FAQs:

  1. What is the best threat modelling framework for mobile banking apps?
    Ans: STRIDE is one of the most widely used frameworks because its categories map closely to banking fraud, such as device spoofing and request tampering. Many teams pair it with OWASP MASVS to map each threat to a recognised control.

  2. How often should a banking app’s threat model be updated?
    Ans: Update the model with every major release, before each red team exercise and whenever a new payment feature or fraud pattern appears. A model that is more than a few releases old usually misses the flow attackers target first.

  3. Who should be involved in mobile app threat modelling?

    Ans: The core group is security, mobile engineering, backend engineering and the fraud team. Product owners for payment and onboarding flows help confirm which assets and limits matter most to the business.

Share this article

Help others discover this content

Don’t give fraud a way in. Secure every layer of your mobile app.

100M+

Users Protected

100+

Apps Secured

1000+

Apps Hardened

Emulator detected
Session blocked