Saturday, January 20, 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. Android Hack Tools Github
  2. Usb Pentest Tools
  3. Easy Hack Tools
  4. Hack Tools For Windows
  5. Nsa Hacker Tools
  6. Black Hat Hacker Tools
  7. Pentest Reporting Tools
  8. Nsa Hacker Tools
  9. Hacker Tools Mac
  10. Hack App
  11. Pentest Recon Tools
  12. What Is Hacking Tools
  13. Pentest Tools For Android
  14. Pentest Tools Online
  15. Usb Pentest Tools
  16. Hacking Tools Software
  17. Free Pentest Tools For Windows
  18. Termux Hacking Tools 2019
  19. Beginner Hacker Tools
  20. Hacking Tools 2020
  21. Hacker Tools For Windows
  22. Hacking Tools For Pc
  23. How To Make Hacking Tools
  24. Hack Tool Apk
  25. New Hack Tools
  26. Hacker Search Tools
  27. Pentest Automation Tools
  28. Hacking Tools Mac
  29. Hacker Tools Github
  30. Hack Tool Apk
  31. Hacking Tools Windows 10
  32. Beginner Hacker Tools
  33. Pentest Tools Port Scanner
  34. Hack Tool Apk No Root
  35. Pentest Recon Tools
  36. Pentest Tools Bluekeep
  37. Hack Apps
  38. Easy Hack Tools
  39. Hacking Tools Github
  40. New Hack Tools
  41. Hacking Tools Windows 10
  42. Pentest Tools Online
  43. Hack Tools For Mac
  44. World No 1 Hacker Software
  45. Hack Tool Apk No Root
  46. Hacking Tools Usb
  47. New Hack Tools
  48. Hack Rom Tools
  49. Github Hacking Tools
  50. Pentest Tools Android
  51. Hacking Tools Pc
  52. Pentest Tools Download
  53. Hacker Tools Mac
  54. Android Hack Tools Github
  55. Pentest Reporting Tools
  56. Hacker Tools Windows
  57. What Are Hacking Tools
  58. Pentest Tools Bluekeep
  59. Hacking Tools Kit
  60. Pentest Tools For Android
  61. Best Hacking Tools 2020
  62. Hacker Tools Linux
  63. Wifi Hacker Tools For Windows
  64. Easy Hack Tools
  65. World No 1 Hacker Software
  66. Hacker Techniques Tools And Incident Handling
  67. Hacker Tools Linux
  68. Pentest Tools List
  69. Wifi Hacker Tools For Windows
  70. Hacking Tools Github
  71. Top Pentest Tools
  72. Pentest Tools Windows
  73. Hacker Tools Software
  74. Growth Hacker Tools
  75. World No 1 Hacker Software
  76. Hacking App
  77. Hacker Tools Apk
  78. Hacker Tools For Windows
  79. Best Hacking Tools 2019
  80. Hack Tools Mac
  81. Pentest Tools Open Source
  82. Pentest Tools Framework
  83. Hacker Tools 2019
  84. Hacking Tools For Windows
  85. Hackers Toolbox
  86. Hacking Tools Usb
  87. Hacking Tools Github
  88. Hacking Tools For Windows 7
  89. Hacker Tools List
  90. Nsa Hack Tools Download
  91. Hacking Tools Windows 10
  92. How To Hack
  93. Hacks And Tools
  94. Pentest Tools List
  95. Hacking Tools
  96. Hacker Tools Github
  97. Hacker Tools For Ios
  98. Pentest Tools Download
  99. Kik Hack Tools
  100. Hacking App
  101. Hacker Tools Free Download
  102. Pentest Tools Subdomain
  103. What Is Hacking Tools
  104. Hack Tools Online
  105. Termux Hacking Tools 2019
  106. Hack Tools Download
  107. World No 1 Hacker Software
  108. Hacking Tools 2019
  109. Pentest Box Tools Download

No comments:

Post a Comment