From ef124695a5d68472eb02f60741f7ab5773618bcf Mon Sep 17 00:00:00 2001 From: Joe Farebrother Date: Thu, 22 Feb 2024 10:11:49 +0000 Subject: [PATCH] Apply suggestions from documentation review Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> --- .../CWE/CWE-287/AndroidInsecureKeys.qhelp | 16 ++++++++-------- .../Security/CWE/CWE-287/AndroidInsecureKeys.ql | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.qhelp b/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.qhelp index 95257fb020c..6b3546f85f5 100644 --- a/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.qhelp +++ b/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.qhelp @@ -5,9 +5,9 @@

-Biometric authentication such as fingerprint recognition can be used alongside cryptographic keys stored in the Android KeyStore to protect sensitive parts of the application. However, -when a key generated for this purpose has certain parameters set insecurely, it can allow an attacker with physical access to bypass the -authentication check, using application hooking tools such as Frida. +Biometric authentication, such as fingerprint recognition, can be used alongside cryptographic keys stored in the Android KeyStore to protect sensitive parts of the application. However, +when a key generated for this purpose has certain parameters set insecurely, an attacker with physical access can bypass the +authentication check using application hooking tools such as Frida.

@@ -16,9 +16,9 @@ authentication check, using application hooking tools such as Frida. When generating a key for use with biometric authentication, ensure that the following parameters of KeyGenParameterSpec.Builder are set:

@@ -33,10 +33,10 @@ When generating a key for use with biometric authentication, ensure that the fol
  • -WithSecure: How Secure is your Android Keystore Authentication? +WithSecure: How Secure is your Android Keystore Authentication?.
  • -Android Developers: KeyGenParameterSpec.Builder +Android Developers: KeyGenParameterSpec.Builder.
  • diff --git a/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.ql b/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.ql index c8090f23c1d..52aaf8d885d 100644 --- a/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.ql +++ b/java/ql/src/Security/CWE/CWE-287/AndroidInsecureKeys.ql @@ -1,6 +1,6 @@ /** * @name Insecurely generated keys for local authentication - * @description Keys used for local biometric authentication should be generated with secure parameters. + * @description Generation of keys with insecure parameters for local biometric authentication can allow attackers with physical access to bypass authentication checks. * @kind problem * @problem.severity warning * @security-severity 4.4