Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 758b9507bc1f5537…

MALICIOUS

Office (OLE)

713.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: d07a6a28431175d0d6d9e968f4227478 SHA-1: 1e589c6d24f96ba2905bc4cd556d9e448ea7bb4b SHA-256: 758b9507bc1f55377b15abb76b3a415c6ba02cc24a9b95c73fdca4653f94b136
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 Client Execution: Mshta

The Workbook_Open macro executes a script that concatenates characters from the 'Sheet1' document body into a file named 'qAccounting2.sct' within the 'C:\ProgramData' directory. This script is then executed using mshta.exe, indicating an attempt to download and run a second-stage payload. The use of WScript.Shell and mshta.exe are critical indicators of malicious activity.

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
a4ca82e1072a4d370bbe104b993ce7bec9dd617b520e23bc24c72111c22c2da2
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1225 bytes