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

ATT&CK version comparison is incorrect #23

Open
rctgardner opened this issue Apr 25, 2022 · 3 comments
Open

ATT&CK version comparison is incorrect #23

rctgardner opened this issue Apr 25, 2022 · 3 comments
Labels

Comments

@rctgardner
Copy link
Collaborator

ATT&CK v11 just came out: https://github.com/mitre/cti/releases/tag/ATT%26CK-v11.0

but the extension doesn't recognize the new version

...
[2022-04-25T21:37:51.137Z] Checking extension cache for MITRE ATT&CK mapping.
[2022-04-25T21:37:51.530Z] Nothing to do. Cached version is on latest ATT&CK version 9.0
...
@rctgardner rctgardner added the bug label Apr 25, 2022
@ForensicITGuy
Copy link

Did some troubleshooting on this @rctgardner , looks like the enterprise-attack.9.0.json gets downloaded even when you clear the cache.

@rctgardner
Copy link
Collaborator Author

Thanks for adding that @ForensicITGuy ! I bet this is a string sorting vs number sorting problem, and '9' is getting sorted ahead of '10'. I'll try to address this soon

@slw07g
Copy link

slw07g commented Jan 7, 2023

Maybe using the compare-versions package be a quick way to patch this.

And maybe a long-term it might be worth having a setting available for users to specify which ATT&CK version they want to use.

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

No branches or pull requests

3 participants