Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e5cf2f408a161b9b…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:39 Authoring application: Microsoft Excel First seen: 2021-06-13
MD5: 791573157cef917ba41b98c5e3a8fd9f SHA-1: 6ec4e418acc6c802de088cfd45df854ccc423d7e SHA-256: e5cf2f408a161b9bcdeeb71f70c050c7e4311d7dac337f11ba9cd38e475f4226
140 Risk Score

Malware Insights

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

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open entry point, which is a common technique for executing malicious code. The `RUN` function API was identified, suggesting the macro is designed to execute an external command or payload. No specific URLs or further script details were extracted to identify the exact payload or family.

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) 6414 bytes
SHA-256: c7552ddd7a5f9ab6e411a441d031e049cdb47a9f9bd73c27d2dc256fc7b98163
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 -  gmS
' 0018     23 LABEL : Cell Value, String Constant - AdhlelOh len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G146 
' 0018     26 LABEL : Cell Value, String Constant - CewMKhTHvsW len=0 
' 0018     22 LABEL : Cell Value, String Constant - dMIdyRW len=0 
' 0018     25 LABEL : Cell Value, String Constant - dZZOEMQMhb len=0 
' 0018     25 LABEL : Cell Value, String Constant - fZlAnFaZVO len=0 
' 0018     27 LABEL : Cell Value, String Constant - guPultzgIBbW len=0 
' 0018     27 LABEL : Cell Value, String Constant - MrLYZVwGosoA len=0 
' 0018     24 LABEL : Cell Value, String Constant - NcYUvVvhP len=0 
' 0018     25 LABEL : Cell Value, String Constant - OAVZJaTIDC len=0 
' 0018     20 LABEL : Cell Value, String Constant - okwnB len=0 
' 0018     26 LABEL : Cell Value, String Constant - pYBObefhwNP len=0 
' 0018     21 LABEL : Cell Value, String Constant - QjPSAb len=0 
' 0018     21 LABEL : Cell Value, String Constant - rHQUtn len=0 
' 0018     23 LABEL : Cell Value, String Constant - TktUrroD len=0 
' 0018     23 LABEL : Cell Value, String Constant - UIABiLBp len=0 
' 0018     26 LABEL : Cell Value, String Constant - vMPrZshPdQq len=0 
' 0018     26 LABEL : Cell Value, String Constant - XDYXnkEyqzP len=0 
' 0018     24 LABEL : Cell Value, String Constant - xRfzcGWuE len=0 
' 0018     23 LABEL : Cell Value, String Constant - YlYEwVsw len=0 
' 0018     25 LABEL : Cell Value, String Constant - yxCpRPDgrY 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)