Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Common Property to Identify Kestrel Objects #15

Open
brettforbes opened this issue May 10, 2023 · 1 comment
Open

No Common Property to Identify Kestrel Objects #15

brettforbes opened this issue May 10, 2023 · 1 comment

Comments

@brettforbes
Copy link
Contributor

One massive problem with the Kestrel object definitions is that there is no easy way to determine if an object is a Kestrel object or not.

While there are many issues with the Mitre ATT&CK Stix mapping, one small relief is that every object carries the property describing the ATT&CK version. In fact there are a few common properties carried by every ATT&CK object (https://github.com/mitre-attack/attack-stix-data/blob/master/USAGE.md#extensions-of-the-stix-spec).

This means that testing for an ATT&CK object, for special handling, can be accomplished by a single line of code, like:
attack_object = False if not sdo.get("x_mitre_version", False) else True

But how to know if a file or a process object is kestrel or not???? Is there a single test that can determine if an object is Kestrel??

This seems unecessarily hard. Can you insert a common property on every Kestrel object that can be tested for (e.g. some version number)?

@subbyte
Copy link
Member

subbyte commented May 10, 2023

I think we need to first distinguish between objects as I described in #11 (comment).

For Kestrel-related objects, we may want to warp it into a higher-level object (putting it into a XML/JSON object and add meta-data to it) if a higher-level program/application wants to use it. For simplicity, Kestrel huntflows on disk is stored with file name suffix .hf as described in the Kestrel doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants