<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Slide_attack</id>
	<title>Slide attack - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Slide_attack"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Slide_attack&amp;action=history"/>
	<updated>2026-10-26T21:09:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Slide_attack&amp;diff=1337258&amp;oldid=prev</id>
		<title>imported&gt;Andrewa: /* The actual attack */ anchor slid pair</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Slide_attack&amp;diff=1337258&amp;oldid=prev"/>
		<updated>2024-09-24T08:49:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The actual attack: &lt;/span&gt; anchor slid pair&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Form of cryptanalysis}}&lt;br /&gt;
{{no footnotes|date=March 2009}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;slide attack&amp;#039;&amp;#039;&amp;#039; is a form of [[cryptanalysis]] designed to deal with the prevailing idea that even weak [[cipher]]s can become very strong by increasing the number of [[round (cryptography)|rounds]], which can ward off a [[differential attack]]. The slide attack works in such a way as to make the number of rounds in a cipher irrelevant. Rather than looking at the data-randomizing aspects of the block cipher, the slide attack works by analyzing the [[key schedule]] and exploiting weaknesses in it to break the cipher. The most common one is the keys repeating in a cyclic manner.&lt;br /&gt;
&lt;br /&gt;
The attack was first described by [[David A. Wagner|David Wagner]] and [[Alex Biryukov]]. [[Bruce Schneier]] first suggested the term &amp;#039;&amp;#039;slide attack&amp;#039;&amp;#039; to them, and they used it in their 1999 paper describing the attack.&lt;br /&gt;
&lt;br /&gt;
The only requirements for a slide attack to work on a cipher is that it can be broken down into multiple rounds of an identical &amp;#039;&amp;#039;F&amp;#039;&amp;#039; function. This probably means that it has a cyclic key schedule. The &amp;#039;&amp;#039;F&amp;#039;&amp;#039; function must be vulnerable to a [[known-plaintext attack]]. The slide attack is closely related to the [[related-key attack]].&lt;br /&gt;
&lt;br /&gt;
The idea of the slide attack has roots in a paper published by [[Edna Grossman]] and [[Bryant Tuckerman]] in an IBM Technical Report in 1977.&amp;lt;ref&amp;gt;{{cite tech report | author1 = E. K. Grossman  | author2 = B. Tuckerman | title = Analysis of a Feistel-like cipher weakened by having no rotating key | institution = IBM Thomas J. Watson Research Center | number = RC 6375 | year = 1977 }}&amp;lt;/ref&amp;gt; Grossman and Tuckerman demonstrated the attack on a weak [[block cipher]] named [[New Data Seal]] (NDS). The attack relied on the fact that the cipher has identical subkeys in each round, so the cipher had a cyclic key schedule with a cycle of only one key, which makes it an early version of the slide attack. A summary of the report, including a description of the NDS block cipher and the attack, is given in &amp;#039;&amp;#039;Cipher Systems&amp;#039;&amp;#039; (Beker &amp;amp; Piper, 1982).&lt;br /&gt;
&lt;br /&gt;
== The actual attack ==&lt;br /&gt;
&lt;br /&gt;
First, to introduce some notation. In this section assume the cipher takes &amp;#039;&amp;#039;n&amp;#039;&amp;#039; bit blocks and has a key-schedule using &amp;lt;math&amp;gt;K_1 \cdots K_m&amp;lt;/math&amp;gt; as keys of any length.&lt;br /&gt;
&lt;br /&gt;
The slide attack works by breaking the cipher up into identical permutation&lt;br /&gt;
functions, &amp;#039;&amp;#039;F&amp;#039;&amp;#039;. This &amp;#039;&amp;#039;F&amp;#039;&amp;#039; function may consist of more than one round&lt;br /&gt;
of the cipher; it is defined by the key-schedule. For example, if a cipher uses an alternating key schedule where it switches between a &amp;lt;math&amp;gt;K_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;K_2&amp;lt;/math&amp;gt; for each round, the &amp;#039;&amp;#039;F&amp;#039;&amp;#039; function would consist of two rounds. Each of the &amp;lt;math&amp;gt;K_i&amp;lt;/math&amp;gt; will&lt;br /&gt;
appear at least once in &amp;#039;&amp;#039;F&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{{anchor|slid pair}}&lt;br /&gt;
The next step is to collect &amp;lt;math&amp;gt;2^{n/2}&amp;lt;/math&amp;gt; plaintext-ciphertext pairs. Depending on&lt;br /&gt;
the characteristics of the cipher fewer may suffice, but by the [[birthday problem]] no more than &amp;lt;math&amp;gt;2^{n/2}&amp;lt;/math&amp;gt; should be needed. These pairs, which denoted as &amp;lt;math&amp;gt;(P,C)&amp;lt;/math&amp;gt; are then used to find a &amp;#039;&amp;#039;&amp;#039;slid pair&amp;#039;&amp;#039;&amp;#039; which is denoted &amp;lt;math&amp;gt;(P_0,C_0) (P_1,C_1)&amp;lt;/math&amp;gt;. A slid pair has the property that &amp;lt;math&amp;gt;P_0 = F(P_1)&amp;lt;/math&amp;gt; and that &amp;lt;math&amp;gt;C_0 = F(C_1)&amp;lt;/math&amp;gt;. Once  a slid pair is identified, the cipher is broken because of the vulnerability to known-plaintext attacks. The key can easily be extracted from this pairing.&lt;br /&gt;
The slid pair can be thought to be what happens to a message after one application of the function &amp;#039;&amp;#039;F&amp;#039;&amp;#039;. It is ’slid’ over one encryption round and this is where the attack gets its&lt;br /&gt;
name.&lt;br /&gt;
&lt;br /&gt;
[[Image:Slideattack.jpg]]&lt;br /&gt;
&lt;br /&gt;
The process of finding a slid pair is somewhat different for each cipher&lt;br /&gt;
but follows the same basic scheme. One uses the fact that it is relatively&lt;br /&gt;
easy to extract the key from just one iteration of &amp;#039;&amp;#039;F&amp;#039;&amp;#039;. Choose any pair of&lt;br /&gt;
plaintext-ciphertext pairs, &amp;lt;math&amp;gt;(P_0,C_0) (P_1,C_1)&amp;lt;/math&amp;gt; and check to see what the keys corresponding to &amp;lt;math&amp;gt;P_0 = F(P_1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_0 = F(C_1)&amp;lt;/math&amp;gt; are. If these keys match, this is a slid pair; otherwise move on to the next pair.&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;math&amp;gt;2^{n/2}&amp;lt;/math&amp;gt; plaintext-ciphertext pairs one slid pair is expected, along with a small number of false-positives depending on the structure of the cipher. The false positives&lt;br /&gt;
can be eliminated by using the keys on a different message-ciphertext pair to see if the encryption is correct. The probability that the wrong key will correctly encipher two or more messages is very low for a good cipher.&lt;br /&gt;
&lt;br /&gt;
Sometimes the structure of the cipher greatly reduces the number of&lt;br /&gt;
plaintext-ciphertext pairs needed, and thus also a large amount of the work.&lt;br /&gt;
The clearest of these examples is the [[Feistel cipher]] using a cyclic key schedule.&lt;br /&gt;
The reason for this is given a &amp;lt;math&amp;gt;P = (L_0,R_0)&amp;lt;/math&amp;gt; the search is for a &amp;lt;math&amp;gt;P_0=(R_0, L_0 \bigoplus F(R_0,K))&amp;lt;/math&amp;gt;. This reduces the possible paired messages from &amp;lt;math&amp;gt;2^n&amp;lt;/math&amp;gt;&lt;br /&gt;
down to &amp;lt;math&amp;gt;2^{n/2}&amp;lt;/math&amp;gt; (since half the message is fixed) and so at most &amp;lt;math&amp;gt;2^{n/4}&amp;lt;/math&amp;gt; plaintext-ciphertext pairs are needed in order to find a slid pair.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
* {{cite book&lt;br /&gt;
    |author1=Henry Beker  |author2=Fred Piper&lt;br /&gt;
     |name-list-style=amp | title = Cipher Systems: The Protection of Communications&lt;br /&gt;
    | publisher = [[John Wiley &amp;amp; Sons]]&lt;br /&gt;
    | year = 1982&lt;br /&gt;
    | pages = 263–267&lt;br /&gt;
    | isbn = 978-0-471-89192-5 }} (contains a summary of the paper by Grossman and Tuckerman)&lt;br /&gt;
* {{cite conference&lt;br /&gt;
    | author = [[Alex Biryukov]] and [[David A. Wagner|David Wagner]]&lt;br /&gt;
    | title = Slide Attacks&lt;br /&gt;
    | conference = 6th International Workshop on [[Fast Software Encryption]] (FSE &amp;#039;99)&lt;br /&gt;
    | pages = 245–259&lt;br /&gt;
    | publisher = [[Springer-Verlag]]&lt;br /&gt;
    | date = March 1999&lt;br /&gt;
    | location = [[Rome]]&lt;br /&gt;
    | url = http://www.cs.berkeley.edu/~daw/papers/slide-fse99.ps&lt;br /&gt;
    | format = [[PDF]]/[[PostScript]]&lt;br /&gt;
    | access-date = 2007-09-03 }}&lt;br /&gt;
* {{cite conference&lt;br /&gt;
    |author1=Alex Biryukov  |author2=David Wagner&lt;br /&gt;
     |name-list-style=amp | title = Advanced Slide Attacks&lt;br /&gt;
    | conference = Advances in Cryptology, Proceedings of [[EUROCRYPT]] 2000&lt;br /&gt;
    | pages = 589–606&lt;br /&gt;
    | publisher = Springer-Verlag&lt;br /&gt;
    | date = May 2000&lt;br /&gt;
    | location = [[Bruges]]&lt;br /&gt;
    | url = https://www.iacr.org/archive/eurocrypt2000/1807/18070595-new.pdf&lt;br /&gt;
    | format = PDF/PostScript&lt;br /&gt;
    | access-date = 2007-09-03 }}&lt;br /&gt;
* {{cite conference&lt;br /&gt;
    | author = S. Furuya&lt;br /&gt;
    | title = Slide Attacks with a Known-Plaintext Cryptanalysis&lt;br /&gt;
    | conference = 4th International Conference on Information Security and Cryptology (ICISC 2001)&lt;br /&gt;
    | pages = 214–225&lt;br /&gt;
    | publisher = Springer-Verlag&lt;br /&gt;
    | date = December 2001&lt;br /&gt;
    | location = [[Seoul]]&lt;br /&gt;
    | url = http://register.itfind.or.kr/Report01/200401/IITA/IITA-0763-017/IITA-0763-017.pdf&lt;br /&gt;
    | access-date = 2007-09-03 }}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
    | author = [[Eli Biham]]&lt;br /&gt;
    | title = New Types of Cryptanalytic Attacks Using Related Keys&lt;br /&gt;
    | journal = [[Journal of Cryptology]]&lt;br /&gt;
    | volume = 7&lt;br /&gt;
    | issue = 4&lt;br /&gt;
    | issn = 0933-2790&lt;br /&gt;
    | pages = 229–246&lt;br /&gt;
    | year = 1994&lt;br /&gt;
    | url = http://citeseer.ist.psu.edu/biham94new.html&lt;br /&gt;
    | format = PDF/PostScript&lt;br /&gt;
    | access-date = 2007-09-03&lt;br /&gt;
    | doi=10.1007/bf00203965| citeseerx = 10.1.1.48.8341&lt;br /&gt;
    | s2cid = 19776908&lt;br /&gt;
 }}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
    | author = M. Ciet, G. Piret, [[Jean-Jacques Quisquater|J. Quisquater]]&lt;br /&gt;
    | title = Related-Key and Slide Attacks: Analysis, Connections, and Improvements&lt;br /&gt;
    | year = 2002&lt;br /&gt;
    | url = http://citeseer.ist.psu.edu/560898.html&lt;br /&gt;
    | format = PDF/PostScript&lt;br /&gt;
    | access-date = 2007-09-04 }}&lt;br /&gt;
&lt;br /&gt;
{{cryptography navbox | block}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Cryptographic attacks]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Andrewa</name></author>
	</entry>
</feed>