Reader Carlos Almeida submitted an email with a .docx attachment. As MSG files are Compound File Binary Format files, we can use oledump to start analyzing this email. The hexadecimal codes in the stream names are an indication of the purpose and type of the stream data. I developed a new oledump plugin to identify streams in MSG files: A condensed overview can be obtained using option -q (quiet): The first column after the hexadecimal data tells us what the data type is: BINary, UNIcode or ASCii. And the last column informs us about the purpose of the data stream. Let's take a look at some, like: - the subject: Since the data type is UNICODE, we use oledump's option -t to decode the content as UTF16. - the headers: - the message body: The attachment looks to be a .docx file: We can analyze this attachment with zipdump: This looks indeed like a Word document without macros. With re-search, we can search through the XML files for URLS, email addresses, BTC addresses and IPv4 addresses. We don't find any suspicious URLs: Just a suspicious email address: Now it would be useful to read the content of the Word document, without actually having to open it in Word. That's what we'll do in the next part of this diary entry. Stay tuned.
Didier Stevens |
DidierStevens 548 Posts ISC Handler Dec 17th 2017 |
Thread locked Subscribe |
Dec 17th 2017 3 years ago |
Does this work if you convert the .eml to .msg?
|
Anonymous |
Quote |
Dec 17th 2017 3 years ago |
What tool do you use to convet .eml to .msg files?
If you just want to look inside an eml file, you can use my emldump.py tool. blog.didierstevens.com/2017/07/21/update-emldump-py-version-0-0-10/ |
DidierStevens 548 Posts ISC Handler |
Quote |
Dec 17th 2017 3 years ago |
None, lol. I still tired when I got into work. I was thinking msgconvert to convert msg to eml.
|
Anonymous |
Quote |
Dec 17th 2017 3 years ago |
Sign Up for Free or Log In to start participating in the conversation!