You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Programms may use hardcoded/static passwords, IVs or salts for cryptographic operations. For example, devices may ship with a default password that is coded into the software/firmware. These information often cause vulnerabilities when users don't change the default values.
Example:
byte[] salt = newbyte[] { 0x2b, 0x5f, 0x13, 0x20 };
StringmasterPass = "Test";
// complain about use of hardcoded/static valuesKeySpecpbeKeySpec = newPBEKeySpec(masterPass.toCharArray(), salt, 1000);
Proposed solution:
A MARK rule prohibit the use of hardcoded/static passwords, IVs or salts.
Possible blockers:
May require a new builtin function to recognize a hardcoded/static value.
The text was updated successfully, but these errors were encountered:
Problem:
Programms may use hardcoded/static passwords, IVs or salts for cryptographic operations. For example, devices may ship with a default password that is coded into the software/firmware. These information often cause vulnerabilities when users don't change the default values.
Example:
Proposed solution:
A MARK rule prohibit the use of hardcoded/static passwords, IVs or salts.
Possible blockers:
May require a new builtin function to recognize a hardcoded/static value.
The text was updated successfully, but these errors were encountered: