Friday, January 19, 2024

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

Related posts


  1. Pentest Tools
  2. Pentest Reporting Tools
  3. Hack Website Online Tool
  4. Hack Tools For Windows
  5. Hacker Tools Software
  6. Pentest Tools Review
  7. Pentest Tools Android
  8. Kik Hack Tools
  9. Hack Tools For Windows
  10. How To Install Pentest Tools In Ubuntu
  11. Hack Tools Pc
  12. Best Hacking Tools 2019
  13. Hacker Search Tools
  14. Pentest Tools List
  15. Github Hacking Tools
  16. Hack Tools
  17. Hacking Tools Usb
  18. World No 1 Hacker Software
  19. Hacking Tools For Pc
  20. Hacker Tools For Pc
  21. Hacking Tools For Mac
  22. Hacker Tools Free Download
  23. Pentest Tools Github
  24. Pentest Tools Review
  25. Hackers Toolbox
  26. Hacking Tools Download
  27. Pentest Tools Linux
  28. Best Hacking Tools 2020
  29. Pentest Tools Linux
  30. Hacking Tools Github
  31. Hack Rom Tools
  32. Pentest Tools Apk
  33. Hack Tools Github
  34. Growth Hacker Tools
  35. Game Hacking
  36. Pentest Tools Find Subdomains
  37. Tools For Hacker
  38. Pentest Tools Free
  39. Hacking Tools 2020
  40. Pentest Tools Subdomain
  41. Best Pentesting Tools 2018
  42. Hacker Tool Kit
  43. Hackers Toolbox
  44. Pentest Reporting Tools
  45. Hacker
  46. Nsa Hack Tools
  47. Pentest Tools Framework
  48. Hacking Tools Hardware
  49. Blackhat Hacker Tools
  50. Pentest Recon Tools
  51. Hacker Tools 2019
  52. Hacking Tools Mac
  53. Pentest Tools Nmap
  54. Hacker Tools
  55. How To Hack
  56. Pentest Tools Website Vulnerability
  57. Hack App
  58. Growth Hacker Tools
  59. Hack Tools For Pc
  60. Pentest Tools Online
  61. Pentest Tools Download
  62. Hacker Tools
  63. Computer Hacker
  64. Pentest Tools Nmap
  65. Pentest Tools Review
  66. What Is Hacking Tools
  67. Hacker Tools
  68. Hacker Tools List
  69. Hacker Tool Kit
  70. Hacker Tools
  71. Blackhat Hacker Tools
  72. Hacking App
  73. Hack Tool Apk No Root
  74. Best Pentesting Tools 2018
  75. Hack Tools Online
  76. Pentest Tools For Mac
  77. Ethical Hacker Tools
  78. Github Hacking Tools
  79. Hacking Tools And Software
  80. Hacker Tools For Ios
  81. How To Hack
  82. Top Pentest Tools
  83. Hacker Tools Apk Download
  84. Pentest Tools For Ubuntu
  85. Pentest Tools Android
  86. Kik Hack Tools
  87. What Are Hacking Tools
  88. Hack Tools Pc
  89. Pentest Tools Review
  90. How To Install Pentest Tools In Ubuntu
  91. Pentest Tools Find Subdomains
  92. Hacking Tools For Pc
  93. Install Pentest Tools Ubuntu
  94. How To Install Pentest Tools In Ubuntu
  95. Pentest Tools For Windows
  96. Hacker Hardware Tools
  97. Pentest Tools For Windows
  98. Tools 4 Hack
  99. What Are Hacking Tools
  100. Hacking Tools For Mac

No comments:

Post a Comment