MASWE-0020: Weak Encryption
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-0020
Initial Description or Hints¶
The use of outdated encryption methods like DES and 3DES may compromise data confidentiality and integrity.
Relevant Topics¶
- Weak encryption algorithms (e.g. DES, 3DES, etc.)
- Weak encryption modes (e.g. ECB, etc.)
- Cipher.getInstance("AES") defaults to ECB (Android)
References¶
- https://support.google.com/faqs/answer/10046138?hl=en
- https://support.google.com/faqs/answer/9450925?hl=en
- https://support.google.com/faqs/answer/9450925?hl=en
- https://developer.android.com/privacy-and-security/cryptography#deprecated-functionality
- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf
MASTG v1 Coverage¶
Tests¶
MASTG-TEST-0210: Weak Encryption Algorithms MASTG-TEST-0221: Weak Encryption Algorithms MASTG-TEST-0232: Weak Encryption Modes