Config & design
Weak Cryptography
Weak cryptographic implementations include use of broken algorithms (MD5, SHA1), hardcoded keys, ECB mode, and predictable IVs.
- 134 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
weak-crypto-payloads.txt
134 payloads · 3.8 KBLoading payloads for Weak Cryptography…
What it is#
Weak cryptography vulnerabilities arise from using broken or weak algorithms (MD5, SHA1, DES, RC4), incorrect cipher modes (ECB), short key sizes, hardcoded keys, predictable IVs, or improper random number generation. These flaws can allow attackers to crack passwords, decrypt encrypted data, forge signatures, or predict secrets.
Attack vectors#
- Password hashing (MD5/SHA1 without salt)
- Data encryption at rest and in transit
- Token and session ID generation
- Digital signature and certificate validation
- Cryptographic random number generation
Testing methodology#
- Identify cryptographic algorithms used (examine source, error messages, cipher suites)
- Test TLS configuration with sslyze or testssl.sh
- Check for MD5/SHA1 in password hashes, then crack with hashcat
- Identify ECB mode (identical blocks produce identical ciphertext)
- Test for predictable session tokens by collecting samples
Indicators of vulnerability#
- Password hashes cracked with common wordlists (MD5/SHA1)
- Identical ciphertext blocks for identical plaintext (ECB mode)
- TLS scanner reports SWEET32, POODLE, BEAST, CRIME vulnerabilities
Detection guidance#
Audit cryptographic library usage. Run TLS configuration scanners. Check password hashing algorithms in source code and database schemas.
Mitigation and remediation#
- Use modern password hashing algorithms: bcrypt, Argon2, or scrypt
- Use AES-GCM or ChaCha20-Poly1305 for symmetric encryption
- Use RSA-2048+, ECDSA with P-256+, or Ed25519 for asymmetric operations
- Configure TLS 1.2+ with strong cipher suites only
- Use a cryptographically secure random number generator for all secrets
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)