Emotet — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 f50bc9c20f8f19f3…

MALICIOUS

Office (OOXML) / .XLSM

4.29 MB Created: 2021-05-06 15:04:11 UTC Authoring application: Microsoft Excel 15.0300
MD5: 24bae3d2edab147808274d8a4013b88b SHA-1: 810ca2e9e4d521c7d4d2b0701235262b06e51493 SHA-256: f50bc9c20f8f19f3c39c6e40b5ad4c91c3bfdd7b7fb1559924b01791fa3f5b22
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 sample is an XLSM file 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 detections 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://darkmattercompany.com/billing/templates/orderforms/comparison/images/OMqNCOuk.php
    • https://artncraft.online/wp-content/plugins/elementor/data/base/ITmEihJkT.php
    • https://skyblix.ml/wp-content/plugins/astra-widgets/classes/widgets/7c1Qn1myq.php
    • https://creacesstudio.com/wp-includes/sodium_compat/src/Core/Base64/2gpFxPIDAlrLvJ.php
    • https://bubbadms.com/user_guide/_static/css/ZkIMh91mDLu9z7.php
    • https://kpleads.com/kpleads.ali/wp/wp-includes/js/codemirror/njNvuZ7MIDRL.php
    • https://tafaghodi.ir/resume/files/EHEtRsJyIPR6o75.php
    • https://bhuttangill.com/wp-includes/js/tinymce/themes/inlite/Agk5yxu6D3SEW.php
    • https://wickerconsultingllc.com/wp-content/plugins/force-regenerate-thumbnails/jquery-ui/redmond/MGggfHzY0QH0Cp3.php
    • https://hamdanigroupofcompanies.com/wp-content/plugins/case-theme-import/includes/api/e1KqWCgL.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

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