Repository navigation
Expand file tree
/
Copy pathweak-crypto-payloads.txt
More file actions
228 lines (183 loc) · 3.82 KB
/
Copy pathweak-crypto-payloads.txt
File metadata and controls
228 lines (183 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# Common Weak Hashes for Testing
# MD5 hashes (weak)
5f4dcc3b5aa765d61d8327deb882cf99 # password
e10adc3949ba59abbe56e057f20f883e # 123456
25d55ad283aa400af464c76d713c07ad # 12345678
202cb962ac59075b964b07152d234b70 # 123
# SHA1 hashes (weak)
5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 # password
7c4a8d09ca3762af61e59520943dc26494f8941b # 123456
7c222fb2927d828af22f592134e8932480637c0d # 12345678
# Common encoded credentials
YWRtaW46YWRtaW4= # admin:admin (base64)
cm9vdDpyb290 # root:root (base64)
dGVzdDp0ZXN0 # test:test (base64)
# Common API keys pattern (for detection testing)
AKIA[0-9A-Z]{16} # AWS Access Key pattern
[0-9a-zA-Z]{32} # Generic 32-char key
ghp_[0-9a-zA-Z]{36} # GitHub Personal Access Token pattern
sk_live_[0-9a-zA-Z]{24} # Stripe Live Secret Key pattern
# Weak encryption algorithms
# DES (Data Encryption Standard) - 56-bit key
DES
DES-CBC
DES-ECB
DES-EDE
DES-EDE-CBC
# 3DES with weak keys
3DES
DES-EDE3
DES-EDE3-CBC
# RC4 (Rivest Cipher 4)
RC4
RC4-40
RC4-128
ARCFOUR
# RC2
RC2
RC2-40-CBC
RC2-64-CBC
RC2-CBC
# MD5 hash algorithm (broken)
MD5
MD5-SHA1
# SHA1 hash algorithm (weak)
SHA1
SHA-1
# Weak RSA key sizes
RSA-512
RSA-768
RSA-1024
# ECB mode (Electronic Codebook) - deterministic
AES-128-ECB
AES-192-ECB
AES-256-ECB
# Weak padding schemes
PKCS1-v1_5
PKCS#1 v1.5
# Null encryption
NULL
eNULL
NULL-MD5
NULL-SHA
# Export grade ciphers
EXP-DES-CBC-SHA
EXP-RC2-CBC-MD5
EXP-RC4-MD5
# Anonymous key exchange (no authentication)
AECDH
ADH
aNULL
# Weak Diffie-Hellman
DH-512
DH-1024
# CBC with weak MAC (BEAST/POODLE vulnerable)
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA
# SSL/TLS version issues
SSLv2
SSLv3
TLSv1.0
TLSv1.1
# Weak cipher suites
TLS_RSA_WITH_RC4_128_SHA
TLS_RSA_WITH_RC4_128_MD5
TLS_RSA_WITH_DES_CBC_SHA
TLS_DH_anon_WITH_AES_128_CBC_SHA
# XOR cipher (trivial)
XOR
# Caesar cipher
ROT13
ROT47
# Vigenere cipher patterns
VIGENERE
# Insecure random number generators
# Predictable seeds
PRNG with time() seed
Math.random()
rand()
srand(time())
# Weak key derivation functions
PBKDF1
MD5-based KDF
SHA1-based KDF
# Hardcoded encryption keys (testing patterns)
key=00000000000000000000000000000000
key=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
key=12345678901234567890123456789012
secretkey=admin
encryptionKey=password
# Weak initialization vectors
IV=00000000000000000000000000000000
IV=11111111111111111111111111111111
Fixed IV
Reused IV
# Predictable salts
salt=salt
salt=123456
salt=""
No salt
# Hash collision examples
# MD5 collisions
d131dd02c5e6eec4693d9a0698aff95c # Collision pair 1
d131dd02c5e6eec4693d9a0698aff95c # Collision pair 2
# Timing attack vulnerabilities
String comparison without constant time
strcmp() without timing safety
# Padding oracle indicators
PaddingException
Invalid padding
Bad padding
# ECB detection patterns (identical blocks)
Block1: 0123456789ABCDEF
Block2: 0123456789ABCDEF
# Weak HMAC
HMAC-MD5
HMAC-SHA1
# CRC (not cryptographic)
CRC32
CRC16
ADLER32
# Length extension attacks
SHA-256 without HMAC
SHA-512 without HMAC
# Insecure modes of operation
CTR without authentication
CBC without HMAC
OFB mode
# Bit flipping attack vectors
CBC mode tampering
CFB mode tampering
# Known weak parameters
p=2 # Weak prime
g=1 # Weak generator
e=3 # Weak RSA exponent
# Textbook RSA (no padding)
RSA without OAEP
RSA without PSS
# Weak digital signatures
DSA with k reuse
ECDSA with k reuse
DSA-SHA1
# Certificate issues
Self-signed certificates
Expired certificates
MD5 certificate signature
SHA1 certificate signature
# Java Cipher strings (weak)
AES/ECB/NoPadding
AES/ECB/PKCS5Padding
DES/ECB/PKCS5Padding
DESede/ECB/PKCS5Padding
# OpenSSL weak ciphers
openssl enc -des
openssl enc -des3
openssl enc -rc4
# Bcrypt with low cost
bcrypt cost < 10
bcrypt rounds = 1
# Scrypt with weak parameters
N=2^10 (too low)
r=1 (too low)
p=1 (too low)