OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cti-cybox message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [cti-cybox] CybOX 3.0: File Object Refactoring


+1

From: <cti-cybox@lists.oasis-open.org> on behalf of Jason Keirstead <Jason.Keirstead@ca.ibm.com>
Date: Thursday, November 19, 2015 at 3:06 PM
To: John Anderson <janderson@soltra.com>
Cc: "cti-cybox@lists.oasis-open.org" <cti-cybox@lists.oasis-open.org>, Steve Cell <ikirillov@mitre.org>
Subject: Re: [cti-cybox] CybOX 3.0: File Object Refactoring

:)

So here is my main point - and maybe I am out on a limb but I don't think I am - when most people will be searching for an IOC using a file object, they will be usually be doing it by file name, *not* an absolute path, because if you are looking for an IOC it is likely able to manifest itself at many different paths - not to mention the various different top-level portions of a path that would vary from reporter to reporter. This makes searching by path far less likely than by name. So if we accept that assumption - then we should make it possible to do such a query without resorting to globbing or regex (both of which is expensive).

-
Jason Keirstead
Product Architect, Security Intelligence, IBM Security Systems
www.ibm.com/security | www.securityintelligence.com

Without data, all you are is just another person with an opinion - Unknown


Inactive hide details for John Anderson ---11/19/2015 03:55:42 PM---File globs are friendlier than regex. [�John Anderson ---11/19/2015 03:55:42 PM---File globs are friendlier than regex. [�Ì

From: John Anderson <janderson@soltra.com>
To: Jason Keirstead/CanEast/IBM@IBMCA, "Kirillov, Ivan A." <ikirillov@mitre.org>
Cc: "cti-cybox@lists.oasis-open.org" <cti-cybox@lists.oasis-open.org>
Date: 11/19/2015 03:55 PM
Subject: Re: [cti-cybox] CybOX 3.0: File Object Refactoring





File globs are friendlier than regex. 😊

Some examples: https://github.com/cyberdelia/django-pipeline/issues/208





From: cti-cybox@lists.oasis-open.org <cti-cybox@lists.oasis-open.org> on behalf of Jason Keirstead <Jason.Keirstead@ca.ibm.com>
Sent:
Thursday, November 19, 2015 2:53 PM
To:
Kirillov, Ivan A.
Cc:
cti-cybox@lists.oasis-open.org
Subject:
Re: [cti-cybox] CybOX 3.0: File Object Refactoring

- regex searching is extremely expensive over large amounts of data, so we should try to avoid the need for software to do it during design if possible.

- I was more referring to this optional part of the proposal
      To make it easier to deal with file names on different operating systems, we believe that it may make sense to have a special type that breaks up the file name/path into a list of delimited components:
      FileName
Field
Datatype
Description
delimiter string The delimiter used in the file name/path string.
components list A list of strings that represent the components of the file name/path string, when split using the delimiter specified in the 'delimiter' field. A value of 'null' at the end of the list specifies a directory.
If on one system my file is at C:\Windows\explorer.exe and on another it is C:\MyUberBox\Infected\explorer.exe, then on one box the file name is in field "2" and the other in field "3".. this makes it hard to filter on just a file name...



-
Jason Keirstead
Product Architect, Security Intelligence, IBM Security Systems
www.ibm.com/security | www.securityintelligence.com

Without data, all you are is just another person with an opinion - Unknown


"Kirillov, Ivan A." ---11/19/2015 03:45:06 PM---That’s a fair point, Jason – my only counter-argument is that most queries such as these can easily

From:
"Kirillov, Ivan A." <ikirillov@mitre.org>
To:
Jason Keirstead/CanEast/IBM@IBMCA
Cc:
"cti-cybox@lists.oasis-open.org" <cti-cybox@lists.oasis-open.org>
Date:
11/19/2015 03:45 PM
Subject:
Re: [cti-cybox] CybOX 3.0: File Object Refactoring
Sent by:
<cti-cybox@lists.oasis-open.org>




That’s a fair point, Jason – my only counter-argument is that most queries such as these can easily be expressed with a regular _expression_.

E.g., for "find all observables that <match other params> and are explorer.exe” you’d have:

file_name.regex = "explorer\.exe$”

As far as John’s point about file extensions, I’d completely agree that they’re largely superfluous today. It’s also worth noting that our concept of “extensions” has to do with extending the File Object with context/domain-specific data and NOT with regards to “.dll”, “.exe” and so forth. Perhaps we need another name for it :)

Regards,
Ivan

From:
Jason Keirstead
Date:
Thursday, November 19, 2015 at 2:37 PM
To:
Ivan Kirillov
Cc:
"cti-cybox@lists.oasis-open.org"
Subject:
Re: [cti-cybox] CybOX 3.0: File Object Refactoring
My only comment - and I have not decided where I sit on the fence - is that if you remove "file extension" and "file name" properties, and consolidate them all into one value called "path", this will make filtering and QUERY more difficult against your data.

IE

"find all observables that <match other params> and are DLL" or
"find all observables that <match other params> and are explorer.exe"




-
Jason Keirstead
Product Architect, Security Intelligence, IBM Security Systems
www.ibm.com/security | www.securityintelligence.com

Without data, all you are is just another person with an opinion - Unknown


"Kirillov, Ivan A." ---11/19/2015 01:20:31 PM---All, As Trey mentioned in his previous email, we’ve been thinking about how to refactor and fix the

From:
"Kirillov, Ivan A." <ikirillov@mitre.org>
To:
"cti-cybox@lists.oasis-open.org" <cti-cybox@lists.oasis-open.org>
Date:
11/19/2015 01:20 PM
Subject:
[cti-cybox] CybOX 3.0: File Object Refactoring
Sent by:
<cti-cybox@lists.oasis-open.org>





All,

As Trey mentioned in his previous email, we’ve been thinking about how to refactor and fix the issues associated with the File Object (and its subclasses). Accordingly, we’ve put together a page that outlines the existing issues and our ideas on addressing them:
https://github.com/CybOXProject/schemas/wiki/CybOX-3.0:-File-Object-Refactoring

We’ll be discussing this during today’s call, but we’d love to get your input here (and/or on Slack) as well – generally on your feelings with regards to these changes, but also on:
                • Are there any other issues with the File Object and its subclasses that we’re missing?
                • Does the concept of domain-specific/context-specific extension points make sense?
                                • Are there any other default extensions that we should be adding?
                                • Are there any other properties for the default extensions that we should be adding?
Also, we’d like to highlight that we’re still thinking through some of the implications of this approach (how to manage/version/update extensions, etc.), so consider this a living document.

Regards,
Ivan and Trey


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[attachment "graycol.gif" deleted by Jason Keirstead/CanEast/IBM]





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]