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

Static analysis result for SHA-256 00ba4f059c941507…

MALICIOUS

Office (OLE) / .XLSX

751.0 KB Created: 2021-04-07 18:45:26 Authoring application: Microsoft Excel
MD5: 87af607899c7479d4e6f80a0acb4e3c8 SHA-1: 4722915714d0864eaac6a318f6d1b8d6f2403971 SHA-256: 00ba4f059c9415076827016e1cab469b927fc59b7cbffabf210f38f9a0ed4f1c
380 Risk Score

Malware Insights

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

The sample contains VBA macros that are automatically executed upon opening the workbook, as indicated by the Workbook_Open event. These macros utilize WScript.Shell to download and execute a second-stage payload, a common technique for malware droppers. The document body explicitly instructs the user to 'Enable content to display all parts of this document', acting as a lure to bypass macro security.

Heuristics 9

  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
64a545ebc812fc7c3f6f906a35fe61edf236738a63a07cda616b3a47871b54ee
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1842114 bytes