Re: [mile] Clarifying iodef:SoftwareType (Issue #47)

"Cheikes, Brant A." <bcheikes@mitre.org> Wed, 25 March 2015 13:00 UTC

Return-Path: <bcheikes@mitre.org>
X-Original-To: mile@ietfa.amsl.com
Delivered-To: mile@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9BC431ACEAA for <mile@ietfa.amsl.com>; Wed, 25 Mar 2015 06:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.91
X-Spam-Level:
X-Spam-Status: No, score=-0.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_BACKHAIR_34=1, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 q-jbg035GU0d for <mile@ietfa.amsl.com>; Wed, 25 Mar 2015 06:00:24 -0700 (PDT)
Received: from smtpvbsrv1.mitre.org (smtpvbsrv1.mitre.org [198.49.146.234]) by ietfa.amsl.com (Postfix) with ESMTP id 59D761ACEA4 for <mile@ietf.org>; Wed, 25 Mar 2015 06:00:24 -0700 (PDT)
Received: from smtpvbsrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id C87E752E0FC; Wed, 25 Mar 2015 09:00:23 -0400 (EDT)
Received: from IMCCAS01.MITRE.ORG (imccas01.mitre.org [129.83.29.78]) by smtpvbsrv1.mitre.org (Postfix) with ESMTP id 8A23352EB8C; Wed, 25 Mar 2015 08:59:21 -0400 (EDT)
Received: from IMCMBX04.MITRE.ORG ([169.254.4.141]) by IMCCAS01.MITRE.ORG ([129.83.29.68]) with mapi id 14.03.0224.002; Wed, 25 Mar 2015 08:59:21 -0400
From: "Cheikes, Brant A." <bcheikes@mitre.org>
To: Sean Turner <turners@ieca.com>, "Roman D. Danyliw" <rdd@cert.org>
Thread-Topic: [mile] Clarifying iodef:SoftwareType (Issue #47)
Thread-Index: AdBmbGlfVRNHm8nqQ0imwwEEfCYTdQAP7vsAAA6/crEACxQzAAAHEIeg
Date: Wed, 25 Mar 2015 12:59:20 +0000
Message-ID: <808A833A2D415D41996B1CF760901A0A3415CFDB@IMCMBX04.MITRE.ORG>
References: <359EC4B99E040048A7131E0F4E113AFCD93D2DE8@marathon>, <A7CB3F92-1F1E-4203-A241-88CE84F9F75E@ieca.com> <D040ACC8-0537-4D01-AC1A-75DA67EAF512@cert.org> <25CCFBDD-02E8-4A29-9700-6144EC7647B3@ieca.com>
In-Reply-To: <25CCFBDD-02E8-4A29-9700-6144EC7647B3@ieca.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.140.19.249]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/mile/g6QHQeCqx0xhDa3uTaVVHMEP7uU>
Cc: "mile@ietf.org" <mile@ietf.org>
Subject: Re: [mile] Clarifying iodef:SoftwareType (Issue #47)
X-BeenThere: mile@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Managed Incident Lightweight Exchange, IODEF extensions and RID exchanges" <mile.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mile>, <mailto:mile-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mile/>
List-Post: <mailto:mile@ietf.org>
List-Help: <mailto:mile-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mile>, <mailto:mile-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Mar 2015 13:00:26 -0000

Sorry for jumping late into the SWID conversation, but I think I can help here. In the past I was the MITRE lead for CPE, and more recently I've been working with TagVault and various US Government stakeholders interested in and/or considering promoting use of SWID tags.

The group should be aware that a major revision to the ISO/IEC 19770-2 SWID tag specification is going through final balloting within ISO. The new standard should be available in June or July, with a small chance of a glitch delaying release to the fall. The 2015 version will be *much* better than the 2009 version, and is worth waiting for.

Regarding the question, "Can you get a SWID for free?" Anyone can generate a SWID tag, of course; you just need to validate against the SWID schema. ISO charges a fee to obtain a copy of the actual specification document, and this seems to greatly irritate some people, but if you can get past that, all you need is a copy of the spec and the XSD and you're good to go.

TagVault is trying to develop a self-sustaining business model (they're a non-profit chartered under IEEE ISTO) in which they would provide a fee-based tag certification service. But this certification program is not really in operation, and would always be optional. The main point of certification is to ensure that there has been some basic quality control and data normalization of the supplied tag data elements (a kind of "good housekeeping" seal of approval), and allow an independent third-party to digitally sign a tag and its data elements to provide a cryptographic tamper indicator. But the bottom line is: no fee required to produce or consume a valid SWID tag.

Regarding CPE<->SWID mapping: In fact, I worked with TagVault to develop such a mapping for the 2009-era tag; see: 
http://tagvault.org/2012/04/23/cpe-integration/

There is no "perfect" mapping because many of the CPE components (e.g., target_sw, target_hw, language) have never been well defined or even widely used. But we came up with a basic plan for populating a CPE name from a subset of the SWID tag data elements, and also for using elements of a CPE name to populate a basic SWID tag. But that's by no means an ideal solution, only a stopgap. I won't bore this audience with all the details, but the requirements on CPE name components and SWID tag data elements simply do not align perfectly, so using a SWID tag as a source of a CPE name (or vice versa) will leave you with a less than ideal (in terms of data quality and normalization) CPE name or SWID tag.

I think that's a long enough message for one day. I hope that helped, and I'll try to stay tuned in case other related questions arise.

Cheers,
/Brant

Brant A. Cheikes
The MITRE Corporation
202 Burlington Road, M/S M300
Bedford, MA 01730-1420
Tel. 781-271-7505; Cell. 617-694-8180; Fax. 781-271-2352

-----Original Message-----
From: mile [mailto:mile-bounces@ietf.org] On Behalf Of Sean Turner
Sent: Wednesday, March 25, 2015 7:51 AM
To: Roman D. Danyliw
Cc: mile@ietf.org
Subject: Re: [mile] Clarifying iodef:SoftwareType (Issue #47)

On Mar 25, 2015, at 05:33, Roman D. Danyliw <rdd@cert.org> wrote:

> Hello Sean!
> 
> Response inline ...
> 
>> On Mar 24, 2015, at 6:31 PM, Sean Turner <turners@ieca.com> wrote:
>> 
>> Roman,
>> 
>> Clarifying questions:
>> 1. Can you get a SWID for free?
> 
> Yes.
> 
>> 2. Is there a mapping between CPE <-> SWID?
> 
> There isn't one of which I am aware. Does anyone know differently?
> 
> Roman

Thanks, my thinking then is:

1. It seems kind of odd to force all of those folks with CPEs already to switch, i.e., it's too onerous and frankly unlikely to happen.

2. It seems odd to force new folks to a USG site, even if it is a defacto standard in some sense, especially when there's a "free" alternative.

3. We could do a mapping, but if there's a away to avoid it then maybe we should.

Seems like of the options you listed below #3 or #4 with a slant towards #4, because it's already defined, is the way to go here.

spt

>> spt
>> 
>>> On Mar 24, 2015, at 14:55, Roman D. Danyliw <rdd@cert.org> wrote:
>>> 
>>> Good afternoon!
>>> 
>>> One of the remaining issues with rfc5070bis is to clarify the iodef:SoftwareType.  See Issue #47 [1].  We discussed this impasse in Honolulu [2].
>>> 
>>> --[ snip discussion from IETF 91 ]--
>>> Q1: (Roman Danyliw) Last mailing list discussion on clarifying iodef:Software produced no result.  What does the group want to do?
>>> A: (David Waltermire) Extensibility is key dimension.  Consider just using swid and reference the ISO standard.  Alternatively, redefine the class to be AdditionalData.
>>> A: (Adam Monteville) Reiterated the importance of extensibility
>>> A: Isn't swid support already in the spec?
>>> A: (Roman Danyliw) There is an attribute named "swid" but this comes from RFC5070 which just happened to use this name without reference to the ISO standard.
>>> A: (Takeshi Takahashi) IODEF-SCI can embed SWID and CPE as well, but the context is different; it is added under AdditionalData. If we need the data here, we could make a model here like the SCI draft does.
>>> --[ end snip ]--
>>> 
>>> The four options mentioned to date (not just at IETF 91) are:
>>> 
>>> (1) Use OVAL [3]
>>> 
>>> (2) Use swid referencing ISO/IEC 19770-2:2009 (with XML schema at [4])
>>> 
>>> (3) Don't define it and use AdditionalData
>>> 
>>> (4) Support mutiple techniques to reference software in the same way  (like IODEF-SCI and ENUM)
>>> 
>>> Approach (1) and (2) are require little further explanation.  Hence, let me describe (3) in more detail.
>>> 
>>> The thinking would be to create an IANA registry to maintain a list of external references, in this case application reference techniques (e.g., swid and CPE), just like IODEF-SCI and ENUM current do.  The class using this technique might look as follows:
>>>           +---------------------+
>>>           | Application         |
>>>           +---------------------+
>>>           | ENUM SpecID         |<>--(0..*)-[ SpecData ]
>>>           | STRING ext-SpecID   |
>>>           |                     |
>>>           +---------------------+
>>> 
>>> ** SpecID would map to an IANA registry of application reference techniques
>>> ** ext-SpecID would allow for private enumerated value extensions as currently done in the draft
>>> ** SpecData would be defined as follows allowing both XML or atomic data types such as a string.
>>>   <xs:complexType name="AppIdType" mixed="true">  
>>>    <xs:sequence>
>>>      <xs:any namespace="##any" processContents="lax"
>>>              minOccurs="0" maxOccurs="unbounded"/>
>>>    </xs:sequence>
>>> 
>>> In the same way that the general purpose ENUM approach was useful to SACM and MILE, SACM has also expressed interest in a common approach on this class too.
>>> 
>>> What does the community feel is the correct approach?
>>> 
>>> Roman
>>> 
>>> [1] http://trac.tools.ietf.org/wg/mile/trac/ticket/47
>>> [2] http://www.ietf.org/proceedings/91/minutes/minutes-91-mile
>>> [3] https://nvd.nist.gov/cpe.cfm
>>> [4] http://standards.iso.org/iso/19770/-2/2009/schema.xsd
>>> _______________________________________________
>>> mile mailing list
>>> mile@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mile
>> 

_______________________________________________
mile mailing list
mile@ietf.org
https://www.ietf.org/mailman/listinfo/mile