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

MISP Tools Manual Import issues with MISP 2.5.2 #188

Open
adpaccent opened this issue Nov 25, 2024 · 0 comments
Open

MISP Tools Manual Import issues with MISP 2.5.2 #188

adpaccent opened this issue Nov 25, 2024 · 0 comments

Comments

@adpaccent
Copy link

adpaccent commented Nov 25, 2024

Hi,

it looks MISP Tools Manual import does not support the latest version of MISP 2.5.2.

[2024-11-25 15:50:51,606] INFO misp_tools
[2024-11-25 15:50:51,606] INFO misp_tools '##::::'##:'####::'######::'########:::::'########::'#######:::'#######::'##::::::::'######::
[2024-11-25 15:50:51,606] INFO misp_tools ###::'###:. ##::'##... ##: ##.... ##::::... ##..::'##.... ##:'##.... ##: ##:::::::'##... ##:
[2024-11-25 15:50:51,606] INFO misp_tools ####'####:: ##:: ##:::..:: ##:::: ##::::::: ##:::: ##:::: ##: ##:::: ##: ##::::::: ##:::..::
[2024-11-25 15:50:51,606] INFO misp_tools ## ### ##:: ##::. ######:: ########:::::::: ##:::: ##:::: ##: ##:::: ##: ##:::::::. ######::
[2024-11-25 15:50:51,606] INFO misp_tools ##. #: ##:: ##:::..... ##: ##.....::::::::: ##:::: ##:::: ##: ##:::: ##: ##::::::::..... ##:
[2024-11-25 15:50:51,606] INFO misp_tools ##:.:: ##:: ##::'##::: ##: ##:::::::::::::: ##:::: ##:::: ##: ##:::: ##: ##:::::::'##::: ##:
[2024-11-25 15:50:51,606] INFO misp_tools ##:::: ##:'####:. ######:: ##:::::::::::::: ##::::. #######::. #######:: ########:. ######::
[2024-11-25 15:50:51,607] INFO misp_tools ..:::::..::....:::......:::..:::::::::::::::..::::::.......::::.......:::........:::......:::
[2024-11-25 15:50:51,607] INFO misp_tools _____
[2024-11-25 15:50:51,607] INFO misp_tools / '
[2024-11-25 15:50:51,607] INFO misp_tools ,-/-,__ __
[2024-11-25 15:50:51,607] INFO misp_tools (/ ()/ (_
[2024-11-25 15:50:51,607] INFO misp_tools _______ __ _______ __ __ __
[2024-11-25 15:50:51,607] INFO misp_tools | _ .----.-----.--.--.--.--| | _ | |.----|| |--.-----.
[2024-11-25 15:50:51,607] INFO misp_tools |. 1
| | _ | | | | _ | 1__| | | | <| -|
[2024-11-25 15:50:51,607] INFO misp_tools |. |
|| ||||
___ ||| |||||
[2024-11-25 15:50:51,607] INFO misp_tools |: 1 | |: 1 |
[2024-11-25 15:50:51,607] INFO misp_tools |::.. . | |::.. . | Threat Intelligence v0.8.0
[2024-11-25 15:50:51,607] INFO misp_tools -------' -------'
[2024-11-25 15:50:51,607] INFO misp_tools
/misp/.local/lib/python3.11/site-packages/pymisp/init.py:67: FutureWarning: This class is deprecated, use PyMISP instead
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
[2024-11-25 15:50:52,633] INFO processor/main Retrieving all galaxy cluster values for the Android cluster.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/misp/misp_import.py", line 505, in
main()
File "/misp/misp_import.py", line 495, in main
import_handler = ImportHandler(config, intel_api_client,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/misp/misp_import.py", line 312, in init
self.importer = CrowdstrikeToMISPImporter(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/misp/cs_misp_import/importer.py", line 76, in init
self.all_galaxies = self.get_galaxies()
^^^^^^^^^^^^^^^^^^^
File "/misp/cs_misp_import/importer.py", line 270, in get_galaxies
all_galaxies.append(self.misp_client.search_galaxy_clusters(gal["id"], searchall=""))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/misp/.local/lib/python3.11/site-packages/pymisp/api.py", line 1781, in search_galaxy_clusters
clusters_j = self._check_json_response(r)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/misp/.local/lib/python3.11/site-packages/pymisp/api.py", line 3970, in _check_json_response
r = self._check_response(response, expect_json=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/misp/cs_misp_import/misp_safe_check_response.py", line 55, in safe_check_response
raise MISPServerError(fail_msg)
pymisp.exceptions.MISPServerError: Error code 500: An Internal Error Has Occurred.
[2024-11-25 15:50:51,607] INFO config
[2024-11-25 15:50:51,607] INFO config _______ _ _ _______ _______ _ _ _______ _____ __ _ _______ _____ ______
[2024-11-25 15:50:51,607] INFO config | |
| |
__ | |/ | | | | \ | |__ | | ____
[2024-11-25 15:50:51,607] INFO config |_____ | | |______ |_____ | _ |_____ || | _| | | ||
[2024-11-25 15:50:51,607] INFO config
[2024-11-25 15:50:52,015] INFO config No configuration errors found
[2024-11-25 15:50:52,015] INFO config
[2024-11-25 15:50:52,015] INFO config ____ _ _ ____ ____ _ _ ____ ___ ____ ____ ____ ____ ___
[2024-11-25 15:50:52,015] INFO config | || |_ | |/ [__ |] || [__ [__ |__ |
[2024-11-25 15:50:52,015] INFO config |___ | | |___ |___ | _ ___] | | | _] ] | |/
[2024-11-25 15:50:52,015] INFO config

Instead no any issues with MISP 2.5.1.
Could you please help me?

Please let me know.

Thanks

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

1 participant