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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
|
Internet Engineering Task Force (IETF) A. Popov
Request for Comments: 7465 Microsoft Corp.
Updates: 5246, 4346, 2246 February 2015
Category: Standards Track
ISSN: 2070-1721
Prohibiting RC4 Cipher Suites
Abstract
This document requires that Transport Layer Security (TLS) clients
and servers never negotiate the use of RC4 cipher suites when they
establish connections. This applies to all TLS versions. This
document updates RFCs 5246, 4346, and 2246.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7465.
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Popov Standards Track [Page 1]
^L
RFC 7465 Prohibiting RC4 Cipher Suites February 2015
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2
2. Changes to TLS . . . . . . . . . . . . . . . . . . . . . . . 2
3. Security Considerations . . . . . . . . . . . . . . . . . . . 3
4. References . . . . . . . . . . . . . . . . . . . . . . . . . 3
4.1. Normative References . . . . . . . . . . . . . . . . . . 3
4.2. Informative References . . . . . . . . . . . . . . . . . 3
Appendix A. RC4 Cipher Suites . . . . . . . . . . . . . . . . . 5
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 6
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 6
1. Introduction
RC4 is a stream cipher that is described in [SCH]; it is widely
supported, and often preferred by TLS servers. However, RC4 has long
been known to have a variety of cryptographic weaknesses, e.g., see
[PAU], [MAN], and [FLU]. Recent cryptanalysis results [ALF] exploit
biases in the RC4 keystream to recover repeatedly encrypted
plaintexts.
These recent results are on the verge of becoming practically
exploitable; currently, they require 2^26 sessions or 13x2^30
encryptions. As a result, RC4 can no longer be seen as providing a
sufficient level of security for TLS sessions.
This document requires that TLS ([RFC5246] [RFC4346] [RFC2246])
clients and servers never negotiate the use of RC4 cipher suites.
1.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
2. Changes to TLS
Because of the RC4 deficiencies noted in Section 1, the following
apply:
o TLS clients MUST NOT include RC4 cipher suites in the ClientHello
message.
o TLS servers MUST NOT select an RC4 cipher suite when a TLS client
sends such a cipher suite in the ClientHello message.
Popov Standards Track [Page 2]
^L
RFC 7465 Prohibiting RC4 Cipher Suites February 2015
o If the TLS client only offers RC4 cipher suites, the TLS server
MUST terminate the handshake. The TLS server MAY send the
insufficient_security fatal alert in this case.
Appendix A lists the RC4 cipher suites defined for TLS.
3. Security Considerations
This document helps maintain the security guarantees of the TLS
protocol by prohibiting the use of the RC4-based cipher suites
(listed in Appendix A), which do not provide a sufficiently high
level of security.
4. References
4.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997,
<http://www.rfc-editor.org/info/rfc2119>.
[RFC2246] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0",
RFC 2246, January 1999,
<http://www.rfc-editor.org/info/rfc2246>.
[RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.1", RFC 4346, April 2006,
<http://www.rfc-editor.org/info/rfc4346>.
[RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", RFC 5246, August 2008,
<http://www.rfc-editor.org/info/rfc5246>.
4.2. Informative References
[ALF] AlFardan, N., Bernstein, D., Paterson, K., Poettering, B.,
and J. Schuldt, "On the Security of RC4 in TLS and WPA",
USENIX Security Symposium, July 2013,
<https://www.usenix.org/conference/usenixsecurity13/
security-rc4-tls>.
[FLU] Fluhrer, S., Mantin, I., and A. Shamir, "Weaknesses in the
Key Scheduling Algorithm of RC4", Selected Areas of
Cryptography: SAC 2001, Lecture Notes in Computer Science
Vol. 2259, pp 1-24, 2001.
Popov Standards Track [Page 3]
^L
RFC 7465 Prohibiting RC4 Cipher Suites February 2015
[MAN] Mantin, I. and A. Shamir, "A Practical Attack on Broadcast
RC4", Fast Software Encryption: FSE 2001, Lecture Notes in
Computer Science Vol. 2355, pp 152-164, 2002.
[PAU] Paul, G. and S. Maitra, "Permutation after RC4 Key
Scheduling Reveals the Secret Key", Selected Areas of
Cryptography: SAC 2007, Lecture Notes on Computer Science,
Vol. 4876, pp 360-337, 2007.
[SCH] Schneier, B., "Applied Cryptography: Protocols,
Algorithms, and Source Code in C", 2nd Edition, 1996.
Popov Standards Track [Page 4]
^L
RFC 7465 Prohibiting RC4 Cipher Suites February 2015
Appendix A. RC4 Cipher Suites
The following cipher suites defined for TLS use RC4:
o TLS_RSA_EXPORT_WITH_RC4_40_MD5
o TLS_RSA_WITH_RC4_128_MD5
o TLS_RSA_WITH_RC4_128_SHA
o TLS_DH_anon_EXPORT_WITH_RC4_40_MD5
o TLS_DH_anon_WITH_RC4_128_MD5
o TLS_KRB5_WITH_RC4_128_SHA
o TLS_KRB5_WITH_RC4_128_MD5
o TLS_KRB5_EXPORT_WITH_RC4_40_SHA
o TLS_KRB5_EXPORT_WITH_RC4_40_MD5
o TLS_PSK_WITH_RC4_128_SHA
o TLS_DHE_PSK_WITH_RC4_128_SHA
o TLS_RSA_PSK_WITH_RC4_128_SHA
o TLS_ECDH_ECDSA_WITH_RC4_128_SHA
o TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
o TLS_ECDH_RSA_WITH_RC4_128_SHA
o TLS_ECDHE_RSA_WITH_RC4_128_SHA
o TLS_ECDH_anon_WITH_RC4_128_SHA
o TLS_ECDHE_PSK_WITH_RC4_128_SHA
Popov Standards Track [Page 5]
^L
RFC 7465 Prohibiting RC4 Cipher Suites February 2015
Acknowledgements
This document was inspired by discussions with Magnus Nystrom, Eric
Rescorla, Joseph Salowey, Yaron Sheffer, Nagendra Modadugu, and
others on the TLS mailing list.
Author's Address
Andrei Popov
Microsoft Corp.
One Microsoft Way
Redmond, WA 98052
USA
EMail: andreipo@microsoft.com
Popov Standards Track [Page 6]
^L
|