Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7d3e41eaea9aebde…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:32:23 Authoring application: Microsoft Excel First seen: 2021-09-25
MD5: 19bc49f25090c69dc534c2beac7bbc6c SHA-1: 1157747e7a092a7205cf879b55b5bf57a68779c2 SHA-256: 7d3e41eaea9aebde91b638cbd9f317ae1be8617b31f3b2c8d49a71fa5ccad8b7
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 defined name, which is a critical finding indicating potential for automatic execution upon opening. The presence of dangerous formula APIs like RUN further suggests that the macro is designed to execute arbitrary code. While the exact payload is not discernible from the provided evidence, the mechanism points to a macro-based attack designed to run malicious commands.

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) 6462 bytes
SHA-256: b29407bbb7c8715ececb9f4559739b7648c5899d9f8951bedae7178c046ffbdf
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  MdyQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C192 
' 0018     26 LABEL : Cell Value, String Constant - fKLrjRGTXTz len=0 
' 0018     20 LABEL : Cell Value, String Constant - gIBQd len=0 
' 0018     22 LABEL : Cell Value, String Constant - hcCfmXS len=0 
' 0018     25 LABEL : Cell Value, String Constant - hPpSizESDQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - IpNWLGU len=0 
' 0018     25 LABEL : Cell Value, String Constant - JrRovdAwzB len=0 
' 0018     22 LABEL : Cell Value, String Constant - kmBkaaI len=0 
' 0018     22 LABEL : Cell Value, String Constant - lZKTymq len=0 
' 0018     27 LABEL : Cell Value, String Constant - nkMzZqUoNMqD len=0 
' 0018     23 LABEL : Cell Value, String Constant - OsJOQPVp len=0 
' 0018     22 LABEL : Cell Value, String Constant - RZKQoDS len=0 
' 0018     24 LABEL : Cell Value, String Constant - sHJtJhvij len=0 
' 0018     24 LABEL : Cell Value, String Constant - sSmteNYHW len=0 
' 0018     22 LABEL : Cell Value, String Constant - tiSZVTj len=0 
' 0018     25 LABEL : Cell Value, String Constant - UFoQbPqcSv len=0 
' 0018     26 LABEL : Cell Value, String Constant - uSXXzVTUwjD len=0 
' 0018     23 LABEL : Cell Value, String Constant - WYFBbfhz len=0 
' 0018     20 LABEL : Cell Value, String Constant - xINrv len=0 
' 0018     23 LABEL : Cell Value, String Constant - YOLjrxVO len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZxZJyRjjuDeU 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     1
... (truncated)