Verify evidence Search

Methodology document

Security audit

Authorised, scoped and evidence-based: how we assess the security of VPN client applications on mobile and desktop, from planning to retest.

  • Methodology v2.0 · effective 19 November 2026
  • IDVPNL-M-04
  • Last reviewed
  • 7 min read
Flat illustration of an audit process with a checklist, a magnifier and a lock

In brief

A VPN Labs security audit is an authorised, scoped assessment of a VPN client application that follows the four phases of NIST SP 800-115 — planning, discovery, attack and reporting — and tests against the eight control groups of OWASP MASVS v2.1.0 using OWASP MASTG procedures, adapted for desktop clients. Every finding is validated by an independent reproduction, rated with CVSS v4.0, and retested after a fix.

Audit phases
4NIST SP 800-115
Control groups
8OWASP MASVS v2.1.0
Assessors per finding
2Finder and validator
Reproductions
3×Before a finding is reported

Authorised testing only

We test only what we are allowed to test. The basis for that permission differs between independent and commissioned work, and it is stated in every record.

Table 1 What may be tested, by engagement type
EngagementWhat may be testedBasis
Independent review
The client software, on devices we own, using accounts we pay for; our own network traffic
Lawfully obtained software and our own equipment. No testing of vendor servers or of other users
Commissioned audit
The scope in the signed agreement, which may include APIs and servers
Written authorisation signed by the vendor before the test window, naming scope, dates, test accounts and our source IP addresses
Any engagement — never
Other customers’ data, denial of service, social engineering of staff, physical intrusion
Excluded in all cases

Analysis of client software, including decompilation, is carried out only to the extent permitted by applicable law and, for commissioned audits, by the agreement.

Rules of engagement

  • Scope in writing. Scope, out-of-scope items and the test window are fixed in writing; any change requires written confirmation from both sides.
  • Named contacts. Each side names a technical contact and an emergency contact for incidents.
  • Stop conditions. If testing exposes data of other users or credentials not issued to us, or degrades a service, testing stops, the vendor is informed within 24 hours and the incident is recorded.
  • Data handling. Data obtained during testing is stored encrypted, used only for the engagement and handled under the evidence handling policy.
  • Rate limits. Automated testing against vendor APIs — commissioned audits only — stays within agreed request rates.
  • Independence. The vendor receives findings, not drafts for approval. Publication follows the disclosure policy.

Phases (NIST SP 800-115)

NIST Special Publication 800-115, Technical Guide to Information Security Testing and Assessment (September 2008), describes a four-phase penetration-testing process. We use its phases as the backbone of every audit; the attack phase may loop back to discovery when new components are found.

Table 2 Audit phases, activities and outputs
PhaseActivitiesOutput
1 Planning
Scope, rules of engagement, authorisation; threat model for the client — local unprivileged user, malicious app on the same device, attacker on the local network, attacker on the path to vendor APIs
Signed test plan
2 Discovery
Inventory of components, permissions, services and endpoints; static analysis; dependency inventory
Attack-surface map and candidate issues
3 Attack
Dynamic analysis, interception of the client’s own API traffic, IPC testing, validation of candidate issues
Validated findings with evidence
4 Reporting
Severity rating, recommendations, vendor notification, retest
Record with findings, evidence and history

OWASP MASVS v2.1.0 control groups

The OWASP Mobile Application Security Verification Standard (MASVS) v2.1.0 groups security requirements into eight control groups. The table shows what each group means for a VPN client.

Table 3 MASVS v2.1.0 control groups mapped to VPN-client checks
Control groupFocusVPN-client checks
MASVS-STORAGE
Secure storage; preventing leakage of sensitive data
Where account tokens, WireGuard private keys and OpenVPN credentials are stored (Keystore or Keychain versus plain files); logs and crash reports containing IP addresses, hostnames or tokens; backups
MASVS-CRYPTO
Strong cryptography; key management
Tunnel ciphers and key exchange as configured; key generation and rotation; hard-coded keys or secrets in the binary
MASVS-AUTH
Authentication and authorisation
Login and session handling; token lifetime and revocation; local authentication protecting sensitive settings
MASVS-NETWORK
Secure network communication; identity pinning
TLS for API calls and configuration downloads; certificate validation; pinning of vendor endpoints; integrity of server lists and configuration files
MASVS-PLATFORM
Secure use of IPC, WebViews and the user interface
Exported components, intents and deep links; WebViews in login and payment flows; whether the interface reports the protection state accurately
MASVS-CODE
Platform version, updates, dependencies, input validation
Minimum supported OS; enforced updates; known-vulnerable libraries such as outdated OpenSSL; parsing of server-supplied data
MASVS-RESILIENCE
Anti-tampering and anti-analysis
Informational, unless the control protects a security boundary such as the integrity of the update mechanism
MASVS-PRIVACY
Data minimisation, unlinkability, transparency, user control
Permissions versus features; telemetry and analytics SDKs; identifiers sent to the vendor; consent and opt-out

MASVS defines what should hold; the OWASP Mobile Application Security Testing Guide (MASTG) describes how to test it. Each finding records the MASVS control group and, where one exists, the MASTG test identifier, together with the MASTG release used.

Desktop adaptation

MASVS is written for mobile apps. For Windows, macOS and Linux clients we apply the same control groups to their desktop equivalents and label the record "OWASP MASVS v2.1.0 (adapted for desktop)".

Table 4 Desktop equivalents of selected MASVS control groups
Control groupWindowsmacOSLinux
STORAGE
DPAPI or Credential Manager versus plain configuration files in ProgramData
Keychain versus files in Application Support
Secret Service versus files in the home directory or /etc
PLATFORM
Named pipes, RPC and local sockets of the SYSTEM service
XPC services and privileged helpers; client validation
D-Bus, UNIX sockets, polkit rules
CODE
DLL search order, binary signatures, update service
Hardened runtime, notarisation, update framework
Package signatures, setuid binaries
NETWORK
Persistence of Windows Filtering Platform filters; driver configuration
Network extension configuration
nftables or iptables rules; routing tables

Static and dynamic analysis

Static and dynamic analysis are complementary: static analysis shows what the code could do, dynamic analysis shows what it does on a real device.

Static analysis

  • Decompile and inspect: jadx 1.5.0 and apktool 2.9.3 for Android packages; Ghidra 11.1.2 for native libraries and desktop binaries.
  • Dependency inventory: bundled libraries and their versions — TLS libraries, WireGuard or OpenVPN implementations, analytics SDKs — checked against public vulnerability databases.
  • Secrets: hard-coded keys, API tokens, credentials and test endpoints.
  • Configuration: manifests, entitlements, network-security configuration and default settings.

Automated scanners such as MobSF are used for triage only. No scanner output is reported without manual validation.

Dynamic analysis

  • Instrumentation: Frida 16 on test devices to observe key handling, certificate validation and inter-process communication.
  • API traffic: interception of the client’s own API traffic — not the tunnel — with mitmproxy 10.3 and a lab certificate authority, to check certificate validation and pinning.
  • System activity: file-system, registry and process monitoring during installation, connection, disconnection and update (Process Monitor 4.01 on Windows).
  • IPC testing: for every privileged component, who can connect, which commands are accepted and whether the caller is verified.

Sensitive data in transit

During a scripted 30-minute session — install, sign in, connect, switch servers, disconnect, open settings — we record every request the client makes to vendor and third-party endpoints: destination, purpose, data fields (identifiers, device data, connection metadata), TLS version and certificate-validation behaviour. The result is compared with the privacy policy extracted in the technical review; undisclosed transmissions are findings under MASVS-PRIVACY.

Configuration review

We review the tunnel configuration the vendor delivers to the client: WireGuard keys and allowed IP ranges, OpenVPN data-ciphers and TLS settings, DNS servers pushed to the client, IPv6 handling, MTU, persistence of firewall rules, and every default that affects security. Insecure defaults are findings even if a secure option exists.

Vulnerability validation

Before a vulnerability is reported

  1. Reproduce the issue at least three times on a clean installation of the tested version.
  2. Establish the preconditions — attacker position, privileges, user interaction — that feed the CVSS v4.0 base metrics.
  3. A second assessor, not involved in finding the issue, reproduces it independently from the written steps.
  4. Capture evidence — logs, traces, captures, screenshots — and hash it at capture time.
  5. Rate severity under the severity policy and write a recommendation.

Candidate issues that cannot be reproduced are recorded internally as "not confirmed" and are not published as findings.

Retest

When a vendor reports a fix, we retest the specific finding on the fixed version, using the original reproduction steps plus variations that target the same root cause. The retest date, version and result are added to the finding; the original finding, its severity and its evidence remain in the record.

Fixed
The retest confirms the issue no longer occurs, including the variations.
Mitigated
The impact is reduced but the root cause remains; the remaining risk is explained.
Open
The retest reproduces the issue, or no fixed version has been provided.

Retest results are published as a new record version with a history entry, in line with the corrections policy.

Frequently asked questions

Is a VPN Labs security audit a certification?

No. An audit reports findings for named versions at a point in time, within a stated scope. It is not a certification, seal of approval or guarantee that a product is secure.

Does VPN Labs test VPN servers?

Not in independent reviews: we test the client on our own devices and observe only our own traffic. Commissioned audits may include servers and APIs when the vendor authorises it in writing before testing.

Why use a mobile standard (MASVS) for desktop VPN clients?

MASVS control groups — storage, cryptography, authentication, network, platform interaction, code quality, resilience and privacy — describe risks that also apply to desktop clients. We map each group to its desktop equivalent and label the record as adapted for desktop.

Records using this document

Published records that cite this document in their methodology.

Browse every record in the report registry

Further reading

Document control & citation

Document ID
VPNL-M-04
Methodology version
2.0
Effective
Published
Last reviewed
Status
Current
Owner
Head of Research (role)
Review cycle
At least once a year
Standards referenced
NIST SP 800-115, OWASP MASVS v2.1.0, OWASP MASTG, CVSS v4.0
Publisher
VPN Network Research Labs

Cite this document

VPN Network Research Labs (2026). Security audit (VPNL-M-04), methodology v2.0, effective 19 November 2026. VPN Labs. https://vpn.com.de/methodology/security-audit

Changes to this document are listed in the methodology changelog. Corrections to records follow the corrections policy.