Re: using a MAC with a very short message

From: Andy Fish (ajfish_at_blueyonder.co.uk)
Date: 04/26/04


Date: Mon, 26 Apr 2004 07:30:23 GMT

Since you ask, here's the scenario:

a user is on a mailing list and gets sent an email (BTW it's not spam!). at
the bottom is a link saying "to unsubscribe click here" with a URL that goes

http://www.example.com/unsubscribe.php?userid=32&mac=34ff2bd4b22e93c5352e734

in this case, the "message" is simply the number 32. clearly if there isn't
a MAC, it would be very easy for a malicious user to unsubscribe someone
else. by including a MAC, I can be reasonably sure that user 32 can only be
unsubscribed by someone who is reading user 32's email. For a mailing list
this is de facto an acceptable level of security. As you can see, the replay
"attack" is not an issue here since the unsubscribe is idempotent.

Sorry if "MAC" has certain connotations and was the wrong term to use in
this instance. It certainly seems to me that it is a MAC. If anyone can
point out a flaw or suggest a better/simpler mechanism I will happily
consider it.

Andy

"Gregory G Rose" <ggr@qualcomm.com> wrote in message
news:c6gs6p$1k2@qualcomm.com...
> In article <fJPic.34988$Ml.32991@news01.bloor.is.net.cable.rogers.com>,
> Tom St Denis <tom@securescience.net> wrote:
> >Andy Fish wrote:
> >> I'm not after a particularly high level of security and the replay
attack is
> >> not a problem for me, so I guess I'm OK
> >
> >Then why MAC at all? It wastes bandwidth and offers ZERO security.
>
> As usual, the OP didn't tell us what he's actually
> trying to achieve, only what mechanism he wants to
> use to achieve it. So it's impossible to tell
> whether he gets security out of it or not, since
> "secure" is relative to his (secret) threat model.
>
> I can imagine one case where this would be secure,
> even without the timestamp, and that's a kind of
> online "bingo" game. The number is only relevant
> the first time it is sent, and replay attacks
> don't do anything.
>
> Generally, though, I agree with you... the first
> question you need to ask after designing in a MAC
> is "Do replays matter, and (almost all the time)
> how do I prevent them?"
>
> Greg.
> --
> Greg Rose
> 232B EC8F 44C6 C853 D68F E107 E6BF CD2F 1081 A37C
> Qualcomm Australia: http://www.qualcomm.com.au



Relevant Pages

  • warning our macs are vulnerable
    ... Mac security researcher Dino Zovi has found a major flaw in OS X that allows hackers to steal users credit card numbers and more. ... Mr. Zovi demonstrated how the attack can be used to hijack Apple's Safari browser, stealing encrypted data from a user's bank accounts. ...
    (comp.sys.mac.advocacy)
  • "Modular malware to avoid detection "
    ... Firefox and Mac security sanctuaries 'under attack' ... Symantec attacks sacred cows ... Get breaking Security news straight to your desktop - click here to ... software and describing Mac fans as living in a "false paradise". ...
    (uk.telecom.broadband)
  • Re: Mac Hack
    ... competent programmer + time = hacked mac. ... The person in the article is well known in security circles. ... As it stands the Mac appears to have ... How is exploiting the OS through an application not a valid attack on ...
    (comp.sys.mac.advocacy)
  • Re: Mac Hack
    ... competent programmer + time = hacked mac. ... The person in the article is well known in security circles. ... As it stands the Mac appears to have ... I don't think anyone was saying it is not an attack, ...
    (comp.sys.mac.advocacy)
  • >>> MAC SECURITY <<<
    ... mac home security ... free security software for mac ... internet security for mac ...
    (rec.equestrian)

Quantcast