New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Intercepting Mobile Traffic

Free

Analyze mobile app traffic for security vulnerabilities.

Get this skill

Free · Opens the source repo

What Intercepting Mobile Traffic does

This skill enables users to intercept and analyze HTTP and HTTPS traffic from mobile applications using Burp Suite. It is designed for security professionals performing penetration testing on mobile applications, allowing them to identify insecure API communications, authentication flaws, data leakage, and server-side vulnerabilities. By configuring Burp Suite as a proxy, users can capture and examine the data transmitted between mobile apps and backend servers, which is crucial for assessing the security posture of mobile applications.

The skill provides a structured workflow to set up Burp Suite for mobile traffic interception, including necessary configurations for both Android and iOS devices. Users are guided through the process of installing the Burp Suite CA certificate on their mobile devices, which is essential for decrypting HTTPS traffic. The skill also discusses various methods to bypass SSL pinning, a common security measure that can complicate traffic interception.

Once the setup is complete, users can utilize Burp Suite’s features to analyze captured traffic, focusing on key areas such as authentication tokens, API endpoints, and sensitive data in transit. The skill emphasizes the importance of ethical considerations, reminding users to only intercept traffic from applications they are authorized to test. Overall, this skill is a comprehensive resource for security testers looking to enhance their mobile application security assessments.

When to use it

Use this skill during mobile application penetration testing, API security assessments, or when evaluating client-server communication patterns.

When not to use it

Do not use this skill for unauthorized traffic interception, as this violates legal and ethical standards.

What you can build with it

Testing API Endpoints

Use this skill to evaluate the security of API endpoints in mobile applications, focusing on authentication and authorization vulnerabilities.

Analyzing Data Leakage

Intercept and analyze traffic to identify any sensitive data leakage between mobile apps and backend servers.

Bypassing Certificate Pinning

Utilize the skill to implement techniques for bypassing SSL pinning in mobile applications during security assessments.

How to install Intercepting Mobile Traffic

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/intercepting-mobile-traffic-with-burpsuite --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Intercepting Mobile Traffic with Burp Suite

When to Use

Use this skill when:

  • Testing mobile application API endpoints for authentication, authorization, and injection vulnerabilities
  • Analyzing data transmitted between mobile apps and backend servers during penetration tests
  • Evaluating certificate pinning implementations and their bypass difficulty
  • Identifying sensitive data leakage in mobile network traffic

Do not use this skill to intercept traffic from applications you are not authorized to test -- traffic interception without authorization violates computer fraud laws.

Prerequisites

  • Burp Suite Professional or Community Edition installed on testing workstation
  • Android device/emulator or iOS device on the same network as Burp Suite host
  • Burp Suite CA certificate installed on the target device
  • For Android 7+: Network security config modification or Magisk module for system CA trust
  • For SSL pinning bypass: Frida + Objection or custom Frida scripts
  • Wi-Fi network where proxy configuration is possible

Workflow

Step 1: Configure Burp Suite Proxy Listener

Burp Suite > Proxy > Options > Proxy Listeners:
- Bind to address: All interfaces (or specific IP)
- Bind to port: 8080
- Enable "Support invisible proxying"

Verify the listener is active and note the workstation's IP address on the shared network.

Step 2: Configure Mobile Device Proxy

Android:

Settings > Wi-Fi > [Network] > Advanced > Manual Proxy
- Host: <burp_workstation_ip>
- Port: 8080

iOS:

Settings > Wi-Fi > [Network] > Configure Proxy > Manual
- Server: <burp_workstation_ip>
- Port: 8080

Step 3: Install Burp Suite CA Certificate

Android (below API 24):

# Export Burp CA from Proxy > Options > Import/Export CA Certificate
# Transfer to device and install via Settings > Security > Install from storage

Android (API 24+ / Android 7+): Apps targeting API 24+ do not trust user-installed CAs by default. Options:

# Option A: Modify app's network_security_config.xml (requires APK rebuild)
# Add to res/xml/network_security_config.xml:
# <network-security-config>
#   <debug-overrides>
#     <trust-anchors>
#       <certificates src="user" />
#     </trust-anchors>
#   </debug-overrides>
# </network-security-config>

# Option B: Install as system CA (rooted device)
openssl x509 -inform DER -in burp-ca.der -out burp-ca.pem
HASH=$(openssl x509 -inform PEM -subject_hash_old -in burp-ca.pem | head -1)
cp burp-ca.pem "$HASH.0"
adb push "$HASH.0" /system/etc/security/cacerts/
adb shell chmod 644 /system/etc/security/cacerts/$HASH.0

# Option C: Magisk module (MagiskTrustUserCerts)

iOS:

1. Navigate to http://<burp_ip>:8080 in Safari
2. Download Burp CA certificate
3. Settings > General > VPN & Device Management > Install profile
4. Settings > General > About > Certificate Trust Settings > Enable full trust

Step 4: Intercept and Analyze Traffic

With proxy configured, open the target app and navigate through its functionality:

Burp Suite > Proxy > HTTP History: Review all captured requests and responses.

Key areas to analyze:

  • Authentication tokens: JWT structure, token expiration, refresh mechanisms
  • API endpoints: RESTful paths, GraphQL queries, parameter patterns
  • Sensitive data in transit: PII, credentials, financial data
  • Response headers: Security headers (HSTS, CSP, X-Frame-Options)
  • Error responses: Stack traces, debug information, internal paths

Step 5: Test API Vulnerabilities Using Burp Repeater

Forward intercepted requests to Repeater for manual testing:

Right-click request > Send to Repeater

Test categories:
- Authentication bypass: Remove/modify auth tokens
- IDOR: Modify user IDs, object references
- Injection: SQL injection, NoSQL injection in parameters
- Rate limiting: Rapid request replay for brute force assessment
- Business logic: Modify prices, quantities, permissions in requests

Step 6: Automate Testing with Burp Scanner

Right-click request > Do active scan (Professional only)

Scanner checks:
- SQL injection (error-based, blind, time-based)
- XSS (reflected, stored)
- Command injection
- Path traversal
- XML/JSON injection
- Authentication flaws

Step 7: Handle Certificate Pinning

If traffic is not visible due to certificate pinning:

# Frida-based bypass (generic)
frida -U -f com.target.app -l ssl-pinning-bypass.js

# Objection bypass
objection --gadget com.target.app explore
ios sslpinning disable  # or
android sslpinning disable

Key Concepts

TermDefinition
MITM ProxyMan-in-the-middle proxy that terminates and re-establishes TLS connections to inspect encrypted traffic
Certificate PinningClient-side validation that restricts accepted server certificates beyond the OS trust store
Network Security ConfigAndroid XML configuration controlling app trust anchors, cleartext traffic policy, and certificate pinning
Invisible ProxyingBurp feature handling non-proxy-aware clients that don't send CONNECT requests
IDORInsecure Direct Object Reference -- accessing resources by manipulating identifiers without authorization checks

Tools & Systems

  • Burp Suite Professional: Full-featured web application security testing proxy with active scanner
  • Burp Suite Community: Free version with manual interception and basic tools
  • Frida: Dynamic instrumentation for runtime SSL pinning bypass
  • mitmproxy: Open-source alternative to Burp Suite for programmatic traffic analysis
  • Charles Proxy: Alternative HTTP proxy with mobile-friendly certificate installation

Common Pitfalls

  • Android 7+ CA trust: User-installed certificates are not trusted by apps targeting API 24+. Must use system CA installation or app modification.
  • Certificate transparency: Some apps use Certificate Transparency logs to detect MITM. Check for CT enforcement in the app.
  • Non-HTTP protocols: Burp Suite only handles HTTP/HTTPS. Use Wireshark for WebSocket, MQTT, gRPC, or custom binary protocols.
  • VPN-based apps: Apps using VPN tunnels bypass device proxy settings. May need iptables rules on a rooted device to redirect traffic.

Frequently asked questions about Intercepting Mobile Traffic

Similar skills