Eltion / Facebook-SSL-Pinning-Bypass

Bypass Facebook SSL pinning on Android devices.
GNU General Public License v3.0
173 stars 77 forks source link

Getting fatal alert `certificate_unknown` in latest version of genymotion #17

Open x1337loser opened 1 year ago

x1337loser commented 1 year ago

Describe the bug
Unable to use in the latest version of genymotion, received the following error after start intercepting traffic from genymotion

Method
Patched APK or Frida

App info latest

Device info any

Proxy tool mitmproxy: v8.1.1 brup: v2022.5.2

Logs Frida or logcat logs, screenshots, mitmproxy event logs, Brup event log.

Additional context Add any other context about the problem here.

I need help or need to see where I messed up. following commands were used for setting up my emulator with Frida

adb push frida-server /data/local/tmp/
adb shell chmod 777 /data/local/tmp/frida-server
adb push facebook-ssl-pinning-bypass.js /data/local/tmp/
adb push 9a5ba575.0 /data/local/tmp/cert-der.crt 
adb push 9a5ba575.0 /system/etc/security/cacerts/
adb shell chmod 644 /system/etc/security/cacerts/9a5ba575.0
adb shell "/data/local/tmp/frida-server &"
frida -U -f com.facebook.katana -l facebook-ssl-pinning-bypass.js
leet135 commented 1 year ago

Describe the bug Unable to use in the latest version of genymotion, received the following error after start intercepting traffic from genymotion

  • 1687246756573 Error Proxy [2] The client failed to negotiate a TLS connection to b-www.facebook.com:443: Received fatal alert: certificate_unknown

Method Patched APK or Frida

App info latest

Device info any

Proxy tool mitmproxy: v8.1.1 brup: v2022.5.2

Logs Frida or logcat logs, screenshots, mitmproxy event logs, Brup event log.

Additional context Add any other context about the problem here.

I need help or need to see where I messed up. following commands were used for setting up my emulator with Frida

adb push frida-server /data/local/tmp/
adb shell chmod 777 /data/local/tmp/frida-server
adb push facebook-ssl-pinning-bypass.js /data/local/tmp/
adb push 9a5ba575.0 /data/local/tmp/cert-der.crt 
adb push 9a5ba575.0 /system/etc/security/cacerts/
adb shell chmod 644 /system/etc/security/cacerts/9a5ba575.0
adb shell "/data/local/tmp/frida-server &"
frida -U -f com.facebook.katana -l facebook-ssl-pinning-bypass.js

install to Magisk, "move certificate" module, and install burps certificate normally on the phone/emulator