Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 c7f087e92507157e…

MALICIOUS

Office (OOXML) / .XLSM

4.28 MB Created: 2021-05-06 15:03:59 UTC Authoring application: Microsoft Excel 15.0300
MD5: 7128a708a1e5234233dadfc2aa8134f1 SHA-1: 797a8169d9aac99815b0f2241beed8f1d8a03b0d SHA-256: c7f087e92507157e83babac2eee14f7bee2c8348651c07843de28ffeb4c41b11
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 critical ClamAV detection and the presence of a Workbook_Open macro strongly indicate a downloader. The macro uses CreateObject to instantiate Wscript.Shell and MSXML2.XMLHTTP, likely to download and execute a second-stage payload from one of the numerous embedded URLs. The heuristic firings and ClamAV signature point to 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://sidnetworld.com/env/add-ons/tinymce/themes/inlite/HShRYdMy.php
    • https://wypozyczalnia-dragon.pl/libraries/fof/integration/joomla/filesystem/DDjThQ9ZgjkX.php
    • https://creacesstudio.com/wp-includes/sodium_compat/src/Core/Base64/2gpFxPIDAlrLvJ.php
    • https://hamdanigroupofcompanies.com/wp-content/plugins/case-theme-import/includes/api/e1KqWCgL.php
    • https://traffickerdigital.guru/wp-content/plugins/stops-core-theme-and-plugin-updates/templates/notices/3RKTmgwCIosO1Q.php
    • https://gruposiel.com/image/cache/catalog/demo/banners/impvRKas7.php
    • https://artncraft.online/wp-content/plugins/elementor/data/base/ITmEihJkT.php
    • https://darkmattercompany.com/billing/templates/orderforms/comparison/images/OMqNCOuk.php
    • https://italmaps.com/nuovo/wp-includes/js/jquery/ui/vUYhCCeCNKQoEk.php
    • https://wickerconsultingllc.com/wp-content/plugins/force-regenerate-thumbnails/jquery-ui/redmond/MGggfHzY0QH0Cp3.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
411ff5d6569cd7b0499df945f7f5e1f460937f279c5cf65c8c69b24e8f2ae86a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3166393 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
68120f102c490fd583e8305e1fc2325dedba5234f9e8389863ea8a31372037fe
vba-project OOXML VBA project: xl/vbaProject.bin 6385664 bytes
Detection
ClamAV: Doc.Downloader.Emotet-10019767-0
Obfuscation or payload: unlikely