Skip to content

Instantly share code, notes, and snippets.

@Techbrunch
Last active July 12, 2024 16:31
Show Gist options
  • Save Techbrunch/9298a16d9dd328935f3a2373326fd08a to your computer and use it in GitHub Desktop.
Save Techbrunch/9298a16d9dd328935f3a2373326fd08a to your computer and use it in GitHub Desktop.
Xamarin Reverse Engineering

Notes:

Regarding the interception of HTTP:

We did it through USB reverse tunneling and iptable rules local to the phone.

# Setup USB reverse tunnel for port 8080 (MITM)
adb reverse tcp:8080 tcp:8080

# Add rules to redirect HTTP through the reverse tunnel (Phone)
iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:8080
iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to-destination 127.0.0.1:8080

Blog Posts:

GitHub:

Documentation:

@dannytactic
Copy link

hello trying to contact you but seems cant find any details... can you help me to reverse engineer a xamarin app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment