IBM Security QRadar SOAR

 View Only
  • 1.  EML to Attachments

    Posted Thu March 31, 2022 08:57 AM
    Hello,

    Is is a solution how I can extract attachments from EML file to Attachment tab?
    I want to upload EML file to SOAR and than automatically extract all attachments inside EML file as a standalone attachments.
    I have Email Parser functions, but how I understand it can transform only to artifacts.

    ------------------------------
    Alexey Fedorov
    ------------------------------


  • 2.  RE: EML to Attachments

    Posted Fri April 01, 2022 08:27 AM
    Hi Alexey,

    Take a look at the Utilities package on the AppExchange: https://exchange.xforce.ibmcloud.com/hub/extension/2b6699ac8a3976b67dfbddee26dbe3a5. There's a function, email_parsing, which will parse out attachments and create file-based artifacts. File-base artifacts are used as the attachments may be malware which should protected and made available for other analysis tools.
    This function is complex, relying on perl modules to perform the extraction. It's best to use App Host with this app as the environment setup with Python and Perl is already in place in the container.

    Good luck,
    Mark

    ------------------------------
    Mark Scherfling
    ------------------------------



  • 3.  RE: EML to Attachments

    Posted Mon April 04, 2022 02:27 AM
    Hello Mark,
    I use the utilities package and how I understood the email parsing function can extract only name of attachments and add it to artifacts that has no sense to me. If I do something wrong with the function - please help me to better understand the possibility of the function.


    ------------------------------
    Alexey Fedorov
    ------------------------------



  • 4.  RE: EML to Attachments

    Posted Mon April 04, 2022 07:50 AM

    Hi Alexey,

     

    If you set the function input parameter, utilities_parse_email_attachments, to Yes, when file-based artifacts of type 'Email Attachment' will be created.

     

    Regards,

    Mark

     






  • 5.  RE: EML to Attachments

    Posted Mon April 04, 2022 09:59 AM
    Hello Mark,
    Regarding the example it works by another way:
    # Setting this to True will add any found attachments as an Email Attachment Artifact
    inputs.utilities_parse_email_attachments = True
    This is only adds name of attachment to Artifact tab with type Email Attachment. I see no files at Attachment tab.


    ------------------------------
    Alexey Fedorov
    ------------------------------



  • 6.  RE: EML to Attachments

    Posted Mon October 30, 2023 01:50 AM

    Thanks for your valuable information about extracting attachments of the EML file. Now anyone can follow your solution for this issue. Thank you so much. 



    ------------------------------
    Ankur Aryson
    ------------------------------