Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6194413caef37701…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:22 Authoring application: Microsoft Excel First seen: 2021-06-28
MD5: daf48b451ee1663f4a9f4c4e2b681fda SHA-1: 56c7aa0878fc8de9cb266a85d71d4f69943fb979 SHA-256: 6194413caef37701f7b21eb403177be1adaa0de4f8830f97f84f091e7024a86e
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is identified as malicious due to the presence of Excel 4.0 (XLM) macros, specifically an Auto_Open defined name. This indicates the macro sheet is configured to automatically execute code upon opening the workbook. The heuristics also flag the use of dangerous formula APIs within the XLM macro, suggesting it's designed to perform malicious actions such as downloading and executing a secondary payload.

Heuristics 3

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6882 bytes
SHA-256: 7f1e7f8199d6768b881495bc960b66cebb6a23a73ece7fcc8bd4068a602ecadb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  vJVVROEfsOo
' 0018     20 LABEL : Cell Value, String Constant - AkOKM len=0 
' 0018     26 LABEL : Cell Value, String Constant - aKUWmeCjsWm len=0 
' 0018     24 LABEL : Cell Value, String Constant - ALaganeIJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A179 
' 0018     20 LABEL : Cell Value, String Constant - cAXHO len=0 
' 0018     24 LABEL : Cell Value, String Constant - DDDrkwZmt len=0 
' 0018     27 LABEL : Cell Value, String Constant - dQeHfuvxyilr len=0 
' 0018     20 LABEL : Cell Value, String Constant - EiSLs len=0 
' 0018     27 LABEL : Cell Value, String Constant - FOAsQxKBBKUK len=0 
' 0018     26 LABEL : Cell Value, String Constant - gftVQZMurZd len=0 
' 0018     22 LABEL : Cell Value, String Constant - hoawUqk len=0 
' 0018     23 LABEL : Cell Value, String Constant - klKzzyjz len=0 
' 0018     20 LABEL : Cell Value, String Constant - mwqmt len=0 
' 0018     23 LABEL : Cell Value, String Constant - ofqWGDLe len=0 
' 0018     24 LABEL : Cell Value, String Constant - ouMHLIfls len=0 
' 0018     21 LABEL : Cell Value, String Constant - qJMrNt len=0 
' 0018     25 LABEL : Cell Value, String Constant - rHCHAkSoXc len=0 
' 0018     24 LABEL : Cell Value, String Constant - RYvWsvBGz len=0 
' 0018     25 LABEL : Cell Value, String Constant - ToZgqsozrQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - xyMNmTbVbdhR len=0 
' 0018     27 LABEL : Cell Value, String Constant - zKxuDwsxyhpf len=0 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST

... (truncated)