Saturday, January 27, 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. Hack Tools 2019
  2. Pentest Tools Linux
  3. Hacker Tools Windows
  4. World No 1 Hacker Software
  5. Hacker Tools Online
  6. Wifi Hacker Tools For Windows
  7. Hacking Tools Windows
  8. Hacker Tools For Mac
  9. Hacking Tools Mac
  10. Hackers Toolbox
  11. Tools 4 Hack
  12. Pentest Tools Bluekeep
  13. Hack Tools Online
  14. Pentest Tools For Windows
  15. Hacker Tools Linux
  16. Hacker Tools Software
  17. Hack Tools
  18. Hacking Tools Software
  19. Pentest Tools Website Vulnerability
  20. Pentest Tools Android
  21. Hacks And Tools
  22. How To Install Pentest Tools In Ubuntu
  23. Pentest Tools Bluekeep
  24. Hacking Tools Download
  25. Hack Tools 2019
  26. Hack Tools For Ubuntu
  27. Wifi Hacker Tools For Windows
  28. Hack And Tools
  29. Hack Tool Apk No Root
  30. Hacks And Tools
  31. Wifi Hacker Tools For Windows
  32. Pentest Tools Find Subdomains
  33. Hacking Tools Kit
  34. Black Hat Hacker Tools
  35. Hacking Tools Windows
  36. Hacker Search Tools
  37. Game Hacking
  38. Pentest Tools List
  39. Hacker Tools Free
  40. Pentest Tools Url Fuzzer
  41. Tools 4 Hack
  42. What Is Hacking Tools
  43. Growth Hacker Tools
  44. Pentest Tools
  45. Hacker Tools Software
  46. Hacker Tools 2019
  47. Hack Tool Apk
  48. Pentest Tools Android
  49. Pentest Tools For Android
  50. How To Install Pentest Tools In Ubuntu
  51. Hacking Tools Github
  52. Hack Tools Online
  53. Pentest Tools For Mac
  54. Hack Tools Pc
  55. Hacking Tools Software
  56. Hacker Tool Kit
  57. New Hacker Tools
  58. Hacker Tools For Pc
  59. Hacker Tools Windows
  60. Hacking Tools And Software
  61. Hacker Tools 2020
  62. Pentest Tools Alternative
  63. Hacking Tools Pc
  64. Nsa Hacker Tools
  65. Hacker Tools Free
  66. Pentest Tools Linux
  67. What Is Hacking Tools
  68. Hacking Tools 2020
  69. Hackers Toolbox
  70. Game Hacking
  71. Hacker Tools For Windows
  72. Pentest Tools Windows
  73. Black Hat Hacker Tools
  74. Hacking Tools Mac
  75. Hacker Tools For Ios
  76. Hacker Tools List
  77. Hack Website Online Tool

No comments:

Post a Comment