Eltion / Instagram-SSL-Pinning-Bypass

Bypass Instagram SSL pinning on Android devices.
GNU General Public License v3.0
423 stars 88 forks source link

[BUG] Does not Work #41

Open Hammad69275 opened 1 year ago

Hammad69275 commented 1 year ago

Describe the bug
I have installed the patch apk but burp is still showing this unknown_ca error.

Method
Patched APK

App info

Device info

Proxy tool burp: v2023.6.2.0

Logs image

Additional context My phone is a rooted infinix with lineage os 20 gsi running. I have tried using burp without installing the ca certificate, installing it as a user certificate and also installing it as a system certificate but none of these methods have worked for me.

Scylla2020 commented 1 year ago

I've tried both the apk and the frida script and nothing works. Instagram login gets stuck on loading. Maybe its some new pinning technique because I see many other videos where chrome works with burp but is completely failing now

Eltion commented 1 year ago

Can you show the logs from the script, it's working for me . image

Scylla2020 commented 1 year ago

Can you show the logs from the script, it's working for me .

image

Does it keep working as you continue clicking around after logging in, viewing followers, doing search etc? For me sometimes it seemed to print some calls before login then afterwards always nothing registers

Eltion commented 1 year ago

That is because the application is using HTTP/3. There is an issue about this and a workaround. Check this issue: https://github.com/Eltion/Instagram-SSL-Pinning-Bypass/issues/19

Scylla2020 commented 1 year ago

Unfortunately disabling udp terminates the connection to the app and everything freezes. Im using genymotion on windows and it fails to boot the emulator if the udp is disabled(except port 53). Tried the patched apk and same issues. It fails to login even without proxy, and also freezes after disabling udp. So does it work for you even now, after following the steps in that other issue?

Hammad69275 commented 1 year ago

Can you try running the patched apk on an actual device? it still doesnt work for me and all it prints is that it failed to negotiate tls connection due to bad certificate in burp

Pugn0 commented 1 year ago

Hello, I'm starting in this world of research, could you guide me where I can find quality content like the one I'm reading. Areas I'm willing to explore and gain knowledge are APK reverse engineering, network protocol interception and vulnerability analysis.

In advance, I thank everyone involved.