Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 3399e3a509e621b0…

MALICIOUS

Office (OOXML) / .XLSM

3.59 MB Created: 2021-05-10 15:55:38 UTC Authoring application: Microsoft Excel 15.0300
MD5: f0dfc62ce0b3f515ad42a65e67907907 SHA-1: 440cbb32337706dbb99468fb64a0576b78b078a0 SHA-256: 3399e3a509e621b0f868f0a5ee0ad34abd9e0b3706189092ff62e132b4a9e8cc
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 provided URLs. ClamAV detection and heuristic firings strongly indicate the Emotet family, known for its downloader capabilities.

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://toptaxi24.com/toptest/toptaxi/homedir/mail/cur/JqV4fB12DW8cw.php
    • https://archampton.com/wp-content/plugins/kirki/controls/css/Ic6AlDEacA.php
    • https://s3solutions.ae/d6dCRQeJGD00Os.php
    • https://plajmarket.com/test/js/masterslider/skins/black-1/jZUAv16TOpcKz.php
    • https://auroralatinohomecare.com/wp-content/plugins/fusion-builder/templates/content/D7Ll4so2BJz4J.php
    • https://bay.mx/images/igfx9IW9M8o9.php
    • https://unitopinternational.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/FRFN29hqUueudn.php
    • https://mbbsinindia.co.in/images/O7iFbbtzF.php
    • https://greenbelt-mea.com/css/IYQWLc9dokeSK0.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
82d34dfbd8f4b1cc17d7ab31cabb8af40e63a1d91e2a184e1dc9710b795f66da
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2646713 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
612168e7900543e1ab2c3328c35d269d5a062e98eaac78704a82cd2925d3978b
vba-project OOXML VBA project: xl/vbaProject.bin 5382144 bytes
Detection
ClamAV: Doc.Downloader.Emotet-10019767-0
Obfuscation or payload: unlikely