Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 28476c01c5f87d70…

MALICIOUS

Office (OOXML) / .XLSM

3.57 MB Created: 2021-05-10 15:57:23 UTC Authoring application: Microsoft Excel 15.0300
MD5: e0ba74836093ba40801c5dfb0ee79402 SHA-1: 340ed009c371e27e446705174514b37f76a3c446 SHA-256: 28476c01c5f87d7013e9ea05a51e5504543da1567db4d76c42e4265e2002538a
308 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The file is an XLSM document containing a Workbook_Open macro, which is a common delivery mechanism for Emotet. The macro utilizes CreateObject and Environ calls to execute a command via rundll32.exe, likely downloading and executing a second-stage payload from one of the numerous embedded URLs. ClamAV detection further supports the Emotet family attribution.

Heuristics 9

  • ClamAV: Doc.Downloader.Emotet-10019767-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10019767-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • Visible LOLBin command execution instruction high SE_LOLBIN_RUN_COMMAND
    Document contains instructions or visible command text involving Windows script/execution tools such as PowerShell, mshta, cmd, rundll32, or regsvr32
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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 https://attendance.ehazira.com/bower_components/ckeditor/plugins/tableselection/styles/wCNDv2F8E.php
    • https://mutlumedya.com/wp-content/plugins/js_composer/include/autoload/roR2rMO2Gr3K3.php
    • https://greenbelt-mea.com/css/IYQWLc9dokeSK0.php
    • https://bay.mx/images/igfx9IW9M8o9.php
    • https://mbbsinindia.co.in/images/O7iFbbtzF.php
    • https://vorsocmart.com/jVdoyxAE.php
    • https://unitopinternational.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/FRFN29hqUueudn.php
    • https://wilsonsfarminc.net/wp-content/plugins/ml-slider/themes/architekt/2R6Z2lQ61mPq5x.php
    • https://blockeddraincornwall.com/css/skins/blog/webcomic/css/vEufn1n9YA69Je.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
5eec63f4e6e023a4f0ab3b4d9700e3524312f7d938d4349eda15392e6f9d0d98
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2649771 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
bed3feb8eaf15f19d79c47bd5205a0f83314ae3bb82488733b1ee111a1effbcc
vba-project OOXML VBA project: xl/vbaProject.bin 5427200 bytes
Detection
ClamAV: Doc.Downloader.Emotet-10019767-0
Obfuscation or payload: unlikely