Testing methods

Static vs dynamic mobile security testing

Package inspection tells you what is present. Runtime testing shows what happened under the conditions you exercised. A useful assessment connects both.

Difference between static and dynamic application security testing

Static application security testing (SAST) reads the app without running it: the package, manifest, configuration and code. Dynamic application security testing (DAST) runs the app and observes what it actually does: screens, network traffic, stored data and responses to input.

The practical difference is the kind of claim each one supports. Static analysis shows that something is present, such as a cleartext setting or an exported component. Dynamic testing shows whether it was reachable and what happened when it was exercised. Static results are best treated as candidates; dynamic evidence is what confirms or rules them out.

What static analysis can establish

Static analysis examines an approved app package without running it. For Android, a reviewer can inspect the manifest, resources, configuration and available code to locate security-relevant behavior.

This is useful for finding entry points, network configuration, embedded references and code that deserves closer review. A URL found in the package is evidence of a reference. It is not evidence that the installed app called that URL, that the endpoint is reachable, or that an authorization flaw exists.

What dynamic testing adds

Dynamic testing observes the app while it runs. With an authorized environment and test accounts, reviewers can exercise workflows and inspect permitted device or network behavior.

The result depends on the build, device, accounts, inputs and paths tested. A successful login covers that observed journey; it does not prove every role or API path works securely. If the app refuses the test device or traffic cannot be observed, record the affected coverage as unavailable.

Compare prerequisites and limits

Both methods need a defined scope. The practical differences help determine what can be answered now and what needs a runtime session. Scroll the table horizontally on small screens.

Choose the method for the question
QuestionStatic analysisDynamic testing
What do you need?An approved package and tools compatible with its format.A compatible runtime, permitted workflows and suitable test accounts.
What can you inspect?Code, resources, declarations and configuration available in the package.Behavior and traffic visible during the exercised session.
What is the main limit?Code or configuration may not describe the effective behavior in a particular session.Unvisited paths and unobserved traffic remain outside measured coverage.
What should be reported?The artifact, location, interpretation and verification still needed.The build, conditions, actions, observations and visibility gaps.

Example: cleartext configuration and observed traffic

Suppose an Android package appears to permit HTTP traffic. Review the effective Android network security configuration and the applicable domains. The setting warrants investigation, but alone it does not show that sensitive data was transmitted without encryption.

In an authorized runtime session, exercise the relevant workflow using test data. If an attributable capture shows sensitive data over HTTP, the reviewer has different evidence: an observed transmission under recorded conditions. If no such traffic is visible, distinguish "not observed in this session" from "cannot happen."

This example describes an assessment method, not a finding measured by AppBreach on a customer app.

Use automation with reviewable evidence

Automated checks help find signals and repeat known procedures. Their output still needs interpretation: a matching string, a model response or a completed stage is not enough to establish the security impact of a finding.

The OWASP MASTG provides testing references, while OWASP's assessment guidance explains the limits of automated tools. Match each conclusion to the evidence and control being assessed.

Build a complementary test plan

Use the MASVS planning checklist to select checks, read our comparison of standalone MobSF vs real-device mobile security testing, and use the report evidence guide to record the results. Start with the mobile app security testing guide for the full assessment flow.

AppBreach combines static analysis for Android (APK and split-APK sets) and authorized unencrypted iOS IPAs with optional real-device pilot runs on real Android and iOS devices under a signed scope; runtime coverage and gaps are reported explicitly. Inspect live outputs on the sample reports page.

Related reading