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

This does not work with mitre-atlas/atlas-navigator #3

Open
Nerocraft4 opened this issue Jun 27, 2024 · 2 comments
Open

This does not work with mitre-atlas/atlas-navigator #3

Nerocraft4 opened this issue Jun 27, 2024 · 2 comments

Comments

@Nerocraft4
Copy link

dist/stix-atlas.json does not work with atlas-navigator, since it breaks on startup. I can't place or open an issue there, since there doesn't seem to be an option.

I have also tried to use dist/stix-atlas.json with the Att&ck navigator (which thankfully works, unlike the atlas navigator), but it complains about the layer being updated (my best guess is this happens bcs ATLAS and ATT&CK have different version systems).

I've also tried following this guide, https://github.com/mitre-atlas/atlas-navigator/blob/master/README.md, and setting up the json beforehand, but nothing (it doesn't launch).

The error code is "ERR_OSSL_EVP_UNSUPPORTED", something to do with digital envelope routines. My node.js version is 18.20.1.

If I can clarify anything please let me know. Thanks!

@lilyjw
Copy link
Contributor

lilyjw commented Jun 27, 2024

Hi @Nerocraft4,

I'd encourage use of the hosted version of the ATLAS Navigator at https://mitre-atlas.github.io/atlas-navigator/, which already includes stix-atlas.json as its underlying data. The repository itself is just a fork of the ATT&CK Navigator with different configuration setttings.

If you'd like to host your own version of the ATLAS Navigator, take a look at the atlas and its built version atlas-gh-pages (the one being served at https://mitre-atlas.github.io/atlas-navigator/) branches of https://github.com/mitre-atlas/atlas-navigator/. For the ERR_OSSL_EVP_UNSUPPORTED, try running with NODE_OPTIONS=--openssl-legacy-provider npm start.

If this doesn't address your issue, feel free to include more details, including exact steps to replicate and screenshots/error messages of how you're using stix-atlas.json with atlas-navigator and what you're witnessing.

@Nerocraft4
Copy link
Author

Okay, the command you gave me seems to have solved the launching issue (now it launches, with lots of errors from chokidar, but it does). But it can't load the stix-atlas.json, due to ERROR: Either the file is not JSON formatted, or the file structure is invalid. I just downloaded the file and tried to upload it, fresh from the atlas-navigator-data/dist folder.

Steps to reproduce:

  1. Create repo "navi" and clone into it info from https://github.com/mitre-atlas/atlas-navigator.git
  2. Move to navi/nav-app
  3. Run npm install. Some warnings appear, as security issues with outdated packages, I ignored them.
  4. Run NODE_OPTIONS=--openssl-legacy-provider npm start
  5. Run ng serve. Lots of errors appear, from chokidar, such as System limit for number of file watchers reached.
  6. In http://localhost:4200, a web appears. I expected MITRE ATLAS Navigator, but it's MITRE ATT&CK Navigator.
  7. Try to upload the file from stix-atlas.json. Receive error message: ERROR: Either the file is not JSON formatted, or the file structure is invalid.

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

No branches or pull requests

2 participants