Article View: news.software.nntp
Article #57391Re: Cancelling usenet messages in a reliable way (a proposal)
From: Alex Birj
Date: Tue, 19 Mar 2002 05:03
Date: Tue, 19 Mar 2002 05:03
132 lines
5925 bytes
5925 bytes
I've just thought another workaround to boost the security of the method even further is to keep not one personal key but a number of possible personal keys (two or three, a few is enough) key1.......keyN When we post a message - we will pick up a key from the set randomly (in the role of the personal key). When we cancel a message - we will try all keys in a row until we find a key that was used in the original post and we use the key to issue the cancel. Then the attacker won't know what key personal was used for what post and it will make the linear cryptanalysis much more difficult. But I don't know if it is really needed maybe too much :) Alex Birj <alexande_nospam@tx.technion.ac.il> wrote: >Below is the latest variant of the scheme (I posted it already) > >I'm not a cryptoanalyst, so I checked more references. > >We talk about 1 block of text/ciphertext, the attack is called known plaintext > >attack, linear cryptoanalysis. > >"A known-plaintext attack is one in which the cryptanalyst obtains a sample of > >ciphertext and the corresponding plaintext as well." > >"Abstract. In [9] Matsui introduced a new method of cryptanalysis, called >Linear Cryptanalysis. This method was used to attack DES using 2 power 47 >known >plaintexts. " > >And DES is 56 bit, it is quite a different order. > >Differential cryptoanalysis is not applicable since the attacker cannot choose > >plain text. > >If we use the message-id method - we get new text/ciphertext pair "exposing" >the personal key in this sense with every new message posted, with random text > >- with every new message cancelled. > >Here it is: > >------------------------------------------------------------------------------------------------------------ > >First a random 16 byte password is generated that can be reused, it is your >personal 128 bit RC5 symmetric key. > >The idea is simple - to add to the article headers which contain text and >ciphertext, and to send a symmetric key to verify the cancel (the server will > >apply the key to the text and will compare result with the ciphertext, the >task >of breaking this would amount to breaking the cipher itself since it is one to > >one function, just a permutation, if you find a 'collision' - you have the key > >- I mean when block size=key size, just we take block size 16 bytes). > >To do all that - first we generate 16 bytes of random text (on per post basis) > >The question is then what symmetric key we will use to produce the ciphertext. > >We just encrypt the random text with our personal symmetric key to get the >symmetric key for this specific article. > >Then we will encrypt the text with the symmetric key we've just produced and >thus we got the ciphertext. > >Now we add among posted article headers: > >Cancel-Rand: our original random text >Cancel-ID: our ciphertext > >Now suppose we want to cancel the article. > >In the exactly same way we can easily produce the symmetric key from the >random > > >text from article headers with the help of our personal symmetric key. > >Then among control cancel headers we will add: > >Cancel-Key: the symmetric key for the specific article > >Now server may apply the key, compare the result and verify that the cancel is > >genuine. > >We can omit Cancel-Rand if newsserver doesn't force its message-id (so >message-ids might be generated by newsreaders). > >As the text we will take MD5 hash of message-id+24 originally random bytes >that >are predefined (always the same and known) > >MD5 hash has is exactly 16 bytes, so we will use it as the random text in the >case the Cancel-Rand header is missing (just an agreement to get rid of one >header and reduce the overhead to only 22 base64 encoded bytes). > >Simon Lyall <simon@darkmere.gen.nz> wrote: >>In news.software.nntp Alex Birj <alexande_nospam@tx.technion.ac.il> wrote: >>>Currently it is quite safe to use 64bit key, the weakened RC5 challenge >>>stands >>>since 1997 unsolved ($10000 reward), it is also possible to use 128bit keys >>>that are currently used for high-grade secure connections. >> >>I'm not sure this is fully applicable. Your scheme has known plaintext and >>known cypertext with unknown key while the chellenge has known cypertext >>and only this first few characters of the plaintext being known. This may >>weaken you scheme a little. >> >>You have changed you scheme a couple of times between posts, can you >>please post the current version. References to problems with SHA1 would be >>good as well. >> >>Disclaimer: I am not a cryptographer >> >>-- >>Simon J. Lyall | Very Busy | Mail: simon@darkmere.gen.nz >>"Inside me Im Screaming, Nobody pays any attention." | eMT. >> >>"We came to wreck everything and ruin your life, God sent us" >
Technical Details
Message-ID:
<a76gro$is284$1@ID-58688.news.dfncis.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!202.163.200.13!not-for-mailReferences:
<MQFj8.183836$a_1.18013001@amsnews03.chello.com> <a70lb2$nq2$1@red.darkmere.gen.nz> <a75lkt$ii4iu$1@ID-58688.news.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <a76gro$is284$1@ID-58688.news.dfncis.de> Subject: Re: Cancelling usenet messages in a reliable way (a proposal) Date: Tue, 19 Mar 2002 05:03:53 +0000 From: Alex Birj <alexande_nospam@tx.technion.ac.il> References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com> <a70lb2$nq2$1@red.darkmere.gen.nz> <a75lkt$ii4iu$1@ID-58688.news.dfncis.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!202.163.200.13!not-for-mail Newsgroups: news.software.readers,news.software.nntp Lines: 131 NNTP-Posting-Host: 202.163.200.13 X-Trace: fu-berlin.de 1016514233 19794180 202.163.200.13 (16 [58688])