Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 74f79ac70f24f87f…

MALICIOUS

Office (OOXML)

132.1 KB Created: 2020-01-22 18:13:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-24
MD5: db861d111884bec8faf05c1bdfcb6d7f SHA-1: bad8c0842c5795c6d02ef614095d60b6ca40bcdb SHA-256: 74f79ac70f24f87fb130bd1a73d278a875ea6de088fb56b16ee28693cf2ada3a
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample is identified as malicious by ClamAV with a signature indicating it is a Doc.Dropper.Emotet variant. The presence of a Document_Open macro and the extraction of VBA code strongly suggest that this document is designed to execute malicious code upon opening. The VBA code itself is obfuscated but the presence of the Document_Open macro and GetObject call are indicative of a dropper functionality, likely to download and execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Dropper.Emotet-7557559-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Emotet-7557559-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) 10453 bytes
SHA-256: 29943240086aa2fd2ab7c1fad5ab4b7ed523bdfd39a57ea2b620c8ca871453e8
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Uolghmnes"
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()
Strdrjiyohmqj.Dyrllglnfv
End Sub

Attribute VB_Name = "Iuchdjojypa"
Attribute VB_Base = "0{75FF3C17-0647-43B5-ADCC-77EF2A43D2CD}{8DB9B9B4-FAF8-4EC4-9AB1-C1507F3CE961}"
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 = "Gwwdzcxasgcr"
Attribute VB_Base = "0{F5EC5EF7-2358-4400-BC8A-D174F9678A0A}{93E1CA61-CB2F-4ABE-BB00-F85DCCA704D1}"
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 = "Rfnflpiquc"
Attribute VB_Base = "0{6382E9EE-92DE-462C-A5DF-DDAAF44FA01A}{8AEC4BD4-A6E4-4E05-8276-A84ABDB4E481}"
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 = "Uxyblaneljp"
Attribute VB_Base = "0{F69575FF-9152-4EB2-8FC9-535ECF455AA2}{B86223A5-DC6C-4DEB-B066-4659DF6A3404}"
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 = "Vwiotlllyyk"
Attribute VB_Base = "0{2557CC14-A6A6-48DB-A9AA-DFC47F839B32}{81A67140-B132-43FA-8FB1-C5F187841201}"
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 = "Ctlpcttli"
Attribute VB_Base = "0{C7ED2603-AE16-4E1C-9A74-08985881D4F0}{EDE6D8AA-690D-4F4D-A4C2-29C3025ECF95}"
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 = "Qvcewzhp"
Attribute VB_Base = "0{BA8D1668-7663-4A1E-9067-0AAF02078D65}{4CA73EE2-C32F-428E-AF20-F4CBE672A861}"
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 = "Qtacaqzdvzo"
Attribute VB_Base = "0{30CC15CF-43C9-43E0-AEC3-BAEAF4DE2291}{03C1A54D-F497-4F97-AE3D-0FB4D5E28F19}"
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 = "Xtsvhwke"
Attribute VB_Base = "0{30C37C75-5D7B-4BBC-A115-9C7966C9761F}{1EC93E65-D855-461D-8D4F-4204FE430DFF}"
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 = "Gxyjhozqvgsma"
Attribute VB_Base = "0{5BC4EA11-4D3B-4A09-B2BE-7A605B0F3547}{B187A11F-041D-4C69-9482-D1941987B239}"
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 = "Bdtinamfse"
Attribute VB_Base = "0{C5082AA6-756D-45A8-B3E2-44EEFA6EAF7D}{F39199F9-4ECB-4855-A774-9FCD1A77CCC4}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = Fals
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 98304 bytes
SHA-256: 4101ac39732c64ac6912a2ed23bbb62b50cfe4bd5ac37e8a5cb0d9a18ad62a84
Detection
ClamAV: Doc.Dropper.Emotet-7557559-0
Obfuscation or payload: unlikely