[Ietf-dkim] Re: Malicious Modification was: My concerns

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 18 April 2025 21:30 UTC

Return-Path: <superuser@gmail.com>
X-Original-To: ietf-dkim@mail2.ietf.org
Delivered-To: ietf-dkim@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B2A481E50077 for <ietf-dkim@mail2.ietf.org>; Fri, 18 Apr 2025 14:30:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q14NZsIrOqiO for <ietf-dkim@mail2.ietf.org>; Fri, 18 Apr 2025 14:30:53 -0700 (PDT)
Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 601061E50070 for <ietf-dkim@ietf.org>; Fri, 18 Apr 2025 14:30:53 -0700 (PDT)
Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-ac6e8cf9132so411486666b.2 for <ietf-dkim@ietf.org>; Fri, 18 Apr 2025 14:30:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745011852; x=1745616652; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZENdouvxmcayFqO+KF2O5kR+Eh+c/BJP+m40A0OSUuw=; b=Uqe2zOKvnKJDzlfVXBRv5JhssHpJRlKd8sRtgNKe8FoCOn77fXK8uKtRTzgCXZgbhi 4cF+kUxK7rYA0s2zGCGUGFkt+nZYpk6cLMwlG0+wEwOPwGUNKpoWHgv/j4GcAZ8BEmwJ g/pnoosrwrFJZ6AN+vKz8XlWWAgwc1wTRdw+0Efxy0XvTGExtKYnkp5R33lOAo2ne6Oj Z5usqoCj97lzs6+C1UsTsSqJsAORfZevxdqsJnpXZr6O0Xo0hc18ocGAQLNGMulvzKIx D2O+Gi7A0LyYBGXU8x3+taNU2DQ2b4owfzGRo0GeVYeKMyNi/SEqhF3bXYkhUqafSc/t Y+Ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745011852; x=1745616652; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZENdouvxmcayFqO+KF2O5kR+Eh+c/BJP+m40A0OSUuw=; b=adaIQBee0wVicpG5eTpLQ76dk2Kw45Zo7ptT5ngNBmSFsjSl5PrC0ZbP6y6IQIeycN 32UFb8Fz1CbDJIWIJFxvyPhaUn/B69g3CyLMZKzcvbFYnktWC+zChol5j7U9ZDC2mCAb 8uRU9lWf4ePVmtEh9KWg6pktZD9QFJHGVo8L2s9/CpLYuXYaRNLw0YoyTPiVfoduoHo6 s9MVzTfDPYq5+MeN2km8IpSnwMci4lVkxn8UH9hT8JFnOggqAovofg0V4o4I+hxkPSNp Fgqs+FP21vrMB8MUGcQgi0O0z1Clhw7QEQUI2SoJkvJ94AL/NQGVewE9BBf9WOdfvGVP U6OA==
X-Gm-Message-State: AOJu0Yz/3UNXufR36kGPUVa0MKfOCAVXfbMWSEq7HARy7x/WTc66DUlv rGtnhNS4QHAdw2Vm1jSdz9+EegNEHQ49a+6aEcKlCI8uOz/xAuVG53Me0uV7rWPd34hTrAhFM3W S8edQSYYr2nCuCBKtO8SYvlWojGo=
X-Gm-Gg: ASbGnctcBTv85DJFjgXh+w3yTYQPiQ/rkH2Qzp8CKWGQ44bqRqkULT0JPCosMGcY3bN hC8SioB4afOAPjs+Uzf1sxma9ZQt3HjK5NfizPrYfZ+sYRcHKiktncRNqaEVIPektd0Y6mp6B0A c+x6aR8HrBkT17A/JszyNbr1BOm75TUCjRqHwxYQ==
X-Google-Smtp-Source: AGHT+IEDpOWYweqfuWONCSyB0GKPEvBUNFjsM4BbhSC4lFBXK6dxaIec0bBPz2IJlp9q6JVW08rdk+JF1TUzWJAI/+Q=
X-Received: by 2002:a17:907:868d:b0:acb:4f4a:cbd0 with SMTP id a640c23a62f3a-acb74b364bemr411668966b.14.1745011852080; Fri, 18 Apr 2025 14:30:52 -0700 (PDT)
MIME-Version: 1.0
References: <eb34b668-742b-4d31-af37-fed99f6f6f10@fahq2.com> <zN0v1CDB$7$nFA5D@highwayman.com> <bb288a78-c7b4-4455-b9d5-fbc2e73d8f32@fahq2.com> <loa6cVG78$$nFAY3@highwayman.com> <ea4f514b-cdbd-467a-b90c-6c741b758939@tana.it>
In-Reply-To: <ea4f514b-cdbd-467a-b90c-6c741b758939@tana.it>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Fri, 18 Apr 2025 14:30:39 -0700
X-Gm-Features: ATxdqUG_jE3dejSrY57TPDoC3_KJ4ULEyqq-Z5DxVZqkvANaKdruKrkGyf1O0KQ
Message-ID: <CAL0qLwa8RXBnTooDwq26rn-_+xixE9mNUwovHJz6E-Lz_3fOtg@mail.gmail.com>
To: Alessandro Vesely <vesely@tana.it>
Content-Type: multipart/alternative; boundary="0000000000009279e20633143b82"
Message-ID-Hash: AXX4AIQV64QMD57SMVN2BZQGJTJDV5QL
X-Message-ID-Hash: AXX4AIQV64QMD57SMVN2BZQGJTJDV5QL
X-MailFrom: superuser@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ietf-dkim.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ietf-dkim@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ietf-dkim] Re: Malicious Modification was: My concerns
List-Id: IETF DKIM List <ietf-dkim.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-dkim/HM8T9KHkcajSpvBeGyd5H0bnhvQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-dkim>
List-Help: <mailto:ietf-dkim-request@ietf.org?subject=help>
List-Owner: <mailto:ietf-dkim-owner@ietf.org>
List-Post: <mailto:ietf-dkim@ietf.org>
List-Subscribe: <mailto:ietf-dkim-join@ietf.org>
List-Unsubscribe: <mailto:ietf-dkim-leave@ietf.org>

On Fri, Apr 18, 2025 at 11:10 AM Alessandro Vesely <vesely@tana.it> wrote:

> > Indeed so, but reputation systems (because once again to state the
> > obvious, protocols cannot prevent bad email, but they can provide tools
> > for handling it efficiently) may take the view that a brand-new identity
> > that has acted as an intermediary to alter some email is not especially
> > trustworthy...
>
> This position leads to ARC-style authentication, where one must trust that
> the
> changes are benign.
>
> DKIM2 has change tracking.  Can't we tell whether a change is evil or not?
>

I'd put that question back to you: Short of pervasive deployment of RFC
3514, how does one classify, programmatically, whether a message mutation
is evil?  I can find a way to abuse each of the examples you provided.

We need to be careful here to acknowledge that identifying what mutations
might be acceptable isn't a matter of identifying "evil" so much as it is
risk mitigation.

Beyond that, here be dragons.

-MSK