Re: [ietf-dkim] Mailsploit

Steve Atkins <steve@wordtothewise.com> Tue, 05 December 2017 21:39 UTC

Return-Path: <ietf-dkim-bounces@mipassoc.org>
X-Original-To: ietfarch-ietf-dkim-archive@ietfa.amsl.com
Delivered-To: ietfarch-ietf-dkim-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97414128891 for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Tue, 5 Dec 2017 13:39:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.789
X-Spam-Level:
X-Spam-Status: No, score=-1.789 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=wordtothewise.com
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 FU5cQuUqbHSh for <ietfarch-ietf-dkim-archive@ietfa.amsl.com>; Tue, 5 Dec 2017 13:39:20 -0800 (PST)
Received: from simon.songbird.com (simon.songbird.com [72.52.113.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3ADC128792 for <ietf-dkim-archive@ietf.org>; Tue, 5 Dec 2017 13:39:20 -0800 (PST)
Received: from simon.songbird.com (simon.songbird.com [127.0.0.1]) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id vB5LXeJX009984; Tue, 5 Dec 2017 13:33:41 -0800
Authentication-Results: simon.songbird.com; dkim=fail reason="verification failed; unprotected key" header.d=wordtothewise.com header.i=@wordtothewise.com header.b=omvo81pn; dkim-adsp=none (unprotected policy); dkim-atps=neutral
Received: from mail.wordtothewise.com (mail.wordtothewise.com [184.105.179.154]) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id vB5LXcUu009937 for <ietf-dkim@mipassoc.org>; Tue, 5 Dec 2017 13:33:39 -0800
Received: from satsuke.wordtothewise.com (204.11.227.194.static.etheric.net [204.11.227.194]) by mail.wordtothewise.com (Postfix) with ESMTPSA id C4ED323379 for <ietf-dkim@mipassoc.org>; Tue, 5 Dec 2017 13:33:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wordtothewise.com; s=aardvark; t=1512509634; bh=ufU5YivqD8nTxXtf+cIyxxFZw7qrTCi0Fzgk30uh9ZA=; h=From:Subject:Date:References:To:In-Reply-To:From; b=omvo81pnb1Q3XiO1x8WmvBrS9XM42OnPwP2CoaQaCUQanG47+2ALETlA5aH/pX+46 j0/rqul4uIsqR23dtlLzhCkBOj1egbNf2eFnhRsFS0smzx3ZxNvEMvDDGHR5a4WXeQ gCEgEyUbrUxgC+MchaO9ACgtD3IReJCojLKT4PXo=
From: Steve Atkins <steve@wordtothewise.com>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 05 Dec 2017 13:33:14 -0800
References: <CAHNGrjEzrmdbjhxf_W2qkX8eiSoSaoYoiMDma3yuM2brS6KVmw@mail.gmail.com>
To: ietf-dkim@mipassoc.org
In-Reply-To: <CAHNGrjEzrmdbjhxf_W2qkX8eiSoSaoYoiMDma3yuM2brS6KVmw@mail.gmail.com>
Message-Id: <C0EC2083-D802-4D8A-B9ED-E40C7B4A97FB@wordtothewise.com>
X-Mailer: Apple Mail (2.3273)
X-MIME-Autoconverted: from quoted-printable to 8bit by simon.songbird.com id vB5LXcUu009937
Subject: Re: [ietf-dkim] Mailsploit
X-BeenThere: ietf-dkim@mipassoc.org
X-Mailman-Version: 2.1.16
Precedence: list
List-Id: IETF DKIM Discussion List <ietf-dkim.mipassoc.org>
List-Unsubscribe: <http://mipassoc.org/mailman/options/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=unsubscribe>
List-Archive: <http://mipassoc.org/pipermail/ietf-dkim/>
List-Post: <mailto:ietf-dkim@mipassoc.org>
List-Help: <mailto:ietf-dkim-request@mipassoc.org?subject=help>
List-Subscribe: <http://mipassoc.org/mailman/listinfo/ietf-dkim>, <mailto:ietf-dkim-request@mipassoc.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ietf-dkim-bounces@mipassoc.org
Sender: ietf-dkim <ietf-dkim-bounces@mipassoc.org>

> On Dec 5, 2017, at 1:24 PM, Pawel Lesnikowski <lesnikowski@limilabs.com> wrote:
> 
> Hi All,
> 
> I'm not sure if you noticed but it seems many client are affected by 'mailsploit':
> https://www.mailsploit.com/index
> 
> Basically the attacker uses special characters inside encoded words to spoof the sender:
> 
> From: =?utf-8?b?cG90dXNAd2hpdGVob3VzZS5nb3Y=?==?utf-8?Q?=00?==?utf-8?b?cG90dXNAd2hpdGVob3VzZS5nb3Y=?=@mailsploit.com
> 
> Such header naively decoded incorrectly is:
> potus@whitehouse.gov\0potus@whitehouse.gov@mailsploit.com
> 
> Although it's not a direct attack on DKIM, if DKIM is implemented properly and email address decoding and displaying isn't, users might be fooled.
> 
> Of course encoded words are not allowed inside email addresses (address, not names), 
> but is seems many clients try to decode them.
> 
> What are your thoughts?

It's a DMARC issue rather than a DKIM one.

Most mobile clients and many desktop clients don't display the senders email address anyway, just the "friendly from" / human readable comment, so "From: POTUS potus@whitehouse.gov <bob@mail.ru>" is much simpler and nearly as effective.

This[1] is a rendering bug the MUA authors really should fix, but not a terrible concern unless maybe you're looking at sneaky targeted phishing mail.

Cheers,
  Steve

[1] mailsploit, I mean. Maybe that other thing too.
_______________________________________________
NOTE WELL: This list operates according to
http://mipassoc.org/dkim/ietf-list-rules.html