Fyi
Dear friend,
As your mention before, and my opinion, cert pinning is an addictional protection layer to mitigate the attacker to capture your app data. In my previous mail, i have noted 2 ways to implement cert pinning, and it also clearly posible to bypass. But try to thing another way we can make our HTTPS connection via Socket, it's also valid ssl cert on server side. By the way, it very hard to capture and replay the traffic
Take a look at Google Volley
--
You received this message because you are subscribed to the Google Groups "OWASP Mobile Top 10 Risks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to owasp-mobile-top-1...@owasp.org.
For more options, visit https://groups.google.com/a/owasp.org/d/optout.
Certificate pinning is a very old cryptographic technique, there is nothing new or special about it.
Please consider reading https://www.owasp.org/index.php/Certificate_and_Public_Key_Pinning to understand the threat model in play. Everything is bypassable. But pinning does prevent MITM interception that uses CA's private certificate to sign fraudulent TLS keys.
If most mobile standards, mobile apps are flagged as vulnerable if they do not do pinning because its fairly easy pin in the mobile world compare to web apps and similar.
- Jim
I thinl we have 2 scenario to discuss:
1. Using the HTTPS connection original (it means we directly make it via httpClient class supported in Java.
2. Using Volley plugin to make HTTPS, yes its fully Ssl, and tunnel it via socket connection. This way is more diff then the first one, you know that its running on diff layer of OSI model. At this layer, it hard to be modifier...
Ryt Jim... We get paid for handling such risky tasks.
Paco just showed us the developer's side of hectic work involved in "certificate pinning".
But i guess it is worth for highly commercial apps (almost every mobile app wants to do a transaction).
Should we add it as suggestion or recommendation in the guide??
Sry developers, no hard feelings ;)
Just Pure Security.. !!
Regards
Milan
--
Ryt Javi...
Our job is to show multiple recommendations, but choosing em is to be decided based on application requirement.