Phish or scam? - Part 1

Published: 2017-12-17
Last Updated: 2017-12-17 08:35:59 UTC
by Didier Stevens (Version: 1)
3 comment(s)

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
Microsoft MVP Consumer Security

Keywords: maldoc phish scam spam
3 comment(s)


Does this work if you convert the .eml to .msg?
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 tool.
None, lol. I still tired when I got into work. I was thinking msgconvert to convert msg to eml.

Diary Archives