Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 7ec429c808dc9ce1…

MALICIOUS

Office (OOXML) / .XLSM

3.54 MB Created: 2021-05-10 15:56:38 UTC Authoring application: Microsoft Excel 15.0300
MD5: f7aec7c3547af2e62b3b893872eba013 SHA-1: 516f9addbf7c82fb1e488d203f9a77969b9decc8 SHA-256: 7ec429c808dc9ce14085094e5556ed3e0e482ee4d47d89e4cc61370260de9d4e
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 that utilizes CreateObject to execute commands via rundll32.exe. This macro is designed to download and execute a second-stage payload from one of the embedded URLs. The ClamAV detection and heuristic firings strongly indicate this is a downloader associated with the Emotet family.

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://test933.estore.vlinkhosting.com/cIa0BLoA.php
    • https://meskot.org/wp-content/plugins/litespeed-cache/src/cdn/0Rek020ky.php
    • https://test651.estore.vlinkhosting.com/QhX2IwPp5Tsl.php
    • https://plajmarket.com/test/js/masterslider/skins/black-1/jZUAv16TOpcKz.php
    • https://lernendeutsch.de/App/vendor/phar-io/manifest/examples/rC6SrlTXo3VNK9.php
    • https://bbw.checkmynewsite.com/wp-content/themes/twentytwentyone/template-parts/content/nEE7SGUw.php
    • https://consultoriaemimpermeabilizacao.com/wp-includes/js/tinymce/plugins/charmap/SUn668N8oHZI.php
    • https://espgamerica.com/vendor/rvsitebuilder/core/fonts/vendor/Od8ptePPjMagXHZ.php
    • https://clinicasdiad.com/muestra/stylesheets/colors/Uoo2UTGxIy.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
7d6a11ca97b87d38a3b2150a604490297cb0ee144f2fc9b93857762f04cc1ce0
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2630130 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
8efae768445d99acb50f9d830af221aacfad280a38fd3fec6c5a8054f49d99b6
vba-project OOXML VBA project: xl/vbaProject.bin 5353472 bytes
Detection
ClamAV: Doc.Downloader.Emotet-10019767-0
Obfuscation or payload: unlikely