mitreattack-python icon indicating copy to clipboard operation
mitreattack-python copied to clipboard

[Request] Build a layer from a list of techniques

Open 3isenHeiM opened this issue 1 year ago • 2 comments

Is your feature request related to a problem?

I would find it very useful to be able to build a NavLayer based on a Techniques list.

Describe the solution you'd like

As input, this script would take techniques (and some annotations or scoring), and it would then build a json from them.|

Describe alternatives you've considered

I'm experiencing the possibilities within the library but I fear it will requires crafting the JSON myself based on this : https://github.com/mitre-attack/attack-navigator/blob/develop/layers/LAYERFORMATv4_1.md#example

3isenHeiM avatar Nov 24 '23 12:11 3isenHeiM

Thanks for the suggestion! This sounds like something that would be useful to multiple people, but is a lower priority at the moment. Hopefully we should be able to get to it in the next few months!

jondricek avatar Dec 06 '23 20:12 jondricek

Hello everyone,

I developed a Python script named "attack_layer_builder" that might align well with what’s being discussed here. The script allows users to input a list of technique IDs (from a CSV or manually) and generates a NavLayer JSON file ready for the MITRE ATT&CK Navigator. This seems to address the core functionality desired in this issue.

You can find the script and more details here: https://github.com/markmackensen/attack_layer_builder

I'd be thrilled to get your thoughts on this and discuss how it might be integrated or refined to better serve the community's needs.

Thanks!

markmackensen avatar May 07 '24 16:05 markmackensen