Skip to content

Set of tools and documentation for leveraging private APNs for mobile network traffic analysis

Notifications You must be signed in to change notification settings

aapooksman/privateAPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

privateAPN

Set of tools and documentation for leveraging private APNs for mobile network traffic analysis

DEF CON 32

Presented at DEF CON 32 on August 9 2024

DEF CON 32 YouTube: Coming soon!

DEF CON 32 slides.pdf

DEF CON 32 demo.mp4

Private APNs

Mobile devices connect to the Internet using mobile networks provided by Internet Service Providers (ISPs). The devices connect to the ISP mobile networks with Access Point Names (APNs) that is usually just "Internet" and just connects the device directly to the Internet.

Many ISPs have begun offering private APNs to allow you to have a private network inside the ISP infrastructure. By renting a private APN and redirecting all device traffic to your own server, you can easily intercept and tamper with mobile device network traffic.

This repository has instructions and tools on how to do this.

Private APNs offered by ISPs

ISP Private APN cost Country Data cost Network operator Can force APN settings? Notes
Telia.fi 100€ setup + 140€/month EU(/Global) ??? ??? No, APN settings must be set on SIM/device Not thoroughly tested outside Finland
Telia.fi 100€ setup + 140€/month Finland 5€/month for slow, 1.5€/day when used for fast Telia Yes, if set on the private APN configuration
Soracom.io $10 setup + $0.75/hour Global Soracom carriers & pricing Soracom carriers & pricing No, APN settings must be set on SIM/device Some network operators don't seem to need proper APN settings, See "Soracom Finland". Not thoroughly tested outside Finland
Soracom.io $10 setup + $0.75/hour Finland $0.05/MB Telia & DNA Yes, by default Even though Soracom says to use their APN settings, on this network device APN settings don't seem to matter at all and the device connects to the private APN with any APN settings
Soracom.io $10 setup + $0.75/hour Finland $0.05/MB Elisa No, APN settings must be set on SIM/device

"Can force APN settings?"

This means that the ISP/Network operator will not care what APN settings the device has configured and will redirect the device to the private APN anyway. For example, with the following setting on the ISP configuration:

force_apn

Configuring a Private APN and intercepting data

First select the ISP you want to use from the above list. Click the ISP name for documentation on how to set up the Private APN and connect it to your server. In the instructions AWS based cloud server is used.

After connecting the private APN to your server you can either monitor the traffic on the server of connect the devices to other computers through a WireGuard tunnel:

You can setup the WireGuard connections with the setup found in wireguard

About

Set of tools and documentation for leveraging private APNs for mobile network traffic analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages