Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 c8657a44017e02ab…

MALICIOUS

Office (OOXML)

122.4 KB Created: 2020-01-24 06:45:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-24
MD5: bcb571dfaeafbaf8a3942096c7c50dac SHA-1: 5347247209933256c4ca6d30158d47982b34805e SHA-256: c8657a44017e02abfae5b21ffd9caa715179a18c02384798d2855c727a981f2d
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains a VBA project with a Document_Open macro, which is a common technique for Emotet. The macro likely executes obfuscated code to download and run a secondary payload. ClamAV detections confirm the presence of Emotet malware. The GetObject call and VBA p-code auto-execution further support this assessment.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7561647-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7561647-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) 15754 bytes
SHA-256: c339511f015fb5661a274ddd7d3547f7a54efad163d945c7b7be7a2783116989
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Gxipcillv"
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()





Call Ctgzmhplfp








End Sub

Attribute VB_Name = "Nvhhnewlye"
Attribute VB_Base = "0{B1B98BD5-0073-49DE-AD23-4DF6A172FAD8}{4A75B950-3AAF-4C7E-B208-CF24471A162C}"
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 = "Jugmowtfr"
Attribute VB_Base = "0{F071F5CD-7578-4548-8E82-8EDDCE3E144F}{7A2A7695-D6F5-464F-B11A-7424BD7FE375}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Szsuvmcscswoy()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Raaajomiurfex"
Attribute VB_Base = "0{C56DD470-FE94-4485-868C-5DF5C409D109}{82BB1B24-FBCF-4529-BAEC-0835D43BCB9D}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Jnxxtnekdmeal()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Gimofsfrxgg"
Attribute VB_Base = "0{C8F8C1B8-5AC5-47FC-8B63-7BCDAA7D013A}{E8931C8A-56A9-400F-A506-27195E973739}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Dpheefjiqbgmn()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Oeoawgkwsijee"
Attribute VB_Base = "0{8AF2B2D4-1914-4A51-97F2-FAAF5F7BF308}{CDC7D3CF-F617-4DD4-8045-84F0839D5DBC}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Qnwfhnezwfcep()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Crdicssfu"
Attribute VB_Base = "0{1C1BEBD1-B825-4137-9A0A-86249DDB6E68}{E3E58A84-B4E8-4F25-8F69-CA05DFDAE559}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Tpwubflrktph()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Jfrvtcvpmf"
Attribute VB_Base = "0{0BB0D811-03BD-4C01-892B-B2D327B3A436}{A65F9F3A-F215-4901-8CF4-4436D4CCD0E3}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Vtgxhbnp()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Dbdxtywlnkv"
Attribute VB_Base = "0{F76DC496-D3A7-41A2-97D7-7228BCB252E9}{94FDDF73-F8A3-47E6-9E6D-EA672559B967}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Nbkapxecrdbj()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Nmotsoucpr"
Attribute VB_Base = "0{11D4AA57-1F3C-4F03-BAF9-AE92BCD58465}{11231F30-B1F9-4449-9A46-6230852BE3F6}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Wsasgewatv()
Debug.Print "Pizdec"
End Sub

Attribute VB_Name = "Yspmmycn"
Attribute VB_Base = "0{8319D8E8-9968-4115-99EF-D2DE68607173}{B508B3AA-0613-4A82-9E8F-68363C206C50}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_Predecla
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 114176 bytes
SHA-256: d46e82d8e5b1cab209e2b5f966f064de47891bffb761498389f4e4ee6696f05e
Detection
ClamAV: Doc.Downloader.Emotet-7561647-0
Obfuscation or payload: unlikely