center-for-threat-informed-defense / attack-flow

Attack Flow helps executives, SOC managers, and defenders easily understand how attackers compose ATT&CK techniques into attacks by developing a representation of attack flows, modeling attack flows for a small corpus of incidents, and creating visualization tools to display attack flows.
https://ctid.io/attack-flow
Apache License 2.0
527 stars 84 forks source link

Import STIX Attack Patterns #55

Open sheetlaand opened 1 year ago

sheetlaand commented 1 year ago

Hello, The project is really interesting ! To be honest, I could already see myself confronting my entire CTI database with this project, in order to convert my data from lists to graphs. Knowing that this quote is positioned as a preamble to the Project Overview, I thought it would be possible to import my TTP lists automatically, and then finish the graphs manually (in an 80/20 approach).

However, I have not found how to import a STIX bundle directly into the Builder engine. I'm obviously thinking of a classic STIX bundle, i.e. not containing the custom ATT&CK objects, like the APT1 bundle: https://github.com/oasis-open/cti-documentation/blob/main/examples/example_json/apt1.json

Am I doing something wrong or is it not possible to import such bundles at this time? My database contains 300+ STIX bundles, with the TTPs defined in lists. Importing each bundle manually will take me forever, knowing that it takes between 20 and 40 TTPs each time.

mehaase commented 1 year ago

Hi, it is not possible to import STIX bundles at this time (other than native Attack Flow bundles), but this is an interesting idea. Do you have any STIX bundles that you can share, either here on GitHub or directly with me over email? That would be helpful for us to implement this feature.

sheetlaand commented 1 year ago

Hi @mehaase, of course I can share with you several STIX Bundles. To start, you can find a valid STIX bundle in the link shared above, but also in the links below:

Is it enough for you to begin the tests ? Keep me inform :) Regards,