TheHive-Project / TheHive-Project/Cortex-Analyzers

[Bug] Eml Parser Doesn't Extract the attachment binary

Open
#1,095 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:bug
Dominant language
Python
Stars
490
Forks
405
Avg merge
2d 43m
Merged PRs (30d)
8

Description

When tried to use EmlParser_1_2 to parser the eml file that it seems it missed to transfer the attachment inside the eml.

image

hash of attachment is extracted just no binary so it is unable to attach the "file" into the observer for further analysis.
sample_eml.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the EmlParser_1_2 entry point and reproduce the issue with the provided sample_eml.zip. Trace why the attachment hash is extracted without its binary; the work is done when the attachment binary is available for attaching to the observer for further analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.