Wednesday, January 24, 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 links

  1. Hacking Tools 2020
  2. Hacker Tools List
  3. Hacker Tool Kit
  4. Hacker Tools List
  5. Ethical Hacker Tools
  6. Hack Tool Apk No Root
  7. Tools For Hacker
  8. Hacker Techniques Tools And Incident Handling
  9. Best Hacking Tools 2019
  10. Underground Hacker Sites
  11. Hack Tools For Games
  12. Hacker Tools Linux
  13. Best Hacking Tools 2020
  14. Hacking Tools For Games
  15. Pentest Tools Android
  16. Hacking Tools For Pc
  17. Hacking Tools Hardware
  18. Best Hacking Tools 2019
  19. Hack Tools For Pc
  20. Hack Tools Github
  21. Hacking Tools 2019
  22. Hackers Toolbox
  23. Hack Tools Download
  24. Hacking Tools Kit
  25. Tools For Hacker
  26. Hacking Tools For Pc
  27. Hack Tool Apk
  28. Hacking Tools And Software
  29. Hacking Tools 2020
  30. Pentest Tools Website Vulnerability
  31. Hack Tools For Pc
  32. Best Pentesting Tools 2018
  33. Pentest Tools List
  34. Pentest Tools Open Source
  35. Hack And Tools
  36. Pentest Tools Kali Linux
  37. Hacker Tools Software
  38. Hack Tools For Mac
  39. Underground Hacker Sites
  40. Hacker Tools 2020
  41. Pentest Tools Url Fuzzer
  42. Pentest Tools Github
  43. Hacker
  44. Wifi Hacker Tools For Windows
  45. Pentest Tools Url Fuzzer
  46. Hacking Tools For Windows
  47. Hack Tools Mac
  48. Hacking Tools Kit
  49. Tools 4 Hack
  50. Hacking Tools
  51. Physical Pentest Tools
  52. Hack Rom Tools
  53. Physical Pentest Tools
  54. Hacker Security Tools
  55. Hacking Tools 2019
  56. Underground Hacker Sites
  57. Hacking Tools
  58. Hacker Tools Software
  59. Easy Hack Tools
  60. Pentest Tools Github
  61. Hack Tools 2019
  62. Hack And Tools
  63. Pentest Tools Nmap
  64. Tools For Hacker
  65. Pentest Tools Android
  66. Hacking Tools
  67. Hacker Tools For Ios
  68. Hack Tools
  69. Pentest Automation Tools
  70. Pentest Tools Online
  71. Hack Tools 2019
  72. Pentest Automation Tools
  73. Hack Tool Apk
  74. Hacking Tools Pc
  75. Best Hacking Tools 2020
  76. Hack Tools
  77. Hack And Tools
  78. Hacker Tools For Ios
  79. Game Hacking
  80. Hacking Tools Kit
  81. Pentest Box Tools Download
  82. Pentest Tools Review
  83. Hacker Tools Hardware
  84. Hacking Tools For Kali Linux
  85. Hacker Tools Linux
  86. Hacking Tools Mac
  87. Hacking Tools Hardware
  88. Nsa Hack Tools Download
  89. Hacking Tools For Windows
  90. Hack Tools For Windows

No comments: