Subliminal channel
In cryptography, subliminal channels are covert channels that can be used to communicate secretly in normal looking communication over an insecure channel.[1] Subliminal channels in digital signature crypto systems were found in 1984 by Gustavus Simmons.
Simmons describes how the "Prisoners' Problem" can be solved through parameter substitution in digital signature algorithms.[2][lower-alpha 1]
Signature algorithms like ElGamal and DSA have parameters which must be set with random information. He shows how one can make use of these parameters to send a message subliminally. Because the algorithm's signature creation procedure is unchanged, the signature remains verifiable and indistinguishable from a normal signature. Therefore, it is hard to detect if the subliminal channel is used.
- Subliminal channels can be classified into broadband and narrowband channel types.
- Broadband and narrowband channels can exist in the same datastream.
- The broadband channel uses almost all available bits that are available to use. This is commonly understood to mean {≥50% but ≤90%} channel utilization.
- Every channel which uses fewer bits is called a narrow-band channel.
- The additional used bits are needed for further protection, e.g., impersonation.
The broadband and the narrow-band channels can use different algorithm parameters. A narrow-band channel cannot transport maximal information, but it can be used to send the authentication key or datastream.
Research is ongoing : further developments can enhance the subliminal channel, e.g., allow for establishing a broadband channel without the need to agree on an authentication key in advance. Other developments try to avoid the entire subliminal channel.
Examples
An easy example of a narrowband subliminal channel for normal human-language text would be to define that an even word count in a sentence is associated with the bit "0" and an odd word count with the bit "1". The question "Hello, how do you do?" would therefore send the subliminal message "1".
The Digital Signature Algorithm has one subliminal broadband[3] and three subliminal narrow-band channels[4]
At signing the parameter [math]\displaystyle{ k }[/math] has to be set random. For the broadband channel this parameter is instead set with a subliminal message [math]\displaystyle{ m' }[/math].
- Key generation
- choose prime [math]\displaystyle{ p = 2347 }[/math]
- choose prime [math]\displaystyle{ q = 23 }[/math]
- calculate generator [math]\displaystyle{ g = 266 }[/math]
- choose authentication key [math]\displaystyle{ x = 1468 }[/math] and send it securely to the receiver
- calculate public key [math]\displaystyle{ y = g^x }[/math] mod [math]\displaystyle{ p = 2100 }[/math]
- Signing
- choose message [math]\displaystyle{ m = 1337 }[/math]
- (hash function [math]\displaystyle{ H(m) }[/math] is here substituted with a modulo reduction by 107) calculate message hash value [math]\displaystyle{ h = m }[/math] mod [math]\displaystyle{ q = 1337 }[/math] mod [math]\displaystyle{ 107 = 53 }[/math]
- instead of random value [math]\displaystyle{ k = ? }[/math] subliminal message [math]\displaystyle{ m' = 17 }[/math] is chosen
- calculate inverse of the subliminal message [math]\displaystyle{ m'^{-1} = 19 }[/math] mod [math]\displaystyle{ 23 }[/math]
- calculate signature value [math]\displaystyle{ r = (g^k }[/math] mod [math]\displaystyle{ p) }[/math] mod [math]\displaystyle{ q = (266^{17} }[/math] mod [math]\displaystyle{ 2347) }[/math] mod [math]\displaystyle{ 23 = 12 }[/math]
- calculate signature value [math]\displaystyle{ s = k^{-1} * (h + x*r) }[/math] mod [math]\displaystyle{ q = 19 * (53 + 1468 * 12) }[/math] mod [math]\displaystyle{ 23 = 3 }[/math]
- sending message with signature triple [math]\displaystyle{ (1337; 12, 3) }[/math]
- Verifying
- receiver gets message triple [math]\displaystyle{ (m; r, s) = (1337; 12, 3) }[/math]
- calculate message hash [math]\displaystyle{ h = H(m) }[/math] mod [math]\displaystyle{ q = 1337 }[/math] mod [math]\displaystyle{ 107 = 53 }[/math]
- calculate inverse [math]\displaystyle{ w = s^{-1} }[/math] mod [math]\displaystyle{ q = 8 }[/math]
- calculate [math]\displaystyle{ u_1 = (h * w) }[/math] mod [math]\displaystyle{ q = 53 * 8 }[/math] mod [math]\displaystyle{ 23 = 10 }[/math]
- calculate [math]\displaystyle{ u_2 = (r * w) }[/math] mod [math]\displaystyle{ q = 12 * 8 }[/math] mod [math]\displaystyle{ 23 = 4 }[/math]
- calculate signature [math]\displaystyle{ v = (g^{u_1} * y^{u_2} }[/math] mod [math]\displaystyle{ p) }[/math] mod [math]\displaystyle{ q = (266^{10} * 2100^4 }[/math] mod [math]\displaystyle{ 2347) }[/math] mod [math]\displaystyle{ 23 = 12 }[/math]
- since [math]\displaystyle{ v = r }[/math], the signature is valid
- Message extraction on receiver side
- from triple (1337; 12, 3)
- extract message [math]\displaystyle{ m' = 8 * (53 + 1468 * 12) }[/math] mod [math]\displaystyle{ 23 = 17 }[/math]
The formula for message extraction is derived by transposing the signature value [math]\displaystyle{ s }[/math] calculation formula.
- [math]\displaystyle{ s = m'^{-1} * (h + xr) }[/math] mod [math]\displaystyle{ q }[/math]
- [math]\displaystyle{ s * m' = h + xr }[/math] mod [math]\displaystyle{ q }[/math]
- [math]\displaystyle{ m' = s^{-1} * (h + xr) }[/math] mod [math]\displaystyle{ q }[/math]
Example: Using a Modulus n = pqr
In this example, an RSA modulus purporting to be of the form n = pq is actually of the form n = pqr, for primes p, q, and r. Calculation shows that exactly one extra bit can be hidden in the digitally signed message. The cure for this was found by cryptologists at the Centrum Wiskunde & Informatica in Amsterdam, who developed a Zero-knowledge proof that n is of the form n = pq.[citation needed] This example was motivated in part by The Empty Silo Proposal.
Example - RSA Case study
Here is a (real, working) PGP public key (using the RSA algorithm), which was generated to include two subliminal channels - the first is the "key ID", which should normally be random hex, but below is "covertly" modified to read "C0DED00D". The second is the base64 representation of the public key - again, supposed to be all random gibberish, but the English-readable message "//This+is+Christopher+Drakes+PGP+public+key//Who/What+is+watcHIng+you//" has been inserted. Adding both these subliminal messages was accomplished by tampering with the random number generation during the RSA key generation phase.
PGP Key. RSA 2020/C0DED00D Fprint: 250A 7E38 9A1F 8A86 0811 C704 AF21 222C -----BEGIN PGP PUBLIC KEY BLOCK----- Version: Private mQESAgAAAAAAAAEH5Ar//This+is+Christopher+Drakes+PGP+public+key// Who/What+is+watcHIng+you//Di0nAraP+Ebz+iq83gCa06rGL4+hc9Gdsq667x 8FrpohTQzOlMF1Mj6aHeH2iy7+OcN7lL0tCJuvVGZ5lQxVAjhX8Lc98XjLm3vr1w ZBa9slDAvv98rJ8+8YGQQPJsQKq3L3rN9kabusMs0ZMuJQdOX3eBRdmurtGlQ6AQ AfjzUm8z5/2w0sYLc2g+aIlRkedDJWAFeJwAVENaY0LfkD3qpPFIhALN5MEWzdHt Apc0WrnjJDby5oPz1DXxg6jaHD/WD8De0A0ARRAAAAAAAAAAAbQvQ2hyaXN0b3Bo ZXIgRHJha2UgPENocmlzdG9waGVyLkRyYWtlQFBvQm94LmNvbT60SE5ldFNhZmUg c2VjdXJpdHkgc29mdHdhcmUgZGlyZWN0b3IgQ2hyaXN0b3BoZXIgRHJha2UgPE5l dFNhZmVAUG9Cb3guY29tPokBEgMFEDPXgvkcP9YPwN7QDQEB25oH4wWEhg9cBshB i6l17fJRqIJpXKAz4Zt0CfAfXphRGXC7wC9bCYzpHZSerOi1pd3TpHWyGX3HjGEP 6hyPfMldN/sm5MzOqgFc2pO5Ke5ukfgxI05NI0+OKrfc5NQnDOBHcm47EkK9TsnM c3Gz7HlWcHL6llRFwk75TWwSTVbfURbXKx4sC+nNExW7oJRKqpuN0JZxQxZaELdg 9wtdArqW/SY7jXQn//YJV/kftKvFrA24UYLxvGOXfZXpP7Gl2CGkDI6fzism75ya xSAgn9B7BqQ4BLY5Vn+viS++6Rdavykyd8j9sDAK+oPz/qRtYJrMvTqBErN4C5uA IV88P1U= =/BRt -----END PGP PUBLIC KEY BLOCK-----
Improvements
A modification to the Brickell and DeLaurentis signature scheme provides a broadband channel without the necessity to share the authentication key.[5] The Newton channel is not a subliminal channel, but it can be viewed as an enhancement.[6]
Countermeasures
With the help of the zero-knowledge proof and the commitment scheme it is possible to prevent the usage of the subliminal channel.[7][8]
It should be mentioned that this countermeasure has a 1-bit subliminal channel. The reason for that is the problem that a proof can succeed or purposely fail.[9]
Another countermeasure can detect, but not prevent, the subliminal usage of the randomness.[10]
Notes
References
- ↑ 1.0 1.1 Gustavus J. Simmons. The Prisoners Problem and the Subliminal Channel. In Advances in Cryptology – CRYPTO ’83, pages 51–67, New York, 1984. Lecture Notes in Computer Science, ed. D. Chaum.
- ↑ Gustavus J. Simmons. The subliminal channel and digital signatures. In Proc. of the EUROCRYPT 84 workshop on Advances in Cryptology – theory and application of cryptographic techniques, pages 364–378, New York, NY, USA, 1985. Springer-Verlag New York, Inc. doi:10.1007/3-540-39757-4_25
- ↑ Gustavus J. Simmons. Subliminal communication is easy using the DSA. In EUROCRYPT ’93: Workshop on the theory and application of cryptographic techniques on Advances in cryptology, pages 218–232, Secaucus, NJ, USA, 1994. Springer-Verlag New York, Inc.
- ↑ Gustavus J. Simmons. The subliminal channel in the U.S. Digital Signature Algorithm (DSA), in Proceedings of the 3rd Symposium on State and Progress of Research in Cryptography (SPRC '93), Rome, Italy, February 15–16, 1993.
- ↑ Gustavus J. Simmons. A Secure Subliminal Channel (?). In CRYPTO ’85: Advances in Cryptology, pages 33–41, London, UK, 1986. Springer-Verlag.
- ↑ Ross J. Anderson, Serge Vaudenay, Bart Preneel, and Kaisa Nyberg. The Newton Channel. In Proceedings of the First International Workshop on Information Hiding, pages 151–156, London, UK, 1996. Springer-Verlag.
- ↑ Yvo Desmedt. Abuses in Cryptography and How to Fight Them. In CRYPTO ’88: Proceedings of the 8th Annual International Cryptology Conference on Advances in Cryptology, pages 375–389, London, UK, 1990. Springer-Verlag.
- ↑ Yvo Desmedt. "Subliminal-free authentication and signature". p. 24 of Christoph G. Günther, editor. "Advances in Cryptology - EUROCRYPT '88". 1988.
- ↑ Desmedt, Yvo (1996). "Simmons' Protocol is Not Free of Subliminal Channels". pp. 170–175.
- ↑ Choi, Jong Youl; Golle, Philippe; Jakobsson, Markus (2006). "Tamper Evident Digital Signatures: Protecting Certification Authorities Against Malware".
- Bruce Schneier. Applied Cryptography, Second Edition: Protocols, Algorithms, and Source Code in C, 2. Ed. Wiley Computer Publishing, John Wiley & Sons, Inc., 1995.
External links
Original source: https://en.wikipedia.org/wiki/Subliminal channel.
Read more |