CIRCL / AIL-framework

AIL framework - Analysis Information Leak framework. Project moved to https://github.com/ail-project
https://github.com/ail-project/ail-framework
GNU Affero General Public License v3.0
1.29k stars 282 forks source link

About MISP collaboration issue #590

Closed stmtstk closed 1 year ago

stmtstk commented 1 year ago

Hi all,

I've been trying out the KVROCKS branch version and ran into an issue where an Internal Server Error occurred when I tried to share a URL with the specified MISP. After checking some source files, I found out why the error occurred.

https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L173

The following code caused an error because ail_objects was not defined:

misp_objects = ail_objects.get_misp_objects(objs)

To fix this, we should define ail_objects like this before we use it:

from lib.objects import ail_objects

Additionally, another error occurred because I am using the MISP with a self-signed certification. Therefore, I modified self.ssl value.

https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L100

return PyMISP(self.url, self.key, False)
Terrtia commented 1 year ago

Hey @stmtstk ! Thanks for the test and the report ! Fixed with 86b1fda59b0e2b5a7fdaa392b58b7570a2b9f3c2

stmtstk commented 1 year ago

Good news! Thanks!