CAS-002 · Question #626
A penetration tester is assessing a mobile banking application. Man-in-the-middle attempts via a HTTP intercepting proxy are failing with SSL errors. Which of the following controls has likely been…
The correct answer is B. SSL certificate pinning. SSL certificate pinning causes the app to reject any certificate that does not match the pinned value, making HTTP intercepting proxies fail with SSL errors even when the proxy presents a CA-trusted certificate.
Question
A penetration tester is assessing a mobile banking application. Man-in-the-middle attempts via a HTTP intercepting proxy are failing with SSL errors. Which of the following controls has likely been implemented by the developers?
Options
- ASSL certificate revocation
- BSSL certificate pinning
- CMobile device root-kit detection
- DExtended Validation certificates
How the community answered
(22 responses)- A9% (2)
- B82% (18)
- C5% (1)
- D5% (1)
Why each option
SSL certificate pinning causes the app to reject any certificate that does not match the pinned value, making HTTP intercepting proxies fail with SSL errors even when the proxy presents a CA-trusted certificate.
Certificate revocation checks whether a certificate has been invalidated by the CA; it does not reject certificates from other CAs and would not cause proxy interception to fail with SSL errors.
Certificate pinning embeds the expected server certificate or public key hash directly in the mobile application at build time. When a MITM proxy intercepts the connection and presents its own certificate, the app detects the mismatch against the pinned value and aborts the TLS handshake, producing the SSL errors observed by the tester.
Rootkit detection identifies device-level compromise and would not interfere with TLS certificate validation during a proxy interception attempt.
Extended Validation certificates provide enhanced identity validation for the domain owner but do not pin any certificate to the application and would not block a MITM proxy.
Concept tested: SSL/TLS certificate pinning in mobile applications
Source: https://owasp.org/www-community/controls/Certificate_and_Public_Key_Pinning
Topics
Community Discussion
No community discussion yet for this question.