Tuesday, January 23, 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

More info
  1. Hacker Tools Free Download
  2. Hack Tool Apk No Root
  3. Hacker Search Tools
  4. Game Hacking
  5. Hacker
  6. New Hacker Tools
  7. Hackers Toolbox
  8. Best Hacking Tools 2020
  9. Hacker Tools For Pc
  10. What Are Hacking Tools
  11. Pentest Recon Tools
  12. Hacking Tools For Windows 7
  13. Pentest Tools Subdomain
  14. World No 1 Hacker Software
  15. Pentest Tools Windows
  16. Game Hacking
  17. Pentest Tools Kali Linux
  18. Hak5 Tools
  19. Nsa Hack Tools Download
  20. Pentest Tools Kali Linux
  21. Pentest Box Tools Download
  22. Growth Hacker Tools
  23. Pentest Tools Framework
  24. Tools 4 Hack
  25. Pentest Recon Tools
  26. Hack Tools For Ubuntu
  27. Hack Tools Mac
  28. Pentest Tools Alternative
  29. Hacker Tools For Mac
  30. Hacking Tools Hardware
  31. Hackers Toolbox
  32. Hacking Tools 2019
  33. Pentest Automation Tools
  34. Hack Tools Pc
  35. Pentest Tools Free
  36. Hacker Tools Mac
  37. Best Hacking Tools 2019
  38. How To Hack
  39. Hacking Tools Windows 10
  40. Hack Tools
  41. Hack Tools Download
  42. Hackrf Tools
  43. Hacker Tools 2019
  44. Pentest Tools Open Source
  45. Pentest Recon Tools
  46. Best Pentesting Tools 2018
  47. Hacker Tools
  48. Hack And Tools
  49. Pentest Tools Website
  50. Hacking Tools For Kali Linux
  51. Hack Website Online Tool
  52. Pentest Tools For Android
  53. Hacker Tools 2020
  54. Best Hacking Tools 2020
  55. Hack Tools For Games
  56. Hack Tools For Pc
  57. Hack And Tools
  58. Tools 4 Hack
  59. Pentest Tools Tcp Port Scanner
  60. Top Pentest Tools
  61. Pentest Tools Open Source
  62. Pentest Tools List
  63. Pentest Tools Free
  64. Hack Tool Apk
  65. Hackers Toolbox
  66. Hacking Tools For Games
  67. Hacker Tools List
  68. Hack Tools For Windows
  69. Hack Tools Pc
  70. Hacking Tools For Windows
  71. Pentest Tools For Android
  72. Hack Tools Github
  73. Hacking Tools Mac
  74. Hacker Tools For Windows
  75. Hacker
  76. Pentest Tools
  77. Hacker Tool Kit
  78. Termux Hacking Tools 2019
  79. Pentest Tools Port Scanner
  80. Pentest Tools Tcp Port Scanner
  81. Hacker Tools Github
  82. Tools For Hacker
  83. Pentest Tools Subdomain
  84. Pentest Tools Alternative
  85. Hack Rom Tools
  86. Hacker Tools Free
  87. Underground Hacker Sites
  88. Pentest Recon Tools
  89. Hacking Tools Free Download
  90. Physical Pentest Tools
  91. Hacker Tools Software
  92. Black Hat Hacker Tools
  93. Pentest Tools Alternative
  94. Pentest Tools Port Scanner
  95. Kik Hack Tools
  96. Pentest Tools Website
  97. Hacker Tools 2020
  98. Hack Rom Tools
  99. What Is Hacking Tools
  100. Hacker Tools 2020
  101. Pentest Tools For Ubuntu
  102. How To Hack
  103. Hacking Tools For Beginners
  104. Pentest Tools
  105. Hak5 Tools
  106. Hacker Tools Mac
  107. Hack Tools Pc
  108. Pentest Tools Free
  109. Hacking Tools Github
  110. Android Hack Tools Github
  111. Hack Tools For Pc

No comments:

Post a Comment