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

feat: add RuleTitle tomitre-attack-navigator.json #82

Merged
merged 4 commits into from Dec 30, 2023

Conversation

fukusuket
Copy link
Collaborator

@fukusuket fukusuket commented Dec 27, 2023

What Changed

  • related: Visualize TTPs in ATT&CK Navigator #76
  • added RuleTile to comment field.
    • It would be better for the user to be able to check on ATT&CK Navigator which rule the techniqueID was detected by.
      example:
{
  "name": "Hayabusa detection result heatmap",
  "versions": {
    "attack": "14",
    "navigator": "4.9.1",
    "layer": "4.5"
  },
  "domain": "enterprise-attack",
  "description": "Hayabusa detection result heatmap",
  "techniques": [
    {
      "color": "#fd8d3c",
      "techniqueID": "T1070.006",
      "comment": "Unauthorized System Time Modification"
    },
    {
      "color": "#fd8d3c",
      "techniqueID": "T1098",
      "comment": "A Member Was Added to a Security-Enabled Global Group"
    }
   ]
}

Test

Environment

  • OS: macOS Sonoma version 14.0
  • Hayabusa v2.12.0
  • Nim: 2.0.0

Test

hayabusa-sample-evtx's result

./takajo ttp-visualize -t timeline.jsonl
...
Started the TTP Visualize command.
This command extracts TTPs and creates a JSON file to visualize in MITRE ATT&CK Navigator.

Counting total lines. Please wait.
Total lines: 32317

100%|█████████████████████████| 32317/32317 [ 0.8s< 0.0s,  45.92k/sec]

Saved file: mitre-attack-navigator.json (1.50 MB)

Elapsed time: 0 hours, 0 minutes, 0 seconds
スクリーンショット 2023-12-27 23 25 32

I would appreciate it if you could check it out when you have time🙏

@fukusuket fukusuket changed the title feat: add RuleTitle tomitre-attack-navigator.json feat: add RuleTitle tomitre-attack-navigator.json Dec 27, 2023
@fukusuket fukusuket self-assigned this Dec 27, 2023
@fukusuket fukusuket added the enhancement New feature or request label Dec 27, 2023
@fukusuket
Copy link
Collaborator Author

fukusuket commented Dec 27, 2023

@YamatoSecurity @hitenkoku
With version 2.3.0 of the ttp-visualize command, it is not possible to tell which rules were detected on ATT&CK Navigator.
I tried making it possible for users to see which rules were detected on ATT&CK Navigator. What do you think?🤔

@YamatoSecurity
Copy link
Collaborator

@fukusuket That's a great idea! I updated the changelog. Could you translate the Japanese version?
What happens when multiple rules detect the same technique?

@fukusuket
Copy link
Collaborator Author

@YamatoSecurity
Thank you so much for comment :)
I forgot the case when multiple detections😅I will implement it!💪

Is it better to output RureTitle with the ttp-summary command as well?

@YamatoSecurity
Copy link
Collaborator

Is it better to output RureTitle with the ttp-summary command as well?

I think that would be a good enhancement as well.

@fukusuket
Copy link
Collaborator Author

@YamatoSecurity
If there are multiple detections, I implemented it so that they are output in a comment separated by commas!
I also updated Japanese ChangeLog :) Could you please confirm?🙏
スクリーンショット 2023-12-28 11 33 17

@fukusuket fukusuket marked this pull request as ready for review December 28, 2023 02:37
Copy link
Collaborator

@YamatoSecurity YamatoSecurity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fukusuket LGTM! Thank you!

@YamatoSecurity YamatoSecurity merged commit a9067ce into main Dec 30, 2023
2 checks passed
@fukusuket fukusuket deleted the add-rule-title-to-ttp-visualize-output branch December 30, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants