Minggu, 21 Januari 2024

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

Continue reading
  1. Hacking Tools Windows 10
  2. Hacker Techniques Tools And Incident Handling
  3. New Hacker Tools
  4. Hacking Tools Mac
  5. Best Hacking Tools 2019
  6. Pentest Tools Kali Linux
  7. Hack Tools Download
  8. Hack Website Online Tool
  9. Pentest Tools Bluekeep
  10. Pentest Tools Find Subdomains
  11. Pentest Tools Github
  12. Hacker Tools Hardware
  13. Hacking Tools And Software
  14. Hack Tools For Windows
  15. Github Hacking Tools
  16. Pentest Reporting Tools
  17. Wifi Hacker Tools For Windows
  18. Pentest Tools
  19. Pentest Tools For Windows
  20. Github Hacking Tools
  21. Hacker Techniques Tools And Incident Handling
  22. Pentest Tools Port Scanner
  23. Hacking Tools Download
  24. Nsa Hacker Tools
  25. Pentest Tools Bluekeep
  26. Pentest Tools Url Fuzzer
  27. Hacker Tools Free Download
  28. Install Pentest Tools Ubuntu
  29. Hacker Tools For Windows
  30. Pentest Tools Apk
  31. Hacker Tools Apk
  32. Underground Hacker Sites
  33. Hack Tools Github
  34. Pentest Tools Android
  35. Pentest Tools Open Source
  36. Hack Tools Mac
  37. Pentest Reporting Tools
  38. Pentest Tools Website Vulnerability
  39. Nsa Hack Tools
  40. Game Hacking
  41. Hacker Tools 2019
  42. Hacker Tools Github
  43. Hacker Tools 2019
  44. Pentest Recon Tools
  45. Pentest Tools Windows
  46. Free Pentest Tools For Windows
  47. Ethical Hacker Tools
  48. Blackhat Hacker Tools
  49. Hack And Tools
  50. Kik Hack Tools
  51. Hacker Tools Linux
  52. Hacker Security Tools
  53. Pentest Tools Kali Linux
  54. Hacking Tools Online
  55. Hacks And Tools
  56. Android Hack Tools Github
  57. Nsa Hacker Tools
  58. Hacking Tools Download
  59. New Hacker Tools
  60. Best Hacking Tools 2020
  61. What Is Hacking Tools
  62. Hak5 Tools

Tidak ada komentar:

Posting Komentar