Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 1740346d3f6bcb88…

MALICIOUS

Office (OOXML) / .XLSM

219.2 KB Created: 2021-05-07 12:32:26 UTC Authoring application: Microsoft Excel 15.0300
MD5: 174daa4f9796883ea6fc58c985ef8d25 SHA-1: b634e158a39735eb5fd53e45f3fbc1ed76d64c2a SHA-256: 1740346d3f6bcb88429e0653a959c6b105371ac1f5465d5199ac89861802a44f
310 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

The sample is an XLSM file containing a Workbook_Open macro that utilizes Wscript.Shell, MSXML2.XMLHTTP, and ADODB.Stream to download and execute a second-stage payload. The macro attempts to download from multiple URLs, indicating a downloader functionality. The ClamAV detection as 'Xls.Downloader.TrendMicroDridex0521-9860965-0' further supports this assessment.

Heuristics 9

  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Xls.Downloader.TrendMicroDridex0521-9860965-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.TrendMicroDridex0521-9860965-0
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — 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://protetoestufas.com.br/plugins/rainbow/js/language/hnejZqaw.php
    • https://chefalle.com/wp-includes/sodium_compat/namespaced/Core/ChaCha20/4Uf6CSbEGj3.php
    • https://repvoice.com/ltYn1z6L3M0Dr4.php
    • https://ramdevagroindustries.com/images/blog/WZVRzcoUaXZ.php
    • https://cartoonist.me.uk/wp-content/plugins/jetpack/scss/_utilities/us1svv7BFHAuE.php
    • https://ncc-services.com/ncc_hr/js/tinymce/plugins/advlist/Qw3HExfj.php
    • https://a14.fiveghosting.com/fBSkQClRc.php
    • https://ctfiladelfia.projetosestruturais.com/LR7u0G1zGjUJ.php
    • https://co-deporte.com/wp-content/plugins/revslider/includes/InstagramScraper/DR34CZJP1juKE.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
0000a54f13f7809551a2bc4f839b2e7c9085bed2a75c931cdca793823c3ec1f7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 41432 bytes
vbaProject_00.bin
fbfef6fae735ed8c6a812fb58306dfbe19c58f8d85fe27b220cf16d77a101713
vba-project OOXML VBA project: xl/vbaProject.bin 254464 bytes