Wednesday, May 31, 2023

Proxying Newer Versions Of Android With Genymotion

 I did a quick video last night for someone on proxying the newer version of Android SDK with Genymotion as the changes back in version 7 make it a bit more difficult to proxy https traffic and I get a lot of questions on a regular basis even years later... 

Hopefully this video helps anyone else out that may be running into the same troubles.. This is proxying the latest version of android as of this writing which is version 10 but should work just fine on newer versions unless there is a major change in the future again that specifically restricts this method.. 


Mobile Hacking - Proxying Newer Versions of Android with Burp and Genymotion:




You can follow along with the video but additionally for reference below are the commands used: 



Step 1: Create a Burp Cert for Android

  1. Export the certificate from burp to .DER format via the proxy tab import/export

  2. Change the format from der to pem: 

       openssl x509 -inform DER -in cacert.der -out cacert.pem


  3. Pull the hash of the certificate subject name and rename the cert to the hah.0 format: 

       openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1

       mv cacert.pem <hash>.0


Step 2: Create a new Emulator: 

  1. Create a version 10 Galaxy x10 with bridge mode networking (or whatever newest version required)

  2. Click 3 dots under my installed devices in genymotion --> Edit --> Change to bridged mode


Step 3: Setup certificate on device

  1. Check devices and push the certificate to the SD card: 

     adb devices

     adb push <hash.0> /sdcard/


  2. Connect to the device and install the cert with proper permissions: 

     adb remount

     adb shell

     mv /sdcard/<hash.0> /system/etc/security/cacerts/

     chmod 644 /system/etc/security/cacerts/<hash.0>


  3. Reboot the device: 

     reboot


Step 4: Verify and setup the proxy: 

  1. Settings --> search for Trusted --> Scroll down till you see portswigger

  2. Setup your Burp proxy to the correct IP/Port combo of your external interface IP

  3. In Genymotion click Settings --> wifi  --> Gear -> Pencil Icon -> Add in Proxy info under advanced

  4. Go forth and proxy things

More info
  1. Android Hack Tools Github
  2. Termux Hacking Tools 2019
  3. Hacking Tools Download
  4. Hacker Tools For Windows
  5. Pentest Tools For Android
  6. Best Hacking Tools 2019
  7. Hacking Tools For Games
  8. Black Hat Hacker Tools
  9. Hack App
  10. Best Pentesting Tools 2018
  11. Best Pentesting Tools 2018
  12. Pentest Tools Alternative
  13. Hackrf Tools
  14. Growth Hacker Tools
  15. Hacker Tools
  16. Hack Tools
  17. Hacking Apps
  18. Nsa Hack Tools Download
  19. Pentest Tools Open Source
  20. Hacker Tool Kit
  21. Wifi Hacker Tools For Windows
  22. Hacker Tools For Pc
  23. Pentest Tools Open Source
  24. Pentest Tools Download
  25. Hacking Tools Windows
  26. Pentest Tools Free
  27. Hacking Tools Software
  28. Hack Tool Apk No Root
  29. Hack Website Online Tool
  30. Hacker
  31. Tools Used For Hacking
  32. Hacker Tools For Mac
  33. Hack Website Online Tool
  34. Pentest Tools Port Scanner
  35. Hack Tools For Pc
  36. Hack And Tools
  37. Hacker Tools Hardware
  38. Hacking Tools Software
  39. Hacking Tools Pc
  40. Hacking Tools For Kali Linux
  41. Hacker Tools Apk Download
  42. Pentest Tools Framework
  43. Pentest Box Tools Download
  44. Pentest Tools Free
  45. Hack Tools Download
  46. Pentest Tools Website
  47. Hacker Tools Windows
  48. Hacker Hardware Tools
  49. How To Install Pentest Tools In Ubuntu
  50. Hacker Tools List
  51. Hacker Tools Apk Download
  52. Hacking Tools Name
  53. Hacking Tools For Pc
  54. Beginner Hacker Tools
  55. Best Pentesting Tools 2018
  56. Pentest Tools Url Fuzzer
  57. Pentest Tools For Mac
  58. Pentest Automation Tools
  59. Hacking Tools Software

No comments:

Post a Comment