OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.29k stars 930 forks source link

Ability to view, easily export samples of malware #5698

Open securitiz opened 8 months ago

securitiz commented 8 months ago

Use case

A common question is "what samples of do we have?" - this enables threat hunting, and proper tracking of malware samples.

The proper way to create a relationship between a sample and the Malware object is: Malware object-> sample -> File object. This creates a nested relationship

While I understand that STIX differentiates between nested and regular relationships, to the user this is confusing (I reference this here)

In this case, the issue becomes that when creating a sample relationship, the file object isn't easily accessible or exportable in the Malware object's Knowledge view. It's not listed as an observable of the Malware. It's referenced in the Overview under "Nested Objects" - this list can't be exported. In my view, this should be moved to the Knowledge page.

Current Workaround

Don't use "sample" relationships, and use the more generic "related to" relationship

Proposed Solution

Slowly get rid of the distinction in the UX between nested and regular relationships

In the more immediate term - ensure that Files that have a "sample" relationship to a Malware show up in the Malware's list of Observables (found in the Malware's Knowledge page)

Additional Information

image

Shows that we have a sample of the Cactus malware. It's in the Nested Objects under Overview - the file can't be exported from this view

image

Shows that despite the fact that we have a sample, the Knowledge view shows no observables. The same is true for "Related entities". There is no way to easily view and export a list of all samples of a malware object

If the feature request is approved, would you be willing to submit a PR?

Yes / No (Help can be provided if you need assistance submitting a PR)

nino-filigran commented 8 months ago

@securitiz just to make sure we're thinking in the correct way here:

securitiz commented 8 months ago

Use case:

Missing functionality:

Export use case:

nino-filigran commented 8 months ago

Thanks for all the details, this is really helpful. There's definitively something missing here, we'll update the ticket when we'll work on this.