Re: Authentication of a messages using a counter and a MAC
- From: "Joseph Ashwood" <ashwood@xxxxxxx>
- Date: Sat, 27 Jan 2007 02:11:58 GMT
"Mike Amling" <spamonly@xxxxxxxxxxx> wrote in message
news:epd68l$f2h@xxxxxxxxxxxxxxxxxxxxxxxxxx
Joseph Ashwood wrote:
To attack a single MAC value that is correct, or actually to attack a
sufficiently small number of MAC values that is correct, but it breaks
down at the birthday point, so if you send out 5 MAC values of the 32-bit
MAC, the adversary only has to exert 2^31/5 work, as you approach the
birthday point the transition is difficult to compute because previously
ignorable epsilons begin to dominate the equation.
Sorry, I'm not following this. If I send 1024 messages with 32-bit MACs,
what does an attacker do 2**21 times that makes her probability of having
come up with a forgery more than about 0.001?
You're forgetting the multiple by the messages. If I am trying to collide
with 1 message I generally have to do half the work to collide with one of 2
messages, extending to I have to perform 1/K times the work to collide with
one of K messages. This leads immediately to the 2^31/5 I gave above.
Whether or not this actually leads to an attack on OMAC is questionable, and
the counter included in the original design provides some resilience, but
the proof itself breaks down at the birthday point. I consider this
breakdown at the birthday point to be a critical point to stop using the
key.
With that said I believe the biggest risk to the system is actually slightly
different from the algorithm I posed before
for(int datumNumber = 0; datumNumber < data in series; datumNumber++)
for(int attemptedMAC = 0; attemptedMAC < 16777216; attemptedMAC++)
send(datumNumber, attemptedMAC, data[datumNumber]);
Instead datumNumber should be fixed at one less than the maximum counter
value, this will eliminate the usefulness of the system, making the entire
construct useless. The reason for the one less is to avoid a bordercase
where due to counter wrapping the adversary accidently wraps the counter
around, voiding the counter, unless there is a specific check for this the
adversary has simply reset the counter, not locked up the system.
Joe
.
- References:
- Authentication of a messages using a counter and a MAC
- From: Jakob
- Re: Authentication of a messages using a counter and a MAC
- From: Joseph Ashwood
- Re: Authentication of a messages using a counter and a MAC
- From: Jakob
- Re: Authentication of a messages using a counter and a MAC
- From: Joseph Ashwood
- Re: Authentication of a messages using a counter and a MAC
- From: Jakob
- Re: Authentication of a messages using a counter and a MAC
- From: Joseph Ashwood
- Re: Authentication of a messages using a counter and a MAC
- From: Jakob
- Re: Authentication of a messages using a counter and a MAC
- From: Joseph Ashwood
- Re: Authentication of a messages using a counter and a MAC
- From: Mike Amling
- Authentication of a messages using a counter and a MAC
- Prev by Date: Re: Authentication of a messages using a counter and a MAC
- Next by Date: Re: New hash contest by NIST, similair to AES competition
- Previous by thread: Re: Authentication of a messages using a counter and a MAC
- Next by thread: Re: Authentication of a messages using a counter and a MAC
- Index(es):
Relevant Pages
|