5 ms·
Most app have some form of SSL pinning system in place which means that you have to perform additional work to allow the proxy to decrypt the HTTPS traffic.
by IMTDb 4y ago
Most app have some form of SSL pinning system in place which means that you have to perform additional work to allow the proxy to decrypt the HTTPS traffic.
- 1vuio0pswjnm7 4y ago"Most app have some form of SSL pinning system in place..." I would like to see the data, if any, supporting this statement. I would expect some apps would use pinning, but most would not. Google recommends against it. https://developer.android.com/training/articles/security-ssl#Pinning https://developer.android.com/training/articles/security-ssl...
- franga2000 4y agoI reverse engineer Android apps for work and pinning is present in all but the lowest effort apps I encounter.
- forgotmypw17 4y ago>Caution: Certificate Pinning is not recommended for Android applications due to the high risk of future server configuration changes, such as changing to another Certificate Authority, rendering the application unable to connect to the server without receiving a client software update. This actually applies to websites and browsers as well.
- metadat 4y agoWhy isn't there a site-controlled fallback setting for this? Does this not make sense? Abu given website's beet interest is to continue to be reachable.
- tremon 4y agoEvery escape hatch in the certificate validation is also an additional avenue for attack. For example, using a DNS record to override certificate pins makes DNS cache poisoning much more valuable to the attacker.
- forgotmypw17 4y agoEvery layer of security is also an additional accessibility hurdle.
- metadat 4y agoGot it, thanks @tremon.
- oefrha 4y agoI would say based on personal observation that the more scrape-worthy an app is, the more likely it has cert pinning. Rather obvious if you think about it, really. High value targets especially from big shops tend to have other measures like complex MACs that make scraping hell. I’m sure most largely-worthless-to-scrape apps don’t employ cert pinning.
- mmsnberbar66 4y ago> other measures like complex MACs that make scraping hell. Do you have examples of these techniques?
- oefrha 4y agoRecent example I encountered: TikTok web API has dynamically generated parameters X-Bogus, msToken and _signature (could be slightly wrong, it’s been a while) that are verified server-side. I haven’t reversed their mobile app so not sure if they also employ MACs there, but I’ve seen these from other apps in the past. And it’s harder when employed in an app; on the web you’ll be reversing (obfuscated) JavaScript in a readily available debugger, whereas for an app you’ll likely be reversing from disassembly.
- txtsd 4y agoMost games I've tried to examine have had cert pinning enabled.
- ratg13 4y agoCan someone suggest some resources to understand the additional work needed to decrypt the pinned https traffic?
- IMTDb 4y agoAndroid: https://httptoolkit.tech/blog/frida-certificate-pinning/ https://httptoolkit.tech/blog/frida-certificate-pinning/ iOS: https://nabla-c0d3.github.io/blog/2013/08/20/intercepting-the-app-stores-traffic-on-ios/ https://nabla-c0d3.github.io/blog/2013/08/20/intercepting-th...
- matheusmoreira 4y agoThis is really helpful, thanks!