Sunday, January 28, 2024

 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

Continue reading
  1. Computer Hacker
  2. Pentest Tools Android
  3. Pentest Tools Subdomain
  4. Hacking Tools Github
  5. Pentest Tools Alternative
  6. Pentest Automation Tools
  7. Hacking Tools 2020
  8. Hack Tools For Pc
  9. Hacking Tools And Software
  10. Pentest Tools Review
  11. Tools Used For Hacking
  12. Pentest Tools Nmap
  13. Pentest Tools For Android
  14. Hacker Tools Windows
  15. Hacking Tools Mac
  16. Hacker Tools For Windows
  17. Hacker
  18. Hacker Techniques Tools And Incident Handling
  19. Computer Hacker
  20. Hacking Tools Kit
  21. Pentest Automation Tools
  22. Best Hacking Tools 2020
  23. How To Hack
  24. Pentest Tools Online
  25. Hacking Tools Hardware
  26. Beginner Hacker Tools
  27. Hack Tools For Mac
  28. Hackrf Tools
  29. Hacker Tools List
  30. Pentest Tools Find Subdomains
  31. Hackrf Tools
  32. Hack And Tools
  33. Beginner Hacker Tools
  34. Install Pentest Tools Ubuntu
  35. Hacker Tools Software
  36. Hack Tools For Pc
  37. Pentest Tools Review
  38. Pentest Tools Url Fuzzer
  39. Termux Hacking Tools 2019
  40. Hacking Tools
  41. Hacks And Tools
  42. Hacking Tools Kit
  43. Hacking Tools Mac
  44. Hacking Tools Windows 10
  45. Hacking Tools 2019
  46. What Are Hacking Tools
  47. Nsa Hack Tools Download
  48. Hacking Tools Name
  49. World No 1 Hacker Software
  50. Pentest Tools Linux
  51. Tools Used For Hacking
  52. Hacking Tools For Beginners
  53. Pentest Tools Nmap
  54. Physical Pentest Tools
  55. Hacker Tools List
  56. Hacking Tools Hardware
  57. Growth Hacker Tools
  58. Best Pentesting Tools 2018
  59. Hacker Tools Software
  60. Pentest Tools Find Subdomains
  61. Hacker Tools For Pc
  62. Black Hat Hacker Tools
  63. Hack Tools Pc
  64. New Hacker Tools
  65. How To Install Pentest Tools In Ubuntu
  66. Tools For Hacker
  67. Hacker Tools Online
  68. Hackrf Tools
  69. Pentest Tools Tcp Port Scanner
  70. Pentest Tools Nmap
  71. Hacker Tools For Pc
  72. Hacker Tools Apk Download
  73. Hacker Tools Online
  74. Pentest Tools For Android
  75. Pentest Tools Open Source
  76. Hacking Tools Windows
  77. Hack Rom Tools
  78. Pentest Tools Url Fuzzer
  79. Best Pentesting Tools 2018
  80. Underground Hacker Sites
  81. Pentest Tools Tcp Port Scanner
  82. Pentest Tools Download
  83. New Hack Tools
  84. Best Hacking Tools 2020
  85. Hak5 Tools
  86. Usb Pentest Tools
  87. Hacking Tools And Software
  88. Pentest Tools For Ubuntu
  89. Pentest Tools For Windows
  90. Pentest Tools Port Scanner
  91. Install Pentest Tools Ubuntu
  92. Install Pentest Tools Ubuntu
  93. Hack Website Online Tool
  94. Hack Tools

0 comments:

Post a Comment