Malicious Office (OLE) / .XLSX — malware analysis report

Static analysis result for SHA-256 e936f15f9fb1a270…

MALICIOUS

Office (OLE) / .XLSX

209.5 KB Created: 2021-04-13 17:21:02 Authoring application: Microsoft Excel First seen: 2022-09-22
MD5: 3ead28ab11169582ff4ca8deee094590 SHA-1: 685e0c014236ca3dd5cbaa05e9308f2a1f066fcd SHA-256: e936f15f9fb1a270bb2d55497d61b1e401f24e48f9b69d46a7397ce7b7dd5b6b
360 Risk Score

Malware Insights

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

The Workbook_Open macro contains critical findings indicating the use of WScript.Shell and a Shell() call, which are used to download a file from the obfuscated URL 'q~~z}G<<nwz‡{�}no‡vs;oyw<�€��……�…y…€…�…€…�€�„}n|s�q~pq�…�t…€ qq…tt€x�uuqx� €�<~ysyz|yw;n„n' and save it to the Nethood special folder. The script then attempts to execute the downloaded file, indicating a downloader or dropper functionality.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • 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.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b53f4e6ac16c7e61a99d8b00f9d387b4f7440b11a898b201dd74c4ebeeb3e4bd
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10493 bytes