Skip to main content
Tweeted twitter.com/StackSecurity/status/1597561010772221957
edited title
Link
Ogglas
  • 797
  • 4
  • 13
  • 28

Disable or bypass SSL Pinning/Certificate Pinning on Android 6.0.1

Source Link
Ogglas
  • 797
  • 4
  • 13
  • 28

Disable SSL Pinning/Certificate Pinning on Android 6.0.1

Previously I have been able to bypass SSL Pinning by using the program JustTrustMe with the Xposed framework for nearly every app.

https://github.com/Fuzion24/JustTrustMe

However it has started to fail on more and more apps recently. The more I read it seems like I have to disassemble every app and patch them one by one.

Is there some application that I have missed that can disable SSL Pinning by hooking onto system commands?

Programs that I have tried:

https://github.com/Fuzion24/JustTrustMe

https://github.com/iSECPartners/Android-SSL-TrustKiller

https://github.com/ac-pm/SSLUnpinning_Xposed

If there is no such program, what is the best way to go?

What I have identified so far:

  1. Try to disassemble the APK and search for keywords such as "X509TrustManager", "cert", "pinning" etc and modify it accordingly. Like this article: http://blog.dewhurstsecurity.com/2015/11/10/mobile-security-certificate-pining.html

  2. However it seems that at least one of the apps that I have trouble proxying (Facebook Messenger) is using SSL Pinning in the native layer as well as the Java layer. This is probably the case in many other applications as well since they have worked before with JustTrustMe but has now stopped working. https://serializethoughts.com/2016/08/18/bypassing-ssl-pinning-in-android-applications/