Tuesday, May 30, 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. Kik Hack Tools
  2. Hack Tools
  3. Hacks And Tools
  4. Tools For Hacker
  5. Pentest Tools Port Scanner
  6. Pentest Tools Download
  7. Pentest Tools Find Subdomains
  8. Pentest Tools Android
  9. Hacker Tools For Windows
  10. Hacker Search Tools
  11. Hacking Tools Software
  12. Hacking Tools For Pc
  13. Hack Tool Apk No Root
  14. Wifi Hacker Tools For Windows
  15. Pentest Tools Linux
  16. Pentest Tools Kali Linux
  17. How To Make Hacking Tools
  18. Hacking Tools 2019
  19. Hacking Apps
  20. Hacking Tools Online
  21. Hacker Tools Online
  22. Kik Hack Tools
  23. Hacker Tools List
  24. Usb Pentest Tools
  25. Pentest Tools For Windows
  26. Github Hacking Tools
  27. Hacker Tools Online
  28. Hacker Tools Online
  29. Hack Apps
  30. Hacker Tools Free Download
  31. Wifi Hacker Tools For Windows
  32. Hack And Tools
  33. Hack Tools 2019
  34. Tools 4 Hack
  35. Hacking Tools
  36. Hack And Tools
  37. Hacker Tools List
  38. Usb Pentest Tools
  39. Hacking Tools
  40. Hack Tools Github
  41. Hacking Tools For Windows 7
  42. Hack Tools For Mac
  43. Hacking Tools Name
  44. Hack Tools Online
  45. Hack Tools Mac
  46. How To Hack
  47. Hacker Tools 2020
  48. Tools 4 Hack
  49. Pentest Tools For Ubuntu
  50. Hacking Tools For Kali Linux
  51. Hacking Tools For Beginners
  52. Pentest Tools For Windows
  53. Kik Hack Tools
  54. Hacker Tools Apk
  55. Wifi Hacker Tools For Windows
  56. Hack Tools Online
  57. Hack Tools For Windows
  58. Hacker Tools For Mac
  59. Pentest Tools List
  60. Hacker Tools Free Download
  61. Pentest Tools Url Fuzzer
  62. Pentest Tools Find Subdomains
  63. How To Hack
  64. Hack Tools For Ubuntu
  65. Hacker Tools Software
  66. How To Install Pentest Tools In Ubuntu
  67. Pentest Tools Android
  68. Hacking Tools Usb
  69. Usb Pentest Tools
  70. Pentest Tools For Mac
  71. Hacker Search Tools
  72. How To Install Pentest Tools In Ubuntu
  73. Hack Tools
  74. Hack Tools Download
  75. Ethical Hacker Tools
  76. Pentest Tools For Android
  77. Hacking Tools Software
  78. Pentest Tools Find Subdomains
  79. Pentest Tools Nmap
  80. Physical Pentest Tools
  81. Bluetooth Hacking Tools Kali
  82. Hacker Tools 2019
  83. Hacking Tools 2019
  84. Hacking Tools Software
  85. Hack Tools For Games
  86. Hacking Apps
  87. Hacking Tools Hardware
  88. Hacking Tools Download
  89. Hacking Tools Online
  90. Hacking Tools For Games
  91. Tools Used For Hacking
  92. What Is Hacking Tools
  93. Pentest Tools Download
  94. Hacking Apps
  95. Pentest Tools Alternative
  96. Pentest Recon Tools
  97. World No 1 Hacker Software
  98. Hacking Tools Software
  99. Hack Rom Tools
  100. Pentest Tools Tcp Port Scanner
  101. Usb Pentest Tools
  102. Hacker
  103. Hack Tools 2019
  104. Hacker
  105. Hacking Tools And Software
  106. Nsa Hack Tools Download
  107. Pentest Box Tools Download
  108. Hacker Techniques Tools And Incident Handling
  109. Hacking Tools Hardware
  110. World No 1 Hacker Software
  111. Hak5 Tools
  112. Hack Rom Tools

No comments:

Post a Comment