Re: [IPsec] Garage door - let's pick a different example
"Valery Smyslov" <svanru@gmail.com> Wed, 20 August 2014 11:36 UTC
Return-Path: <svanru@gmail.com>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89DDB1A024F for <ipsec@ietfa.amsl.com>; Wed, 20 Aug 2014 04:36:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level:
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y5qQPEli0qJ0 for <ipsec@ietfa.amsl.com>; Wed, 20 Aug 2014 04:36:40 -0700 (PDT)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BFC31A0242 for <ipsec@ietf.org>; Wed, 20 Aug 2014 04:36:39 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id el20so7274390lab.3 for <ipsec@ietf.org>; Wed, 20 Aug 2014 04:36:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:references:subject:date:mime-version :content-type; bh=TZJNJQ+OyvgBhUJOAVNORfqSw605LDOfb9v/ZpwrI2w=; b=lGjG7d7CXUyAsTNf44kIUbHnjG9j95erNyphQFwTRIaJngMVzEcmIP8VwWxU9Nl6Hi uCMNFfl7IjwNtnYEErezpxC/SExPoA50qMN5FIeUlY3SHa/FDZZVMOVycdrGelqzXI4L mLYpZZky5TgYwYp/MdTyCAPty9EMF08ixrizL8dJeBmUZZjSE+mPd9mMpdVlNXQAxus3 7sHVOxpyn+apTAqKqFH+0gohvviBvbNsTOhPkfG7FBVJZnaJ/3RAxkbGIJbqsEfEZ2Go btzZv44Wkx6gbvQOYx1XeMafZ0xNbvtzc74NI2UvoqWqC1jD07A4n0q3IYhBu6TGAOuq zJCw==
X-Received: by 10.152.6.133 with SMTP id b5mr25261777laa.16.1408534597115; Wed, 20 Aug 2014 04:36:37 -0700 (PDT)
Received: from buildpc ([93.188.44.200]) by mx.google.com with ESMTPSA id bc17sm14300007lab.24.2014.08.20.04.36.35 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Aug 2014 04:36:36 -0700 (PDT)
Message-ID: <7C3DE8C9078E4ECC86A3CB77B9449616@buildpc>
From: Valery Smyslov <svanru@gmail.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>, ipsec <ipsec@ietf.org>
References: <53D287BA.2070104@gmail.com>
Date: Wed, 20 Aug 2014 15:36:41 +0400
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0D9F_01CFBC8C.8A59FBB0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Archived-At: http://mailarchive.ietf.org/arch/msg/ipsec/9LgX_gzg0A20nkFmkOkvUwQl4zo
Subject: Re: [IPsec] Garage door - let's pick a different example
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Aug 2014 11:36:42 -0000
Hi Yaron,
sorry for late reply - I was on vacation.
I still think that the example is valid. The example describes the remote opener which
opens the only door. If you want to open different doors using single opener then you might
run into trouble you described. But this attack can be thwarted by using
more specific commands: not just "open" and "close", but "open garage door",
"close kitchen door" etc. In this case each door must know its name
and must act only if received command concerns it. Note, that mutual authentication
is still not needed here.
Another example, where initiator must be authenticated while responder
is not needed to be authenticated is some sensor (e.g. temperature), that
sleeps most of the time, but periodically wakes up, measures something
(like temperature) and sends the result to some server. Clearly, the sensor must
be authenticated, but the server it connects to may be left unauthenticated
(I presume that the measurement itself is not secret, so no harm
if attacker gets it, authentication is only needed for the server to
be sure it receives authorative data).
Regards,
Valery.
----- Original Message -----
From: Yaron Sheffer
To: ipsec
Sent: Friday, July 25, 2014 8:37 PM
Subject: [IPsec] Garage door - let's pick a different example
This might sound like a nit, but we have this text in the draft, as a use case for null auth:
"User wants to get some simple action from the remote device. Consider garage door opener: it must authenticate user to open the door, but it is not necessary for the user to authenticate the door opener. In this case one-way authentication is sufficient."
The problem is, this is an incorrect protocol. Specifically, a MITM (who might be physically located by the kitchen door), could redirect the protocol exchange to a door different from the one I intended to open. Seeing that nothing happens, I will simply press the remote again and open the garage door, too.
This is of course a generic problem, where unauthenticated protocols have unforeseen consequences.
Thanks,
Yaron
------------------------------------------------------------------------------
_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec
- [IPsec] Garage door - let's pick a different exam… Yaron Sheffer
- [IPsec] Garage door - let's pick a different exam… Tero Kivinen
- Re: [IPsec] Garage door - let's pick a different … Yaron Sheffer
- Re: [IPsec] Garage door - let's pick a different … Hannes Tschofenig
- Re: [IPsec] Garage door - let's pick a different … Yoav Nir
- Re: [IPsec] Garage door - let's pick a different … Hannes Tschofenig
- Re: [IPsec] Garage door - let's pick a different … Valery Smyslov
- Re: [IPsec] Garage door - let's pick a different … Valery Smyslov
- Re: [IPsec] Garage door - let's pick a different … Valery Smyslov
- Re: [IPsec] Garage door - let's pick a different … Yaron Sheffer