mitmproxy (5G SBI)
Command Line Execution
Run this command in the TelcoChisel terminal to launch or execute the tool:
mitmproxy --versionDetailed Technical Overview
mitmproxy is an interactive SSL/TLS-capable intercepting HTTP/2 proxy. In 5G Standalone (SA) architectures, core network functions (AMF, SMF, NRF, UDM, AUSF) communicate over the Service Based Architecture (SBA/SBI) using HTTP/2 REST APIs and JSON payloads. Pre-configured with 3GPP OpenAPI schemas and certificates, mitmproxy decrypts, inspects, and modifies 5G SBI control plane traffic in real time.
Configuration & Usage Guide
To initialize and configure mitmproxy (5G SBI) for telecom security audits, follow these steps:
- 1Launch mitmproxy on default port 8080: mitmproxy -p 8080
- 2Launch with web UI interface: mitmweb -p 8080 --web-port 8081
- 3Intercept 5G NRF registration requests: mitmproxy --view-filter '~u /nnrf-nfm/v1/nf-instances'
Troubleshooting & Security Audits
Master mitmproxy (5G SBI) with Interactive Telecom Labs
Practice deploying mitmproxy (5G SBI) against live cellular networks, radio interfaces, and mobile cores in TelcoSec Academy's browser-accessible cloud sandboxes.
Frequently Asked Questions
How is mitmproxy used in 5G Core pentesting?
It intercepts HTTP/2 REST API communications between 5G network functions, allowing operators to tamper with subscriber profile updates, authentication tokens, and slice selection parameters.
Does mitmproxy support HTTP/2 multiplexing?
Yes, it fully supports HTTP/2 multiplexed streams, server push, and header compression (HPACK) standard in 3GPP Rel-15 through Rel-18.