Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e26ba6a70dbf8fb2…

MALICIOUS

Office (OLE)

41.0 KB Created: 2020-11-13 16:16:18 Authoring application: Microsoft Excel First seen: 2021-11-20
MD5: 49a27bf0d4d566fad9a07369dce45c82 SHA-1: 71067228bb3854108d7f4e0204d21e1b484823c7 SHA-256: e26ba6a70dbf8fb22c1e25def81dcd61a175ffb95dcf5df67531f4b47b1f6ef5
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open function, which is a known technique for executing malicious code upon opening the document. The presence of dangerous formula APIs within the macro sheet indicates a high likelihood of malicious intent, likely to download and execute a second-stage 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) 9327 bytes
SHA-256: f3309368acfbc4fa42761bfbe3f37360cb252d788ed559c594a86153cb5963e6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  qzA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A177 
' 0018     27 LABEL : Cell Value, String Constant - byRRzINOIQyl len=0 
' 0018     25 LABEL : Cell Value, String Constant - cedJmtEYrn len=0 
' 0018     21 LABEL : Cell Value, String Constant - DDBtic len=0 
' 0018     22 LABEL : Cell Value, String Constant - dDeYvuE len=0 
' 0018     21 LABEL : Cell Value, String Constant - DgzhTW len=0 
' 0018     20 LABEL : Cell Value, String Constant - fXhFa len=0 
' 0018     21 LABEL : Cell Value, String Constant - hkzxrq len=0 
' 0018     20 LABEL : Cell Value, String Constant - IxUOW len=0 
' 0018     24 LABEL : Cell Value, String Constant - LBEyCbIJS len=0 
' 0018     26 LABEL : Cell Value, String Constant - mOJOWMfHJqZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - PYVyU len=0 
' 0018     24 LABEL : Cell Value, String Constant - pzOsqfBVw len=0 
' 0018     27 LABEL : Cell Value, String Constant - QLoeBvFGOuRL len=0 
' 0018     23 LABEL : Cell Value, String Constant - qskiFnkW len=0 
' 0018     24 LABEL : Cell Value, String Constant - uvdSzHNpp len=0 
' 0018     20 LABEL : Cell Value, String Constant - uZCwl len=0 
' 0018     24 LABEL : Cell Value, String Constant - vXBGSPmgc len=0 
' 0018     26 LABEL : Cell Value, String Constant - xLfIBFhxNFb len=0 
' 0018     22 LABEL : Cell Value, String Constant - YcYREOR len=0 
' 0018     25 LABEL : Cell Value, String Constant - ymQMASeXTk 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
' 00fd     10 LABELSS
... (truncated)