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

Static analysis result for SHA-256 7d35cea1b862c808…

MALICIOUS

Office (OOXML) / .XLSM

253.4 KB Created: 2021-04-12 15:42:47 UTC Authoring application: Microsoft Excel 15.0300
MD5: e27f47d9eaabf4eed6a3ce86d806aa24 SHA-1: af1d6436884c6e232a8356ef3bf43a60f2c7ef3e SHA-256: 7d35cea1b862c808a12513e77008281751d39242f532139862da1fda018e404e
270 Risk Score

Malware Insights

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

The critical heuristic 'OLE_VBA_HTTP_DROP_EXEC' indicates that the VBA macro within this XLSM file downloads a file from a URL and writes it to disk. The 'Workbook_Open' macro is present, suggesting automatic execution upon opening. The presence of multiple unknown-reputation URLs strongly suggests this is a downloader for a second-stage payload.

Heuristics 8

  • 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.
  • 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://cloud365office.com/backup/wp-includes/Text/Diff/Engine/c3sRfLmzlqKpetN.php
    • https://shivajischools.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/0iY0E7xuFGxn.php
    • https://lifetarget.com.pt/hWNJhFYiJ.php
    • https://dupgar.com/administracion/css/NoC9scyWLFNZ.php
    • https://psicologodotrabalho.com/zSdd64ga.php
    • https://ingtedis.com/resources/chAczm9XTT0VY4.php
    • https://rockin1000.com.br/code/img/SocialMedia/IThiDYMU.php
    • https://populusdei.co.ke/3od7mTyOyF.php
    • https://innovotechnologies.com/wp20/wp-content/themes/twentynineteen/classes/lU2FPpolGhz.php

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9db5dc25c33e4ea3745a602ed232a02cbc15cd19f51c1dbb41c095af52087fe6
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 62850 bytes
vbaProject_00.bin
312c80c8d80cc214bffe0ec95f882cdd66e72ddbe0b204bbfdc5f736d5c88c3b
vba-project OOXML VBA project: xl/vbaProject.bin 191488 bytes