Re: [dmarc-ietf] Recipient domain in aggregate reports (#23)

Alessandro Vesely <vesely@tana.it> Sat, 08 May 2021 14:31 UTC

Return-Path: <vesely@tana.it>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 438B03A19AA for <dmarc@ietfa.amsl.com>; Sat, 8 May 2021 07:31:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.121
X-Spam-Level:
X-Spam-Status: No, score=-2.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1152-bit key) header.d=tana.it
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 oEvd_ZMuxHcq for <dmarc@ietfa.amsl.com>; Sat, 8 May 2021 07:30:56 -0700 (PDT)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226]) (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 AD1E23A19AC for <dmarc@ietf.org>; Sat, 8 May 2021 07:30:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1620484248; bh=ziD9hMQo3AcExGpAH5OPcw8KTBvP5fTiwg6TqJ0uq2I=; l=2040; h=To:References:From:Date:In-Reply-To; b=A5fhEGVNFXADPnrlCTVB9m1erjo2TksIa5HhSOVS9aHV4tUTSpXGovByVrub9Dszn FAGkxzFtVfi9kYVxgI4cp8nkMrEe/qdK8SWdi2sa4/fOPo+ei0n6qf7CNpFIwTnAAM W1eFn9fZ1dj/gzinvaKS2be5fv6ZP4QWTUp1ij2C8kbetCmVZFz3PkIeUJsPX
Authentication-Results: tana.it; auth=pass (details omitted)
Original-From: Alessandro Vesely <vesely@tana.it>
Received: from [172.25.197.111] (pcale.tana [172.25.197.111]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLS1.3, 128bits, ECDHE_RSA_AES_128_GCM_SHA256) by wmail.tana.it with ESMTPSA id 00000000005DC028.000000006096A098.0000208F; Sat, 08 May 2021 16:30:48 +0200
To: dmarc@ietf.org
References: <20210502203007.2AE156284F0@ary.qy> <215690a6-2b04-3355-9999-816a1c3d7126@heeg.de> <70E22447-47F6-4B92-B47F-664A81107836@wordtothewise.com> <CAH48Zfy0_jvDAtwQ+MrK4kk=J1iqO=6z1+ToBPiAOYeJ5qWHyg@mail.gmail.com> <692CBE21-4222-4353-8D03-EE4B287405EF@wordtothewise.com> <CAH48ZfzH24kw9Rn8t_r-WmsBVQKcrNnV9Px0Gr7ufJcSncmUuQ@mail.gmail.com> <e9b5abbc-08b3-111a-9563-37a742c72ff3@tana.it> <MN2PR11MB43519672C6029A3FE916C0A1F7599@MN2PR11MB4351.namprd11.prod.outlook.com> <CALaySJJa+LWRmhKUxSBXa-Vbx6uf4pzgfQZ0cZ=KUGP3EWhWJw@mail.gmail.com> <4c6e369a-23a0-7816-33fa-41b8151cae54@wander.science> <3931DE91-A04A-4275-BF03-94010D5492CA@wordtothewise.com> <42d9a91b-8bf0-1b49-4560-f371972e2820@wander.science>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <76630f7f-63d0-2434-dc1c-14cefa2b33c9@tana.it>
Date: Sat, 08 May 2021 16:30:48 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <42d9a91b-8bf0-1b49-4560-f371972e2820@wander.science>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/LpbvrAZjuFxoGAtNv-SRVfTXPIg>
Subject: Re: [dmarc-ietf] Recipient domain in aggregate reports (#23)
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 May 2021 14:31:01 -0000

On Sat 08/May/2021 14:29:11 +0200 Matthäus Wander wrote:
> Laura Atkins wrote on 2021-05-08 13:59:
> 
>> The current system does not allow for reconstruction of the forwarding
>> pathway.
> 
> I agree in that envelope_to makes it easier for reconstruction of the
> pathway, but disagree otherwise. DMARC reporting in principle allows for
> reconstruction of the pathway, as noted in the privacy considerations:
> <https://datatracker.ietf.org/doc/html/draft-ietf-dmarc-aggregate-reporting-02#section-6.1>


The second paragraph says:

    Aggregate report may expose sender and recipient identifiers,
    specifically the RFC5322.From addresses.

It is bogus.  The email addresses contained in a DMARC aggregate report are 
limited to <report_metadata>.

I'm realizing now that envelope_from has a minOccurs="1".  How come?  I never 
generated one, yet I syntax-checked generated reports and never noticed that 
defect.  And I cannot comply in case of NDRs.

Anyway, given:

     Report from $ForwarderOrg:
     HeaderFrom=$OriginDomain + EnvFrom=$OriginDomain --> $ForwarderOrg

Is the meaning of "-->" the guessing of envelope_to?

     Report from $RecipientOrg:
     HeaderFrom=$OriginDomain + EnvFrom=$ForwarderDomain --> $RecipientOrg

The latter implies $ForwarderDomain changed the envelope sender.  More often 
it's left intact or emptied.


> Other proposals in the current I-Ds contribute to this privacy threat
> and may be worth a separate discussion:
> - #57 requires reporting of selectors, which can be exploited for tracking.


Yes.  Sender has to keep the selector <---> recipient association.  That way it 
can track the forwarding chain.  Yet, the information gathered isn't much more 
than positive DSNs.  In particular, this method doesn't disclose the local 
parts of the addresses.


> - #62 makes reporting mandatory, which leaves the mail receiver with no
> means to mitigate the privacy threat.


Making it mandatory is possible since RFC 8962 established the protocol police.



Best
Ale
--