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

Static analysis result for SHA-256 7228da3a5e59bd17…

MALICIOUS

Office (OOXML) / .XLSM

71.4 KB Created: 2021-04-28 11:56:07 UTC Authoring application: Microsoft Excel 15.0300
MD5: 0985a8c228366342e742868e4bd897b4 SHA-1: 2f1249e87c51f6d5960e7323d9bc659e859d853e SHA-256: 7228da3a5e59bd17489f126693fe65519c683198cb40bfd7ae3dec2d6ac707cf
330 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1566.001 Spearphishing Attachment

The sample is an XLSM file containing obfuscated VBA macros. The Workbook_Open macro is designed to download and execute a second-stage payload from one of the embedded URLs. This behavior is consistent with a downloader malware, likely distributed via spearphishing.

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.
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • ClamAV: Xls.Downloader.DridexDarkGreen1020210-9905041-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.DridexDarkGreen1020210-9905041-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.
  • 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://trulogics.co.in/COPYRIGHT/img/2pM99w0uC2m58n.php
    • https://mahdi-holdings.com/js/revolution-slider/js/extensions/source/MkIgBvTY.php
    • https://test2.multiversidadglocal.org/availability/condition/group/yui/build/p0R6P2rEX.php
    • https://projectedconsulting.com.au/wp-content/themes/twentynineteen/template-parts/content/BgKQXNRm90Huo.php
    • https://haltrace.com/wp-content/themes/bb-mobile-application/woocommerce/checkout/WHHjxDARlel6.php
    • https://almizan.askit.my/nimda/imej/aSWqgaEz9.php
    • https://help.itkt.uk/inc/tiny_mce/5.4.2/skins/content/co28fzw9c07vS.php
    • https://missaoeducativaestreladoamanha.com/wp-content/plugins/astra-widgets/classes/widgets/jossgECyenv0dDZ.php
    • https://bmwkings.gr/wp-content/plugins/wordpress-seo-premium/classes/blocks/JlmAWNjxtG.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
2600fb3ffe6ba88864723313b4363421c9d4f5a49401f774764d59c29fe0f467
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 10418 bytes
vbaProject_00.bin
7ef297f5773a7e77d3ec6337a31cf52340cd01bdce40a2f2fdf56c2dea0af835
vba-project OOXML VBA project: xl/vbaProject.bin 58368 bytes