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

Observable Value gets cleared when changing its type (importing it from an analyser result) #763

Closed
3isenHeiM opened this issue Oct 17, 2018 · 0 comments
Assignees
Milestone

Comments

@3isenHeiM
Copy link

Observable Value gets cleared when changing its type (importing it from an analyser result)

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu 18.04 LTS
OS version (client) Windows
TheHive version / git hash 3.12
Package Type VM running the Hive provided at the Hack.lu training

Problem Description

When importing an observable extracted by an analyser, it may happen that the type of observable is wrong. For example filename.zip being treated as a domain instead of a filename. But when correcting this in the "Create new observable(s)" windows (by changing the type in the "Type" dropdown menu), the content of the "Value" field gets cleared. Thus, it's not possible to change correct any mis-parsed obervable type.

Steps to Reproduce

  1. Have a Cortex analyser with "Extract observables" turned on
  2. Analyse an observable with this analyser
  3. Show the extracted observables
  4. Tick one to import
  5. Change the type of data (if the analyser wrongly parses the data)
    The "Value" field will be deleted

Possible Solutions

When changing the type of an observable (extracted from an analyser result), keep the value field that is created by the analyser export. This is already done for the fields Descriptions and tags, which are kept even when changing the observable type.

Complementary information

This is done live from the MISP/TheHive hack.lu workshop. I'm discovering this tool and it's pretty awesome. Great job !

@nadouani nadouani self-assigned this Oct 17, 2018
@nadouani nadouani added this to the 3.1.3 milestone Oct 17, 2018
@To-om To-om modified the milestones: 3.1.3, 3.2.0 (Cerana 2) Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants