MISP / MISP

MISP (core software) - Open Source Threat Intelligence and Sharing Platform

Home Page:https://www.misp-project.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Conflicting TLP Tags are Asserted after Entiy Extraction

packet-rat opened this issue · comments

Actual behavior

After performing Entity Extraction, two conflicting tags are asserted on the Event.

Expected behavior

(1) Only the most restrictive TLP assertion would be made (i.e. tagged)
(2) In this the "green" TLP Amber" tags seems incongruous.

Steps to reproduce

(1) Import STIX Package
(2) Manually add Event Report. Copy and paste content.
(3) Apply Entity Extraction on Narrative
(4) Refresh Event
(5) Two TLP:Amber Assertions are made (One Green, One Amber]

Note that I separately reported this issue in 9648

Version

2.4.191

Operating System

Ubuntu

Operating System version

20.0.4

PHP version

7.4.33

Browser

Any Browser

Browser version

No response

Relevant log output

No response

Extra attachments

2024-05-02_12-35-38

Code of Conduct

  • I agree to follow this project's Code of Conduct

This may not be the issue, but try flattening custom tags into taxonomies, by clicking the bottom button here:

image

also, can you please show the json output for the tags of that event? just append .json to the url

Indeed, the entity extraction is pretty dumb in this regard, it will simply just extract what it can find without any regard for compatibility. Whilst fixing this wholesale would be a PITA (most taxonomies aren't nearly as cleanly hierarchical as TLP), we could hard-code the rules for TLP and PAP at least.