Instagram-SSL-Pinning-Bypass icon indicating copy to clipboard operation
Instagram-SSL-Pinning-Bypass copied to clipboard

[BUG] Instagram crashes right after start with patched APK

Open maddo7 opened this issue 1 year ago • 7 comments

Describe the bug
Instagram crashes right after start

Method
Patched APK with your python patcher

App info

  • Version: instagram-v274.0.0.26.90
  • Arch: arm64-v8a

Device info

  • Model: Samsung A53
  • Android Version: 13

Proxy tool

brup: v2023.2.3

Logs logcat logs attached logcat.logf

Additional context The patched APK crashes right after start. The files from your repo work without issues. Here is the stock apk (base.apk) from Google Play and the patched one. https://drive.google.com/file/d/1VcSC7KZgS4HkGV6AL5_iUj04yXJmkN1m/view?usp=share_link

Any help to get this working is highly appreciated.

maddo7 avatar Mar 20 '23 11:03 maddo7

Seems like instagram has started to use packed relocations for the native libs and that's causing this problem. image

Currently the lief-project which I'm using to patch the native so file does not support this. There is a branch with some implementation of this feature here: android-packed-relocations.

I was able to manually do that and you can check the latest version here: https://github.com/Eltion/Instagram-SSL-Pinning-Bypass/releases/tag/v275.0.0.27.98

Eltion avatar Mar 28 '23 00:03 Eltion

Can you release version 278+ ? Thanks.

evgen-dev avatar Apr 29 '23 21:04 evgen-dev

Seems like instagram has started to use packed relocations for the native libs and that's causing this problem. image

Currently the lief-project which I'm using to patch the native so file does not support this. There is a branch with some implementation of this feature here: android-packed-relocations.

I was able to manually do that and you can check the latest version here: https://github.com/Eltion/Instagram-SSL-Pinning-Bypass/releases/tag/v275.0.0.27.98

do you mind sharing the process of manually patching..?

GamerGirlandCo avatar May 23 '23 07:05 GamerGirlandCo

I will try and see maybe I can can do a pull request to lief project which will fix this issue.

Eltion avatar Jul 18 '23 02:07 Eltion

Thank you very much for your efforts. Did I understand correctly that the Frida script still works with the newest version, just the patching has some issues?

maddo7 avatar Jul 18 '23 12:07 maddo7

Frida still work with latest versions

evgen-dev avatar Jul 28 '23 11:07 evgen-dev

@evgen-dev Can you share latest arm64v8 version please?

350d avatar Sep 06 '23 13:09 350d