[Gen-art] Gen-ART review of draft-ietf-marf-redaction-08

<david.black@emc.com> Fri, 03 February 2012 18:57 UTC

Return-Path: <david.black@emc.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2466A21F853D; Fri, 3 Feb 2012 10:57:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.412
X-Spam-Level:
X-Spam-Status: No, score=-109.412 tagged_above=-999 required=5 tests=[AWL=1.187, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LIQjTD0d3glL; Fri, 3 Feb 2012 10:57:17 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 3BE0C21F8476; Fri, 3 Feb 2012 10:57:16 -0800 (PST)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q13Iv3ln014116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Feb 2012 13:57:06 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Fri, 3 Feb 2012 13:56:42 -0500
Received: from mxhub12.corp.emc.com (mxhub12.corp.emc.com [10.254.92.107]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q13IufHE016263; Fri, 3 Feb 2012 13:56:41 -0500
Received: from mx14a.corp.emc.com ([169.254.1.94]) by mxhub12.corp.emc.com ([10.254.92.107]) with mapi; Fri, 3 Feb 2012 13:56:40 -0500
From: david.black@emc.com
To: ietf@cybernothing.org, msk@cloudmark.com, gen-art@ietf.org, ietf@ietf.org
Date: Fri, 03 Feb 2012 13:56:39 -0500
Thread-Topic: Gen-ART review of draft-ietf-marf-redaction-08
Thread-Index: AczQCujbMXhqirD5Sk6EB1sS2KVtOQG/Hm+wAudY0sA=
Message-ID: <7C4DFCE962635144B8FAE8CA11D0BF1E05AD13B873@MX14A.corp.emc.com>
References: <7C4DFCE962635144B8FAE8CA11D0BF1E05A7B80D63@MX14A.corp.emc.com> <7C4DFCE962635144B8FAE8CA11D0BF1E05A7CF1028@MX14A.corp.emc.com>
In-Reply-To: <7C4DFCE962635144B8FAE8CA11D0BF1E05A7CF1028@MX14A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: presnick@qualcomm.com, marf@ietf.org
Subject: [Gen-art] Gen-ART review of draft-ietf-marf-redaction-08
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Feb 2012 18:57:18 -0000

The -08 version is a significant improvement that aligns the draft's
recommendations on mechanisms for redaction and anonymization with the
situation-dependent levels of security that are appropriate for those
purposes.

idnits 2.12.13 didn't find anything.

The -08 version is ready for publication as a Standards Track RFC.

Thanks,
--David


> -----Original Message-----
> From: Black, David
> Sent: Thursday, January 19, 2012 7:10 PM
> To: ietf@cybernothing.org; Murray S. Kucherawy; gen-art@ietf.org; ietf@ietf.org
> Cc: marf@ietf.org; presnick@qualcomm.com; Black, David
> Subject: Gen-ART review of draft-ietf-marf-redaction-05
> 
> Based on discussion with the authors, the -05 version of this draft resolves the
> issues raised in the Gen-ART review of the -04 version.  An important element of
> the approach taken to issue [1] has been to explain why the security requirements
> for redaction are significantly weaker than the strength of the secure hashes
> that are suggested by the draft.
> 
> Thanks,
> --David
> 
> > -----Original Message-----
> > From: Black, David
> > Sent: Tuesday, January 10, 2012 9:44 PM
> > To: ietf@cybernothing.org; Murray S. Kucherawy; gen-art@ietf.org; ietf@ietf.org
> > Cc: Black, David; marf@ietf.org; presnick@qualcomm.com
> > Subject: Gen-ART review of draft-ietf-marf-redaction-04
> >
> > I am the assigned Gen-ART reviewer for this draft. For background on Gen-ART, please
> > see the FAQ at <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
> >
> > Please resolve these comments along with any other Last Call comments you may receive.
> >
> > Document: draft-ietf-marf-redaction-04
> > Reviewer: David L. Black
> > Review Date: January 10, 2012
> > IETF LC End Date: January 18, 2011
> > IESG Telechat Date: January 19, 2011
> >
> > Summary: This draft is on the right track but has open issues, described in the review.
> >
> > This draft specifies a method for redacting information from email abuse reports
> > (e.g., hiding the local part [user] of an email address), while still allowing
> > correlation of the redacted information across related abuse reports from the same
> > source. The draft is short, clear, and well written.
> >
> > There are two open issues:
> >
> > [1] The first open issue is the absence of security guidance to ensure that this
> > redaction technique effectively hides the redacted information.  The redaction
> > technique is to concatenate a secret string (called the "redaction key") to the
> > information to be redacted, apply "any hashing/digest algorithm", convert the output
> > to base64 and use that base64 string to replace the redacted information.
> >
> > There are two important ways in which this technique could fail to effectively hide
> > the redacted information:
> > 	- The secret string may inject insufficient entropy.
> > 	- The hashing/digest algorithm may be weak.
> >
> > To take an extreme example, if the secret string ("redaction key") consists of a
> > single ASCII character, and a short email local part is being redacted, then the
> > output is highly vulnerable to dictionary and brute force attacks because only 6 bits
> > of entropy are added (the result may look secure, but it's not).  Beyond this extreme
> > example, this is a potentially real concern - e.g., applying the rule of thumb that
> > ASCII text contains 4-5 bits of entropy per character, the example in Appendix A
> > uses a "redaction key" of "potatoes" that injects at most 40 bits of entropy -
> > is that sufficient for email redaction purposes?
> >
> > To take a silly example, if a CRC is used as the hash with that sort of short input,
> > the result is not particularly difficult to invert.
> >
> > I suggest a couple of changes:
> > 1) Change "any hashing/digest algorithm" to require use of a secure hash, and
> > 	explain what is meant by "secure hash" in the security considerations section.
> > 2) Require a minimum length of the "redaction key" string, and strongly suggest
> > 	(SHOULD) that it be randomly generated (e.g., by running sufficient output
> > 	of an entropy-rich random number generator through a base64 converter).
> >
> > For the latter change, figure out the amount of entropy that should be used
> > for redaction - the recommended string length will be larger because printable
> > ASCII is not entropy-dense (at best it's good for 6 bits of entropy in each
> > 8-bit character, and human-written text such as this message has significantly
> > less).
> >
> > From a pure security perspective, use of HMAC with specified secure hashes
> > (SHA2-family) and an approach of hashing the "redaction key" down to a binary
> > key for HMAC would be a stronger approach. I suggest that authors consider
> > approach, but  there may be practical usage concerns that suggest not adopting it.
> >
> > [2] The second open issue is absence of security considerations for the redaction
> > key.  The security considerations section needs to caution that the redaction key
> > is a secret key that must be managed and protected as a secret key.  Disclosure
> > of a redaction key removes the redaction from all reports that used that key.
> > As part of this, guidance should be provided on when and how to change the
> > redaction key in order to limit the effects of loss of secrecy for a single
> > redaction key.
> >
> > Editorial Nit: I believe that "anonymization" is a better description of what
> > this draft is doing (as opposed to "redaction"), particularly as the result is
> > intended to be correlatable via string match across reports from the same source.
> >
> > idnits 2.12.13 didn't find any nits.
> >
> > Thanks,
> > --David
> > ----------------------------------------------------
> > David L. Black, Distinguished Engineer
> > EMC Corporation, 176 South St., Hopkinton, MA  01748
> > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > david.black@emc.com        Mobile: +1 (978) 394-7754
> > ----------------------------------------------------