Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 7aad6646929e3d37…

MALICIOUS

Office (OOXML)

63.6 KB Created: 2020-01-23 06:49:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-24
MD5: 43e00ded4f01fe4a6db19e24010eb8f5 SHA-1: 474c1be1d02d1739dcde4ecad3e4b0278cfe2c84 SHA-256: 7aad6646929e3d37983073134ffba0e2735588c43e8f23d1249845c4da1ad410
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 contains VBA macros, specifically a Document_Open macro, which is a common technique for Emotet. The critical ClamAV detection of 'Doc.Downloader.Emotet-7560773-0' strongly indicates Emotet. The VBA code is obfuscated but the presence of GetObject and auto-execution tokens suggests it's designed to download and execute a secondary payload.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7560773-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7560773-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) 15621 bytes
SHA-256: e9551ddfd76b47aa09b5bfa80569cd7689a2aa74e2624fc0cf3acd573c6080e9
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Yxdzzmtndjqi"
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()
Zntyldinvx.Doainyiwbe (s)
End Sub

Attribute VB_Name = "Knsqfhsfo"
Attribute VB_Base = "0{6B00E349-788F-48C4-8CE7-3DD9B3BC9717}{FE429731-9E0E-48A0-A178-14EE3FE02B8F}"
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 = "Vccgeprgb"
Attribute VB_Base = "0{616D4CD3-D9F9-4388-AE6F-8F1476B630F7}{5B696777-E20E-456A-A18A-0D31CDC53EA8}"
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 = "Zukiekvzmqmdx"
Attribute VB_Base = "0{FF0C9E1D-9B87-40F5-BD15-82FDC9734CFE}{CFC002EE-AD85-4631-A6AE-C50FC19C2D4B}"
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 = "Kgnhzrafqgid"
Attribute VB_Base = "0{130E0B5B-DD3A-409D-813B-327FE61AD093}{2CF2563E-CC88-4220-826A-A2483731F2F0}"
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 = "Mhqneigxj"
Attribute VB_Base = "0{83A70B86-56A0-47A1-A11A-DC77C403D8C7}{07067C26-FBFB-40A1-8B2F-F0895C9F74DB}"
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 = "Ganpjyflm"
Attribute VB_Base = "0{1217D659-945D-4F55-9A3E-92B486BB958A}{A3F95811-D1F1-488D-B515-793EAA2E0578}"
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 = "Sutezpucwh"
Attribute VB_Base = "0{7FA1575F-8C3B-41C6-8906-7FFF3D644A9C}{00D2F957-AC77-4FEC-8D17-F7D634B1FCCA}"
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 = "Zjvqtmlnxzbs"
Attribute VB_Base = "0{3A3590F1-A3B9-42E5-BB47-34BE522FE3E8}{D092E78D-6C01-4CD5-B6D3-734CE201CA27}"
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 = "Pgicsicbow"
Attribute VB_Base = "0{68D9C803-E729-4ED0-91DD-5C0593FE00B0}{5B906DBF-323D-4B32-9FFF-7BC53D7F7D55}"
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 = "Jqchrzgiogohl"
Attribute VB_Base = "0{88B6EEF8-0DDF-4A86-A7A5-BC9AB9872231}{AFC1A84D-4F81-400F-B1D0-CC5025619946}"
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 = "Rnttanna"
Attribute VB_Base = "0{3A452E35-CE02-4245-A673-9E7F67AB4EC8}{938801F4-E983-49B5-BD24-7907DC52D44F}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = 
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 113664 bytes
SHA-256: 114e06fb24bc8b5838069fa600c469284c9b4d5ba5d5222bf4f256657b997a5d
Detection
ClamAV: Doc.Downloader.Emotet-7560773-0
Obfuscation or payload: unlikely