lunes, 5 de junio de 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 info
  1. Hacking Tools And Software
  2. Hack Apps
  3. Physical Pentest Tools
  4. Pentest Tools Website
  5. Hacking Tools Name
  6. Hack Tools
  7. Pentest Tools Nmap
  8. Computer Hacker
  9. Hacking Tools Pc
  10. Wifi Hacker Tools For Windows
  11. Hacking Tools For Pc
  12. Hack Tools Pc
  13. Hack Website Online Tool
  14. Hacking Tools Download
  15. How To Make Hacking Tools
  16. Hack Website Online Tool
  17. Pentest Tools For Windows
  18. Pentest Tools For Android
  19. Pentest Tools Open Source
  20. Pentest Tools List
  21. Hacks And Tools
  22. Hacking Tools Online
  23. How To Install Pentest Tools In Ubuntu
  24. Hacking Tools Windows 10
  25. Hack Tool Apk
  26. Black Hat Hacker Tools
  27. Hacker Tools List
  28. Hack Tools
  29. How To Make Hacking Tools
  30. Hacking Tools For Beginners
  31. Pentest Tools Port Scanner
  32. Hacking Tools For Windows Free Download
  33. Hack Tools Mac
  34. Hack Tools Online
  35. Tools For Hacker
  36. Hack Tools Download
  37. Hacking Tools Windows
  38. Hacking Tools Pc
  39. Hacking Tools And Software
  40. Hack Tools
  41. Hacking Tools Kit
  42. Hacker Tools Free Download
  43. Pentest Tools Windows
  44. Hacker Tools
  45. Pentest Tools
  46. Termux Hacking Tools 2019
  47. Pentest Tools Website Vulnerability
  48. Hacker Tools List
  49. Pentest Reporting Tools
  50. How To Install Pentest Tools In Ubuntu
  51. Hacking Tools For Windows 7
  52. Pentest Tools Github
  53. Pentest Tools Github
  54. Hacker Tools Linux
  55. Underground Hacker Sites
  56. Usb Pentest Tools
  57. Hack App
  58. Hacking Apps
  59. Android Hack Tools Github
  60. Hack App
  61. Hacking Tools Pc
  62. What Are Hacking Tools
  63. Hacker Tools 2019
  64. Pentest Tools Apk
  65. Hacking Tools Software
  66. Hacking Tools And Software
  67. Hacker Tools Hardware
  68. Hacker Tools For Windows
  69. Growth Hacker Tools
  70. New Hack Tools
  71. Hacking Tools For Windows Free Download
  72. Hacking Tools For Pc
  73. Hacking Tools
  74. Hacker Security Tools
  75. Hack App
  76. Nsa Hacker Tools
  77. How To Make Hacking Tools
  78. Pentest Tools For Android
  79. Hack Tools Online
  80. Pentest Tools Port Scanner
  81. Wifi Hacker Tools For Windows
  82. Pentest Tools Url Fuzzer
  83. Computer Hacker
  84. Hack Tools
  85. Hack Tools For Mac
  86. Hack Apps
  87. Hacking Tools For Windows Free Download
  88. Pentest Tools Find Subdomains
  89. Hacking Apps
  90. Hack Tool Apk
  91. Hack Tools For Ubuntu
  92. Hack Website Online Tool
  93. Best Pentesting Tools 2018
  94. Hacker Tools Github
  95. Game Hacking
  96. Hacking Tools For Games
  97. Hacker
  98. Hacker Tools 2019
  99. Hacker Tools List

No hay comentarios.: