VPN Detection: Methods, False Positives and Scoring

VPN detection is the practice of spotting when a user’s traffic reaches you through a VPN, proxy, residential proxy or Tor instead of their own connection. Fraud teams use it because hidden locations power multi-accounting, bonus abuse, account takeover and sanctions evasion. The best results come from treating a VPN as one risk signal in a score, not as an automatic block.
Why Fraudsters Route Traffic Through VPNs, Proxies and Tor
An IP address tells you roughly where a connection comes from. So it is exactly what a fraudster wants to control. Once the location looks right, many simple rules stop firing.
- Geo-restriction bypass. A user reaches a service licensed in one country, or priced lower in another region, from a place the rules exclude.
- Matching a stolen identity. A criminal using a victim’s documents picks an exit node in the victim’s city so the session looks local.
- Multi-accounting and bonus abuse. Rotating IPs lets one person open dozens of accounts and claim each signup reward, a pattern we cover in multi-accounting fraud.
- Account takeover. Attackers log in with stolen credentials through a proxy near the real owner, so login-location alerts stay quiet.
- Sanctions evasion. Users in a sanctioned jurisdiction mask their origin to reach financial platforms that bar them.
Still, none of these motives is visible from the IP alone. That is why detection has to look at what kind of network sits behind the address.
Types of Anonymising Networks and How Hard Each Is to Spot
“VPN” has become shorthand for several different technologies. They differ a lot in how easy they are to detect and in who uses them honestly, so a single rule for all of them rarely works.
| Network type | How it looks to your server | Detection difficulty | Common honest users |
|---|---|---|---|
| Commercial VPN | Shared exit IPs in hosting ranges | Low to medium | Privacy-minded consumers, travellers |
| Datacenter proxy | Cloud or hosting ASN, high request volume | Low | Scrapers, testing tools |
| Residential proxy | Home broadband IP from a real ISP | High | Few; often fed by apps that resell users’ bandwidth |
| Mobile or 4G proxy | Carrier IP shared by many subscribers | High | Rare, unless a fraud ring rents them |
| Tor | Exit relay listed publicly | Low, since exit relays are public | Journalists, people in censored countries |
| Privacy relay | Relay operator IPs, such as iCloud Private Relay | Low | Ordinary phone users with the feature on |
| Corporate VPN | Company-owned range, steady pattern | Low | Employees and B2B customers |
In particular, residential and mobile proxies cause the most trouble. Because their exits belong to real households and carriers, an IP reputation check alone cannot tell a fraud ring from a genuine customer on the same street.
VPN Detection Methods: Server, Browser and Device Signals

In reality, no single method catches everything. Strong programmes layer three viewpoints: what the server sees about the IP, what the browser reveals, and what the phone itself reports.
IP Intelligence and ASN Data
First, check who owns the address. If the autonomous system number (ASN) belongs to a hosting provider, a phone user connecting from it is unusual. Providers also maintain lists of known VPN exits, and the Tor Project publishes its exit relay addresses. Still, these lists age quickly, since VPN services rotate addresses and residential proxies never appear on them.
Location Consistency Checks
Next, compare the IP location with everything else you know. A device clock set to one timezone, a keyboard or system language from another region, or GPS coordinates far from the IP all point to masking. Impossible travel works too: when one account appears in two distant countries within minutes, at least one of those sessions is hiding something. For location-heavy apps, our guide to GPS spoofing detection explains the mobile side.
Network-Level Clues
Tunnels also leave fingerprints in the traffic itself. Round-trip latency that is too high for the claimed city, packet TTL or MTU values typical of tunnelling, and TCP signatures that do not match the reported operating system all suggest a relay. These clues are indirect, so they work best as supporting evidence.
Browser Signals
In web flows, WebRTC once leaked the real local IP behind a VPN. Modern browsers limit that exposure by default, following the IETF’s WebRTC IP handling rules, so treat a WebRTC leak as a bonus when it appears rather than a method to depend on. DNS resolver mismatches and proxy headers remain useful.
Device-Side Flags on Mobile
In contrast, native apps can ask the phone directly. On Android, for instance, the NetworkCapabilities API exposes whether the active network uses a VPN transport. An SDK can also read proxy settings and tunnel interfaces. This view catches a VPN even when its exit IP has a clean reputation, which server-side checks cannot do.
False Positives: Who Else Uses a VPN
Blocking every VPN feels safe until you count whom the rule catches. Most VPN traffic is not fraud, and a blunt rule quietly turns away customers you paid to acquire.
- Remote staff and B2B users connect through company VPNs by policy.
- Privacy-conscious customers keep a consumer VPN on all day.
- Phone users with privacy relays may not even know the feature is active.
- Travellers and expats use VPNs to reach home banking apps safely on hotel Wi-Fi.
- People in censored countries rely on VPNs or Tor for ordinary browsing.
- Mobile carrier customers share IPs through carrier-grade NAT, so one bad actor can taint an address used by thousands.
A practical test settles the debate. Compare confirmed fraud and chargeback rates for VPN and non-VPN sessions in your own data. If the two cohorts behave alike, the friction buys you nothing; if VPN sessions run far higher, the signal deserves weight.
Using VPN Signals in a Risk Score Instead of a Hard Block

A VPN flag on its own says “location uncertain”. Its meaning changes with what surrounds it, so score combinations rather than single flags, and weigh them by the moment in the journey.
| Signal combination | Journey moment | Suggested action |
|---|---|---|
| Consumer VPN only, known device, clean history | Login | Allow and log |
| Corporate VPN range tied to a known business customer | Any | Allowlist |
| VPN plus timezone or language mismatch on a new account | Signup | Step up with a selfie or document check |
| Proxy plus emulator, or one device behind many accounts | Promo redemption | Withhold the reward and send to review |
| VPN on a device that logged in from a new country minutes ago | Payout or withdrawal | Hold the payout until checks clear |
| Tor exit or IP linked to a sanctioned jurisdiction | Onboarding or transfer | Pause and escalate to compliance |
Above all, friction should match the stakes. When a VPN shows up on a low-value action, logging it costs nothing. At a payout, though, the same signal justifies step-up authentication before money leaves. Device identity also helps here: device fingerprinting keeps recognising a phone after it rotates through a hundred exit IPs.
VPN Detection for Sanctions and Geo-Restriction Compliance
For regulated firms, VPN detection is also a compliance control. Sanctions programmes, such as those run by the US Treasury’s OFAC or under UN Security Council regimes, expect firms to keep people in prohibited jurisdictions off their platforms, and an IP address is often the first clue.
According to OFAC’s 2021 sanctions compliance guidance for the virtual currency industry, firms should use geolocation tools and IP blocking, screen addresses against known VPN IPs, and flag improbable logins. The same document lists access from an IP or VPN connected to a sanctioned jurisdiction as a red flag. It also notes that past enforcement cases stemmed partly from firms ignoring geolocation data they already held.
A VPN signal, however, only says where someone might be. It does not say who they are. Name-based sanctions screening remains the core control, and a tool such as watchlist screening for sanctions and PEP profiles checks the customer against watch lists while device and IP signals cover location.
Where Verihubs Device Intelligence Fits
Server-side IP data misses a VPN whenever its exit address is clean. Device-side checks fill that gap, because the phone knows it is tunnelling regardless of where the traffic comes out.
The Device Intelligence SDK with VPN and proxy detection flags VPN connections that mask a device’s real IP and location, along with traffic routed through proxy servers. It checks these when the app opens, together with GPS spoofing, emulators, rooted or jailbroken phones and one device shared across many user IDs. Your backend then receives a device risk score and applies your own thresholds.
Even so, that scope has limits worth stating. The SDK covers your mobile app, so web sessions still need server-side IP intelligence. Identity questions, meanwhile, stay with KYC and screening.
Frequently Asked Questions
Can VPNs be detected?
Yes, in most cases. IP ownership data, location mismatches, network clues and device-side flags reveal many VPN connections, although residential and mobile proxies are much harder to catch from the IP alone.
What is the difference between VPN detection and proxy detection?
A VPN encrypts all device traffic through a tunnel, while a proxy usually relays traffic for one app or browser. Detection overlaps heavily, but proxies, especially residential ones, often need device and behaviour signals on top of IP checks.
Can residential proxies be detected?
Partly. Their IPs look like real home connections, so reputation lists fail. Teams catch them through device-side proxy settings, timezone and language mismatches, latency anomalies and many accounts sharing one device.
Should businesses block all VPN users?
Usually not. Corporate staff, travellers and privacy-minded customers use VPNs legitimately. Score the VPN signal with device, account and transaction context, and reserve blocks for high-risk combinations or sanctioned locations.
Is VPN detection legal?
Generally yes, when it serves fraud prevention or compliance and follows privacy law. In the EU, for example, IP addresses can count as personal data under the GDPR, so collect only what you need and explain it in your privacy notice.
VPN Detection Earns Its Value Inside a Layered Risk Score
The fraud teams that struggle with VPN detection usually asked it the wrong question. “Is this a VPN?” has a yes-or-no answer, but “is this session risky?” needs context from the device, the account and the action. Treat the anonymising network as evidence, combine it with device and identity data, and save hard blocks for the cases where the law or the loss leaves no room.
Building VPN and proxy signals into your fraud rules? Discuss your device risk setup with Verihubs.