nerdexam
CompTIA

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.

Enterprise Security

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)
  • A
    9% (2)
  • B
    82% (18)
  • C
    5% (1)
  • D
    5% (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.

ASSL certificate revocation

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.

BSSL certificate pinningCorrect

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.

CMobile device root-kit detection

Rootkit detection identifies device-level compromise and would not interfere with TLS certificate validation during a proxy interception attempt.

DExtended Validation certificates

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

#SSL certificate pinning#mobile security#MITM prevention#mobile banking

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice