Saturday, May 27, 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

Read more


  1. Hacker Techniques Tools And Incident Handling
  2. Game Hacking
  3. Pentest Tools Open Source
  4. Hacker Tools Free
  5. Growth Hacker Tools
  6. Nsa Hack Tools Download
  7. Hackrf Tools
  8. Hacking Tools Hardware
  9. Pentest Tools For Ubuntu
  10. Hackrf Tools
  11. Hacking Tools Kit
  12. New Hacker Tools
  13. Pentest Tools
  14. Underground Hacker Sites
  15. Hack And Tools
  16. Hacking Tools Online
  17. Hack Tools 2019
  18. Hacker Tools For Mac
  19. Pentest Box Tools Download
  20. Pentest Tools Windows
  21. Pentest Tools For Ubuntu
  22. How To Install Pentest Tools In Ubuntu
  23. Pentest Tools Website
  24. Hacker Tools Linux
  25. Wifi Hacker Tools For Windows
  26. Hack Tools For Mac
  27. Install Pentest Tools Ubuntu
  28. How To Hack
  29. Kik Hack Tools
  30. Hak5 Tools
  31. Hacking Tools And Software
  32. Computer Hacker
  33. Hacker Tools Apk
  34. Beginner Hacker Tools
  35. Hacking Tools Download
  36. Hacker Search Tools
  37. Hack Tools
  38. Hacking Tools Online
  39. Pentest Tools Tcp Port Scanner
  40. Nsa Hack Tools Download
  41. Pentest Reporting Tools
  42. Hack Tools For Ubuntu
  43. Hacking Tools Pc
  44. Hacker Tools For Pc
  45. Pentest Tools Port Scanner
  46. Pentest Tools Subdomain
  47. Pentest Tools Subdomain
  48. Nsa Hack Tools
  49. Pentest Tools Bluekeep
  50. Hacking Tools For Windows 7
  51. Wifi Hacker Tools For Windows
  52. Pentest Tools Online
  53. What Is Hacking Tools
  54. Pentest Tools Url Fuzzer
  55. Tools 4 Hack
  56. Hacker Tools Github
  57. Pentest Tools Subdomain
  58. Computer Hacker
  59. Hacking Tools Software
  60. Hack Tools For Games

No comments:

Post a Comment