Overview

This test checks whether the app fails to protect sensitive operations against unauthorized access following biometric enrollment changes (MASTG-KNOW-0001). An attacker who obtains the device passcode could add a new fingerprint or facial representation via system settings and use it to authenticate in the app.

This behaviour occurs when setInvalidatedByBiometricEnrollment) is set to false when keys are generated.

By default and when set to true, a key becomes permanently invalidated if a new biometric is enrolled. As a result, only users whose biometric data was enrolled when the item was created can unlock it. This prevents unauthorized access through biometrics enrolled later.

Steps

  1. Use MASTG-TECH-0013 to reverse engineer the app.
  2. Use MASTG-TECH-0014 to look for the relevant APIs.

Observation

The output should include a list of locations where the relevant APIs are used.

Evaluation

The test case fails if the app uses setInvalidatedByBiometricEnrollment(false) for keys used to protect sensitive data resources.

Gekoppelde issues