MASWE-0014: Cryptographic Keys Not Properly Protected at Rest
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
Draft Weakness
This weakness hasn't been created yet and it's in draft. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that weakness by following our guidelines.
Check our GitHub Issues for MASWE-0014
Initial Description or Hints¶
e.g. storing keys in SharedPreferences, storing keys in files, hardcoded keys, etc.
Relevant Topics¶
- platform keystore (Android KeyStore / iOS KeyChain)
- TEE/SE
- Cryptographic Keys Not Encrypted with key from platform keystore. envelope encryption (DEK+KEK) (considered "equivalent protection")
- Key Wrapping (NIST.SP.800-175Br1 5.3.5)