Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 876df6ef97d65592…

MALICIOUS

Office (OOXML)

133.3 KB Created: 2020-01-23 22:46:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-04-06
MD5: 8ffa778107037f723a04617eb3b9f5e9 SHA-1: 11ab8de2ef2de0f7e035c61751a38ef7141b8260 SHA-256: 876df6ef97d6559293a1fd2c44ce4e66b182d067e1f5e5ac096bf722bcc031f8
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1204.002 Malicious File

The file is identified as malicious by ClamAV with the signature 'Doc.Downloader.Emotet-7566320-0', indicating it's a downloader for the Emotet family. The presence of a 'Document_open' macro and a 'GetObject' call strongly suggests that the VBA code is designed to execute automatically when the document is opened. This macro likely downloads and executes a secondary payload, a common tactic for Emotet.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7566320-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7566320-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 15182 bytes
SHA-256: aa8bd6e97f65b483bd135a9f57b0c25b780874624bd6cf90416be7b28931bfc4
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Nobtxedkqdhz"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_open()
Pzoqcdkdgqxu.Vqbwsxzcq (s)
End Sub

Attribute VB_Name = "Yhbsqdyq"
Attribute VB_Base = "0{33EF716B-B024-47DB-B8CB-096C62176434}{1075E810-05E7-473D-A62F-158614E5AF80}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Uzvjqjynx"
Attribute VB_Base = "0{2801C921-10FC-41CD-9934-19B865821875}{3D3B300B-C155-4B68-8ED7-3025A38D8291}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Edcnbspxou"
Attribute VB_Base = "0{3166F008-6E64-4EE3-BF85-FAFF50017064}{6110D8CC-0044-497D-9B3F-5DC5EF51E668}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Mbgomcraxf"
Attribute VB_Base = "0{EAD90A4F-85F1-4F64-9B5A-9337516A5B4F}{14098F3A-571B-4158-A1B6-1FFFF662C7A5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Vmsgptxfmq"
Attribute VB_Base = "0{19B3DD0F-42A5-4189-80BD-C21010975DC5}{38278BE8-7305-482F-8E45-8D42D5FB124A}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Ariimhqnfmiik"
Attribute VB_Base = "0{696FDCFB-F175-459D-8A8A-ACC9458C3D46}{A7126A64-1C0B-4E55-9A86-41524D45A811}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Lfxoygqsoz"
Attribute VB_Base = "0{88053F95-060B-4D66-9BE2-2949FE8C0E0F}{A3EA1884-8751-45C9-96C3-E9F6BBFFA0D0}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Uwjzwekou"
Attribute VB_Base = "0{7FD4369A-1E4F-4D4F-894E-D443F543A75F}{B967567F-7F18-4070-BBF4-420DAD580BEE}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Nqpjgiejwv"
Attribute VB_Base = "0{E76F3E88-14CC-44DB-8465-B0EDE92F7D54}{C0B6944E-608B-4C8C-A95F-CAAC505AED8F}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Zpcypjzujc"
Attribute VB_Base = "0{48E78EBD-0E37-413E-B1D8-241CE5275466}{802CA96E-3C11-4C6B-8369-E7EF5A202955}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Rwnlezfsrwjx"
Attribute VB_Base = "0{31AF3AFF-66CB-463A-B92B-76B1BA2F2833}{C9C6F15D-2A05-4517-9CB8-0E15FAD87A08}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = Fa
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 114688 bytes
SHA-256: 42ca3582be09f495dac056c07144d63a44dac0b17dabb643b65571d70753b5cf
Detection
ClamAV: Doc.Downloader.Emotet-7566320-0
Obfuscation or payload: unlikely