Re: Sun setting on stream ciphers?

From: Scott A Crosby (scrosby_at_cs.rice.edu)
Date: 02/28/04


Date: 28 Feb 2004 16:51:19 -0600

On 28 Feb 2004 10:24:32 -0800, tomstdenis@yahoo.com (Tom St Denis) writes:

> A compromise would be to drop the MAC requirement and just ensure that
> both sides influence the CTR IV and keys. That way you can't replay
> or damage packets without it coming out sounding like noise...

AFAIK, doesn't CTR mode absolutely require some sort of
authentication. An attacker who knew the origonal contents of a packet
could just ensure that any packet they wished would be decoded.

CTR mode is?:
 C_i = E(CTR++) + P_i

If the attacker knows P_i and want plaintext P'_i to be decoded they
can corrupt C_i into C'_i as:

 C'_i = C_i - P_i + P'_i

Maybe a truncated HMAC-SHA1 to 8 bits is a solution.

Scott



Relevant Pages

  • Re: Data Compression Before or After Encryption ?
    ... > In the case of, for instance, illegal music downloads, all an attacker has ... So far the only other mode that people have suggested;) is CTR mode. ... reversing an empty KEY with xor DATA. ...
    (sci.crypt)
  • Re: Data Compression Before or After Encryption ?
    ... And bacause of that we say, use CTR. ... Let's suppose the key stays the same and ECB mode is used... ... > You have no clue about security and we have no clue about your app. ... > of each packet can start as soon as the IV is received (probably with the ...
    (sci.crypt)
  • Re: Data Compression Before or After Encryption ?
    ... I don't understand the encryption algorithms and never ... And bacause of that we say, use CTR. ... You have no clue about security and we have no clue about your app. ... of each packet can start as soon as the IV is received. ...
    (sci.crypt)
  • Re: Smurf ,land attacks
    ... Using libnet/libpcap you can write directly to the ... > What the attacker does is not allowing the Kernel to ... > from the packet he's spoofing, ... >> wire? ...
    (Security-Basics)
  • [UNIX] Security Analysis of VTun
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... An attacker can modify ... Packet forwarding: ... password) as encryption key. ...
    (Securiteam)