Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect SSL pinning on Android

Tags:

android

ssl

I already have installed and configured sslsplit and generated the root certificate, and added it to the mobile phone (Android).

How to detect SSL pinning?

like image 580
Lex Hobbit Avatar asked Jan 18 '16 16:01

Lex Hobbit


People also ask

How do you check if the APK is SSL pinned or not?

Take a look at github.com/ikust/hello-pinnedcerts to be able to run a certificate pinning test and verify your configuration is correct. After that you can take a look at github.com/iSECPartners/Android-SSL-TrustKiller which will help you by pass the pinning mechanism for a specific app.

Is SSL pinning applicable to Android?

ssl package and you can use it to implement Android Certificate Pinning. Keep reading for a step-by-step tutorial on how to implement pinning using this component. Load KeyStore with the Certificate file from resources (as InputStream). Get TrustManagerFactory and init it with KeyStore.

What is SSL pinning bypass Android?

SSL Pinning Bypass for Android with Frida SSL pinning works by keeping additional information within the app to identify the server and is mainly used to prevent man-in-the-middle attacks.


1 Answers

An app that uses SSL certificate pinning or public key pinning should fail to communicate with the server when you place a proxy in between the mobile device and the server it communicates with (because it would receive ssl split's certificate instead of the server's in the certificate chain).

If the app fails to communicate with the server - it means that certificate pinning is working.

like image 55
FunkSoulBrother Avatar answered Sep 21 '22 13:09

FunkSoulBrother