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

Static analysis result for SHA-256 046c1c4c4b574f18…

MALICIOUS

Office (OLE) / .XLS

99.0 KB Created: 2004-11-24 12:11:03 First seen: 2022-06-09
MD5: 0e3bfcc237be5f10f3288ec62cd50943 SHA-1: e4f380e48de006df0a75864c6175fefeebed2d06 SHA-256: 046c1c4c4b574f18de457ee9fcdfd8e7870f29ce279a5fe93ef21474aae3eaa3
568 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1140 Deobfuscate/Decode Files or Information T1071.001 Web Protocols

The XLS file contains VBA macros with Workbook_open and Auto_Open subroutines designed to execute automatically. The macros utilize WScript.Shell and WMI to launch processes, indicating an intent to download and execute a second-stage payload. The presence of a lure to enable macros and the detection by ClamAV as Xls.Virus.Mailcab-6702020-0 further support its malicious nature.

Heuristics 14

  • 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.
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • 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
  • 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
7e468b6dba11cf6906373ed4b762d2e3612a78af4155ca1d75547a8c306522e1
vba-macro oletools.olevba.extract_macros (decoded VBA source) 27117 bytes