TheHive-Project / TheHive-Project/Cortex-Analyzers
Enhance the artifact extraction
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 490
- Forks
- 405
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 8
Description
Currently artifacts are extracted using the cortexutils.Extractor class or not at all. The available cortexutils class was created in order to provide a simple approach to extract observables from full-text analyzer results, but is not capable of doing it the right way for every scenario as it just uses regex pattern matching.
A good enhancement would be overwriting the artifacts function in the analyzer to extract the proper observables from the full key of the dictionary. In the end, the Extract observables configuration item in Cortex can be removed - at lease from my point of view that would be unnecessary then.
/cc @jeromeleonard @nadouani
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the analyzer's artifacts function and the cortexutils.Extractor class described in the issue, then inspect how analyzer results expose the full key. Determine how proper observables should be extracted and whether removing Cortex's Extract observables configuration remains compatible; done means the relevant analyzers handle full results without relying on the regex-only extractor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100