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

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

No comments:

Post a Comment