Saturday, May 27, 2023

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 articles
  1. Hacker Tools Online
  2. Hacking Tools Windows 10
  3. Hacker Tools List
  4. Pentest Tools Online
  5. Free Pentest Tools For Windows
  6. Hacker Tools
  7. Hacker Tools Hardware
  8. Github Hacking Tools
  9. Hack Tools For Pc
  10. World No 1 Hacker Software
  11. Hacking Tools And Software
  12. Hacking Tools For Windows
  13. Termux Hacking Tools 2019
  14. Hacking Tools Windows 10
  15. Pentest Tools
  16. Hacking Tools Windows 10
  17. Pentest Tools Nmap
  18. Pentest Tools Framework
  19. Hacker Tools List
  20. Pentest Tools Download
  21. Hack Tools For Windows
  22. Hacker Tools Free Download
  23. Hack Tools For Windows
  24. Hack Tools For Ubuntu
  25. Hack Tools Online
  26. Pentest Tools List
  27. Hack Tools For Pc
  28. Pentest Tools Apk
  29. How To Hack
  30. Hacker Tool Kit
  31. Kik Hack Tools
  32. Hack Tools Mac
  33. Pentest Tools Android
  34. How To Make Hacking Tools
  35. Pentest Tools Website Vulnerability
  36. Hacking Tools Pc
  37. Hack Tools Mac
  38. Pentest Tools For Ubuntu
  39. Black Hat Hacker Tools
  40. Hacking Tools 2019
  41. Hacker Tools For Windows
  42. Hacker Tools Linux
  43. Best Pentesting Tools 2018
  44. Best Hacking Tools 2020
  45. Pentest Tools Website
  46. Hacker Security Tools
  47. Hack Tool Apk
  48. Pentest Tools Find Subdomains
  49. Pentest Reporting Tools
  50. Kik Hack Tools
  51. Best Hacking Tools 2020
  52. Hacker Tools For Pc
  53. Pentest Tools Find Subdomains
  54. Hacker Search Tools
  55. Top Pentest Tools
  56. Pentest Tools For Mac
  57. Hack Apps
  58. Hacker Search Tools
  59. Hackrf Tools
  60. Hacker Tools Software
  61. Pentest Tools Website Vulnerability
  62. Easy Hack Tools
  63. Pentest Tools For Android
  64. Hacker Tool Kit
  65. Nsa Hack Tools
  66. Pentest Tools Find Subdomains
  67. Hack Tool Apk
  68. Hacking Tools For Pc
  69. Hacking Tools For Games
  70. Hack Tools Download
  71. Pentest Tools Android
  72. World No 1 Hacker Software
  73. Pentest Tools Subdomain
  74. Hacker Tools 2020
  75. Hacking Tools Download
  76. World No 1 Hacker Software
  77. Hacking Tools For Windows Free Download
  78. Pentest Tools Android
  79. Nsa Hack Tools Download
  80. Hacker Tools
  81. Tools 4 Hack
  82. Ethical Hacker Tools
  83. Growth Hacker Tools
  84. Hacker Tool Kit
  85. Wifi Hacker Tools For Windows
  86. World No 1 Hacker Software
  87. Pentest Tools Windows
  88. Pentest Tools For Windows
  89. Hacking Tools Windows 10
  90. Pentest Reporting Tools
  91. Easy Hack Tools
  92. Hack Tools Github
  93. Hacking Tools Name

No comments:

Post a Comment