Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1d2da87921858342…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:40:24 Authoring application: Microsoft Excel First seen: 2021-10-23
MD5: 215cf3b8e00a1269075dc4146150c778 SHA-1: 61109fbb8fa29144c638f25a7348dc3ac88458bf SHA-256: 1d2da87921858342d455195b94043dc2b3c49d079e968639116cf5a338f1d09f
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. The macros utilize dangerous formula APIs, including a RUN function, indicating an attempt to execute arbitrary code. The presence of an Auto_Open entry suggests the macro will execute automatically upon opening the workbook, likely leading to further malicious activity.

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) 6472 bytes
SHA-256: b888186068627abc22e88683e0d39ebe47f49d6f532cc99bdbc3f03de4528ef7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  aHgSy
' 0018     24 LABEL : Cell Value, String Constant - aqNoYhfFs len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H148 
' 0018     20 LABEL : Cell Value, String Constant - dRchp len=0 
' 0018     20 LABEL : Cell Value, String Constant - dRDZf len=0 
' 0018     20 LABEL : Cell Value, String Constant - dVYGX len=0 
' 0018     26 LABEL : Cell Value, String Constant - EfFhVoIpIiM len=0 
' 0018     20 LABEL : Cell Value, String Constant - ErLwH len=0 
' 0018     20 LABEL : Cell Value, String Constant - FdLpI len=0 
' 0018     23 LABEL : Cell Value, String Constant - GGnbgDkW len=0 
' 0018     25 LABEL : Cell Value, String Constant - IkskRUURds len=0 
' 0018     21 LABEL : Cell Value, String Constant - INtOTl len=0 
' 0018     25 LABEL : Cell Value, String Constant - jdjZSxezpM len=0 
' 0018     24 LABEL : Cell Value, String Constant - KlejibAfa len=0 
' 0018     24 LABEL : Cell Value, String Constant - OBgJFxqHO len=0 
' 0018     24 LABEL : Cell Value, String Constant - PRqrctyjK len=0 
' 0018     26 LABEL : Cell Value, String Constant - QQCQiCvVbOX len=0 
' 0018     27 LABEL : Cell Value, String Constant - rgZCIulOLRQt len=0 
' 0018     27 LABEL : Cell Value, String Constant - rkuYGwZKytrX len=0 
' 0018     25 LABEL : Cell Value, String Constant - SUPMJVJOGj len=0 
' 0018     24 LABEL : Cell Value, String Constant - tdPDEwvKu len=0 
' 0018     22 LABEL : Cell Value, String Constant - WXTAwUw 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 
... (truncated)