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

Static analysis result for SHA-256 1c7e44d52ddc71da…

MALICIOUS

Office (OLE) / .XLSX

1.80 MB Created: 1996-12-17 01:32:42 Authoring application: Microsoft Excel First seen: 2023-02-06
MD5: 9f27d0dbb36c09f69015122a161fb06a SHA-1: 7960b3367b390dd0a951c6b4e2caabc42d31cdfe SHA-256: 1c7e44d52ddc71da76b296b626830533de7e87e547bf882d09bbc460221f0493
528 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1218.011 System Binary Proxy Execution: Rundll32 T1059.001 PowerShell

The file contains VBA macros that leverage `Shell()` and `WScript.Shell` to execute arbitrary code, a common technique for downloading and executing secondary payloads. The presence of `OLE_VBA_WMI_PROCESS_CREATE` and `OLE_VBA_PCODE_AUTOEXEC_EXEC` further indicates malicious intent. The ClamAV detection name `Xls.Virus.Mailcab-6702020-0` suggests a known malicious variant.

Heuristics 13

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • ClamAV: Xls.Virus.Mailcab-6702020-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Virus.Mailcab-6702020-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
  • 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)

Extracted artifacts 1

Files carved from inside the sample during analysis.

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