Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d70d71fc8b0e460d…

MALICIOUS

Office (OLE)

710.0 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: cd0650a304a2fa6b3e7f80946189a0ed SHA-1: 948e9ec20c3c04dcea1833604f5d8737a333a7eb SHA-256: d70d71fc8b0e460d2d9d428a05335e9cc8ac3bed68d4fcfa382da0a65eed873d
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The Workbook_Open macro in the Excel file iterates through cells in Sheet1 to construct a string, which is then written to a file named 'qNoDocuments.sct' in the ALLUSERSPROFILE directory. This script is subsequently executed using mshta.exe, indicating a likely download and execution of a second-stage payload. The presence of WScript.Shell and mshta.exe references strongly suggests this behavior.

Heuristics 11

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
15231d11c9015869e58e7c07ace42bce773e623eddd27323b4e7eb115a2eb418
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1304 bytes