CybercentreCanada / assemblyline

AssemblyLine 4: File triage and malware analysis
https://cybercentrecanada.github.io/assemblyline4_docs/
MIT License
249 stars 15 forks source link

Copy selected submission metadata when triggering re-analyse of a file #243

Open kam193 opened 3 months ago

kam193 commented 3 months ago

Is your feature request related to a problem? Please describe. In my use case, I have a metadata (currently: name of the analysed package) that connects related submissions. I also use it later for finding submissions, as well as semi-automatic archiving in an external storage. In a more generic use case, you can model it as a ticket number from an external system, that can be used to track all submissions related to the given ticket.

Thanks to an option to manually provide metadata, I can always set it when going through submission view. However, it would be extremely useful if those metadata fields were propagated automatically when going to a resubmission of a file or or submitting an extracted URL from the context of a particular submission. Interestingly, it already works like this for files when choosing "Resubmit for Dynamic Analyze", but not with "Adjust parameters before submission".

To be clear: I'm considering transferring some submission metadata to a re-submission of any file from generated in the submission, not only the original file, but also anything extracted. It happens quite often that I want to e.g. submit a file to a dynamic analysis or submit a statically extracted URL. Currently, I have to copy the metadata field each time and then fill it.

Describe the solution you'd like

  1. Allow configuring "sticky" metadata.
  2. Being in a submission view in the UI, when resubmitting any of extracted files, ensure pre-filling configured metadata from the open submission.
  3. Being in a submission view in the UI, when submitting an extracted URL from tags (right click / Submit URL), ensure pre-filling configured metadata from the open submission.

Describe alternatives you've considered

Additional context For me, it's important that any extracted file / URL could keep some metadata. It's easier to remove them as to copy and put again ;)