Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 05f87369f99f8c94…

MALICIOUS

Office (OOXML) / .XLSM

207.0 KB Created: 2006-09-28 05:33:49 UTC Authoring application: Microsoft Excel 12.0000
MD5: de7e76e06acdb91418e616204a91c955 SHA-1: c3124c9ed312aa87f0bc203ea14993ecc7c5f625 SHA-256: 05f87369f99f8c94f96d54a866723feb06dd721c478213f2dae2e9f4a1a14e3c
120 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample is an XLSM file containing VBA macros, identified by ClamAV as Emotet. The Workbook_BeforeClose subroutine attempts to execute a PowerShell command. This command downloads a file from 'http://redg.org/reply.php' to 'c:\programdata\uegdsj.bat' and then attempts to execute it using rundll32.exe.

Heuristics 3

  • ClamAV: Xls.Downloader.Emotet-OOXML_XL-af43432fbcb8603c-9980048-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-OOXML_XL-af43432fbcb8603c-9980048-0
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
7d0e4f9eca6c375569120ba330bb42201c662a984abfe1b1d91b52af7f27cd85
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3513 bytes
vbaProject_00.bin
7ed8a024510d91f0337c9f08582ba812002fd79c33733ed07f4c87e72b02a635
vba-project OOXML VBA project: xl/vbaProject.bin 26624 bytes