Extract Attachments from MSG Files

379056

OpenText OpenText Community

App Support Tiers

OpenText SUPPORTED

Support via OpenText Software Support, with a ticket filed against the associated product.

PARTNER

OpenText offers a content partnership program for select partners. Support for Partner Content offerings is provided by the partner and not by OpenText of the OpenText community.

OpenText COMMUNITY

OpenText Community Content is provided by OpenText for the benefit of customers, support for it is not available via OpenText Software Support but through specific community content forums.

COMMUNITY

Community Contributed Content is provided by OpenText customers and supported by them.

EARLY ACCESS

Show less ...Show more

The downloads referenced under the "Cybersecurity Early Access" category are made available to subscribers to mitigate time-critical issues but have not undergone formal quality and performance testing associated with official OpenText/Cybersecurity product releases. OpenText has a multi-stage Quality Assurance process. During Stage 1 we conduct a resource analysis, field mapping, ensure content level 1 functionality and analysis in our sandbox environment. Stage 2 is a complete validation including production validation. This package has cleared Stage 1 validation and therefore should be deployed with the appropriate pre-production validation. OpenText strongly recommends that any downloaded content is first checked and tested thoroughly in a non-production environment before committing to production. We welcome feedback and, should any content be shown to be faulty, detrimental or carry an incorrect claim of authorship, we shall endeavor to remove or correct such content as promptly as reasonably possible once notified and validated.

OpenText | OpenText Community

Extracts attachments from *.MSG files in the current case.
13 downloads

Share
 

Description

This script is designed to extract attachments from Microsoft *.MSG files as defined by the MS-OXMSG specification.

Regardless of the processing-mode selected, the script will only process entries that have a *.MSG file-extension. Artifacts are not currently supported.

Whilst the script can be used to process *.MSG files that have been mounted as compound files, this is not advisable as EnCase can only process the volume-representation of each file and linking back to the source-entry may not be possible.

It is for this reason that the option to process selected entries in the current view cannot be used to process *.MSG files that have been mounted.

For each *.MSG file that is processed and has attachments, the script will create a sub-folder in the designated output folder. The name of the sub-folder will contain an incremental index and the name of the *.MSG file.

Having created the sub-folder, the script will extract copies of the *.MSG file and its attachments into that folder.

Each attachment is stored internally as an attachment object, which will have a name of the form __attach_version1.0_#00000001 where the value after the hash character (in this case 00000001) is a hex representation of the attachment’s zero-based index.

When a *.MSG file is mounted, EnCase shows each attachment object as a folder with child entries containing one or more of the attachment’s properties, which are defined by the MS-OXPROPS specification.

As far as the script is concerned, the following property-entries are the most important:

  • __substg1.0_37010102 - Contains the attachment’s file-data as a byte-stream (PidTagAttachDataBinary).
  • __substg1.0_3707001F - Contains the attachment’s full filename and extension as a string (PidTagAttachLongFilename). which may be in plaintext or Unicode depending on whether the PidTagStoreSupportMask flag is set in the MSG file (the script reads this flag).

EnCase will name each attachment using its index and the name/extension specified by the PidTagAttachLongFilename property.

In addition to extracting each message and its attachments, the script will bookmark each *.MSG file such that the comment will contain the the index used to extract it; also, the number of attachments that were extracted.

The script will also created a tab-delimited spreadsheet file containing a list of the attachments that were located. This list will contain the following timestamps in UTC (where present):

  • PidTagClientSubmitTime - Indicates the time the email was submitted.
  • PidTagCreationTime - Indicates the time the file referenced by the attachment object was created, or the time the attachment object itself was created.
  • PidTagLastModificationTime - Indicates the last time the file referenced by the attachment object was modified, or the last time the attachment object itself was modified.

These timestamps are provided as-is. The examiner may need to undertake additional testing to verify their significance.

Depending on the formatting used, the Document tab can be used to view *.MSG files in EnCase.

Progress can be monitored by the console.

Releases

Release
Size
Date
Extract Attachments from MSG Files 2.0
134.2 KB
  |  
Dec 5, 2024
More info Less info

Reviews

Write a review


Extract Attachments from MSG Files

OpenText | OpenText Community




Optional


Optional - 120 characters remaining


Cancel

Unsubscribe from notifications

You are receiving release updates for this item because you have subscribed to the following products:
If you unsubscribe, you will no longer receive any notifications for these products.
Tip: to update your subscription preferences, go to Manage Subscriptions from your Dashboard, uncheck the products you no longer want to receive notifications for, and click 'Save'.

Marketplace Terms of Service

In order to continue, you must accept the updated Marketplace Terms of Service
Since you are downloading an app from the OpenText Marketplace, you need to accept the updated Marketplace Terms of Service before you can continue. Use the link to review the Marketplace Terms of Service. Once complete check the, "I accept the Marketplace Terms of Service" box below and click accept to continue your download.


Your download has begun...
Your browser is not supported!

Please upgrade to one of the following broswers: Internet Explorer 11 (or greater) or the latest version of Chrome or Firefox

release-rel-2025-5-2-6390 | Thu May 15 15:06:37 PDT 2025