Re: [dmarc-ietf] attack on reports

Alessandro Vesely <vesely@tana.it> Tue, 26 January 2021 17:37 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 3412C3A0C59 for <dmarc@ietfa.amsl.com>; Tue, 26 Jan 2021 09:37:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.221
X-Spam-Level:
X-Spam-Status: No, score=-0.221 tagged_above=-999 required=5 tests=[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 AYQ8XtEMyltQ for <dmarc@ietfa.amsl.com>; Tue, 26 Jan 2021 09:37:53 -0800 (PST)
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 246B03A0C55 for <dmarc@ietf.org>; Tue, 26 Jan 2021 09:37:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1611682671; bh=lp7pdXcjFt5T63zVZ74TP6zKRPBNUz5iE3TeOXBhmS8=; l=1394; h=To:References:From:Date:In-Reply-To; b=BXv4S1dzlB8vKcfvwcDvi5KQDL+SXiZ+H5WaY5DtHn4qpSJzTEzYFEjHE1M+uyoiY fKGtZ7Ccx4JOCDsAMLyf5xzrG6m+baUMBLaK10Sc8AeXA/xFlYG3en/dDc6F4PeUwL tV1Ah5cqMTt44sNt+H0g9JGvxnlFB8aXJXpd6yrb0fsvHRZJ3rcHjZDiWs9mU
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 00000000005DC053.000000006010536F.00006A97; Tue, 26 Jan 2021 18:37:51 +0100
To: dmarc@ietf.org
References: <c049495f-faa2-c5f0-3e0a-7d8d86150568@mtcc.com>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <aab313ee-4453-d97c-65ad-2a02d543c66c@tana.it>
Date: Tue, 26 Jan 2021 18:37:50 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <c049495f-faa2-c5f0-3e0a-7d8d86150568@mtcc.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/KzbI3hGzX4ravBEEBXigNfEDV9M>
Subject: Re: [dmarc-ietf] attack on reports
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: Tue, 26 Jan 2021 17:37:54 -0000

On Tue 26/Jan/2021 18:24:53 +0100 Michael Thomas wrote:
> 
> This is different than yesterday. From what I can tell there is no identifying 
> information of the original message like message-id in the report xml. If i'm 
> wrong, please point me to it.


With a record for each message it wouldn't be an *aggregate* report.

In addition, if I recover that message from the log, I might find no 
relationship with the reporting domain or the reported source IP.  That is to 
say, I won't be able to deduce if the report is fake or real.


> Since the object of the reports is to have confidence so that I can set a
> p=reject policy, all an attacker needs to do is bombard $LARGEPROVIDER with
> bogus messages purportedly from my domain to make me not want to change over
> to reject for fear of large providers dumping legitimate email from my
> domain. This could be somewhat mitigated if you know all of the IP addresses
> that send for you domain, but that could be difficult with the use of
> outsourced email, etc and shouldn't be a requirement.

$LARGEPROVIDER must use a reputation system to evaluate both the report 
generator domain and the reported IP numbers.


> Addition of the message-id would allow me to cross check from my logs, say,
> that it was a legitimate message from my domain or not.

Not if you take forwarding into account.


Best
Ale
--