Re: [dmarc-ietf] Tickets 98 and 99 -- fake reports are not a problem and if they were authentication would not help
Todd Herr <todd.herr@valimail.com> Mon, 25 January 2021 13:25 UTC
Return-Path: <todd.herr@valimail.com>
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 252D93A11D7
for <dmarc@ietfa.amsl.com>; Mon, 25 Jan 2021 05:25:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.198
X-Spam-Level:
X-Spam-Status: No, score=-0.198 tagged_above=-999 required=5
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=valimail.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 WHOxP96rRtNq for <dmarc@ietfa.amsl.com>;
Mon, 25 Jan 2021 05:25:40 -0800 (PST)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com
[IPv6:2607:f8b0:4864:20::730])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id C522E3A11D6
for <dmarc@ietf.org>; Mon, 25 Jan 2021 05:25:40 -0800 (PST)
Received: by mail-qk1-x730.google.com with SMTP id 19so12379051qkh.3
for <dmarc@ietf.org>; Mon, 25 Jan 2021 05:25:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=valimail.com; s=google2048;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=cVYiSTnyVjN49uRpsLZylRtVoJACjf9ScgmqxSnBm88=;
b=NQyOv7FtDZGcEN7hsKefOpXMIAjSWa/pzhqecgKEIBLTG2dPoLr6dUwsWD18Phgarc
2K3uO5OThdYOltGO7cs8n1BLVK0AbOpYvm72BKxMhsVFbQfB2g/KUHp0QrC2nvo56k9v
HNHNzhvgWH7zcWlWiodk5XWRVwQM18bBJMPcaMEh48kWeRgTUCHc1UYp3laITxDNFM6a
YFXzBZA4C1blDv5zZ6fGhlfgNl/E6+vGFe0/U9NbF5gggyL2q77BGfx7chtcVnLyx+JM
0OPuK6hy6BKTRVZNnMArgwAFSXFAsoWPcUtpr3LNe4Legw0KHDDheY1UBoCPmhOQYyHR
qVsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=cVYiSTnyVjN49uRpsLZylRtVoJACjf9ScgmqxSnBm88=;
b=RN96r5Fj458weFbT6GHRLaYnKtNs8LhRy6KcFy+gk76XrkTT4sPsks1NTZdue/GTqY
atiFf/WnZpMA2ynYFLmPtE7DSOhjh4BRMIWYrGOFeuBM/oXLbyguSgKXHhO2qlSfxKba
Ba57fRG18mjmvvvt4KaMTT6oimLM+rl8OsptTM5c3BYDaKYrdweRNuoh00SRpHGvnRQH
VGxYZywRhKkpMtyWLqZ6mA3YnFlNnXVTdB4vHcxKUil82mASjJNP5cIRvlmlvDyex32O
+1CRcr0370yTQQxAFbORfKtTKc85RJ9HjhNnqJxOHLvarJLXpoX8BSheFK6H6VLYfZ7n
ExRQ==
X-Gm-Message-State: AOAM5335U4UpiQrjw9XzF3rhm6pIhmYgeh6MGrYNTLF7P6ycLkH6lZ8U
t5bhPBl+wXsbCv+DmzWH6XDowO6MGYvYSeUrqY9xqUgV+VlpMA==
X-Google-Smtp-Source: ABdhPJy26EkjsTMoUGTG7vOy+V2Z4QpgG18D/dyicrDoMtifY5vAyZVeguJIr7CM86duVDepsFCJT24fiut7oG3EV3w=
X-Received: by 2002:a05:620a:210e:: with SMTP id
l14mr633623qkl.387.1611581139543;
Mon, 25 Jan 2021 05:25:39 -0800 (PST)
MIME-Version: 1.0
References: <34317129-8225-fb38-4ad3-e1b9ffed21fb@iecc.com>
<9c84fa50-d23c-a794-fc62-09788ac383a9@mtcc.com>
In-Reply-To: <9c84fa50-d23c-a794-fc62-09788ac383a9@mtcc.com>
From: Todd Herr <todd.herr@valimail.com>
Date: Mon, 25 Jan 2021 08:25:23 -0500
Message-ID: <CAHej_8mTaFo7aESFk4pHjbqbheriYPoAy6f+HhcE6ASVJSyViA@mail.gmail.com>
To: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005978bd05b9b979af"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/Se1FV2yA5CA-H9-7Z0t3vu16NIk>
Subject: Re: [dmarc-ietf] Tickets 98 and 99 -- fake reports are not a
problem and if they were authentication would not help
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: Mon, 25 Jan 2021 13:25:43 -0000
On Sun, Jan 24, 2021 at 9:53 PM Michael Thomas <mike@mtcc.com> wrote: > > On 1/24/21 6:29 PM, John R. Levine wrote: > > I realized why the arguments about whether to require authentication > > on reports are pointless. > > > A blatant assertion. The onus of proof is with people who say we should > accept information from unknown sources. Extraordinary claims require > extraordinary evidence. I have been doing security related stuff for > long enough to know that being humble in the face of adversaries is the > most prudent course. State actors can get involved when they figure they > can game things to their advantage. To be dismissive is complete hubris. > > I've spent several days thinking about these tickets, and for the life of me I can't see what the payoff might be for someone to forge a DMARC report. I suppose nominally there's a denial of service risk, where a bad actor could flood a rua or ruf mailbox with forged reports or just email in general, but that's going to exist whether or not the "reports" are DKIM-signed. My first question for aggregate reports would focus on the DKIM signing domain - Should it align with the RFC5322.From domain that sent the report, or with the org_name or email fields in the report_metadata bits in the XML itself? John has demonstrated that there's no alignment now in many cases between the domain generating reports and the domain(s) about which the reports are generated. You almost have to require that the signing domain align with the RFC5322.From domain, because DKIM validation is likely to be done by different infrastructure than does the report processing (see below) and the DKIM validation layer isn't likely to be able to read the reports, while the report processing layer may be a simple tool that doesn't care to do DKIM validation. About that, aggregate reports are meant to be machine-parsed, and in my own experience that's accomplished by running a cron job a couple times a day to process the rua mailbox. (Personally, I favored Mark Overmeer's perl stuff; open the mailbox, cycle through each message, strip off the attachment, unzip it, and pass it to the tools that John wrote to read the XML and store the results in a database, but I was working at a relatively small site.) If the message isn't crafted specifically to match the format mandated in the DMARC spec, it's not going to get processed; if the bad actor takes the time to properly format an aggregate report and forge it to appear to be from a given entity, what does the bad actor gain? If the report contains data showing illegitimate mail that's not authenticating, the target yawns. Best case for the bad guy, his report appears to contain legit data showing that the target is sending email that isn't passing authentication checks, and it causes someone at the target to try to chase down a mailflow that isn't really there. And then what? The bad actor could keep being a nuisance, but I suspect eventually he'd get bored, because he's not going to have any visibility into the results of his actions. As for forging failure reports, again what's in it for the actor doing the forging? If the faked failure report is crafted to appear to contain actionable data (something that's rare these days), the most likely responses to that are one of the following: - In the case of the failure report appearing to show a message that forges domain A's identity and originated from a network run by B, maybe it fosters ill will between A and B's abuse desk, with A providing evidence of forged mail being emitted by B and asking B to take action, and B saying "not our problem" - In the case of the failure report appearing to show an unauthenticated message sent by A, again it's another case of someone at A trying to chase down and fix a phantom mail flow. Unless our bad guy is playing a long game that I can't conceive of (and my imagination can be limited) then I don't see that there's any money in it for the bad guy, so I don't see why he'd bother to forge reports. What threats do you have in mind, Michael? -- *Todd Herr* | Sr. Technical Program Manager *e:* todd.herr@valimail.com *p:* 703.220.4153 This email and all data transmitted with it contains confidential and/or proprietary information intended solely for the use of individual(s) authorized to receive it. If you are not an intended and authorized recipient you are hereby notified of any use, disclosure, copying or distribution of the information included in this transmission is prohibited and may be unlawful. Please immediately notify the sender by replying to this email and then delete it from your system.
- [dmarc-ietf] Tickets 98 and 99 -- fake reports ar… John R. Levine
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Todd Herr
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Todd Herr
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Douglas Foster
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Murray S. Kucherawy
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Todd Herr
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… John Levine
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… John Levine
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Douglas Foster
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Douglas Foster
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… John Levine
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Todd Herr
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Alessandro Vesely
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Alessandro Vesely
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Alessandro Vesely
- [dmarc-ietf] reporting security requirements Michael Thomas
- Re: [dmarc-ietf] reporting security requirements Seth Blank
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… John R Levine
- Re: [dmarc-ietf] reporting security requirements Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Todd Herr
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Steven M Jones
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Michael Thomas
- Re: [dmarc-ietf] Tickets 98 and 99 -- fake report… Seth Blank