Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 af9eb3c213035608…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:39:11 Authoring application: Microsoft Excel First seen: 2021-07-07
MD5: 2ded7648a1d757e97734879c0ec660fb SHA-1: 66669ac58fc778c1db86ed9009816e79ad0642dd SHA-256: af9eb3c21303560866c5371613fadb8f98c2c7d69f42d5e0fd3934ef5abfffe7
140 Risk Score

Malware Insights

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

The file is an Excel macro-enabled document containing Excel 4.0 (XLM) macros. The critical heuristic firings indicate the presence of an Auto_Open defined name, which is a common technique for automatically executing malicious code upon opening the document. The macro sheet also uses dangerous formula APIs, suggesting it's designed to perform harmful actions.

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) 6648 bytes
SHA-256: 04601c359c501e1a29a5934daccab026770687b4c2220baf822c1a289e9b9e8e
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 -  eZR
' 0018     21 LABEL : Cell Value, String Constant - adItzA len=0 
' 0018     21 LABEL : Cell Value, String Constant - aLVBQp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B173 
' 0018     26 LABEL : Cell Value, String Constant - bCEYsHyWRUY len=0 
' 0018     26 LABEL : Cell Value, String Constant - geePYOLEYfS len=0 
' 0018     27 LABEL : Cell Value, String Constant - gtYYCqEiiatF len=0 
' 0018     26 LABEL : Cell Value, String Constant - JaDtMPVRCMX len=0 
' 0018     21 LABEL : Cell Value, String Constant - KNOnwK len=0 
' 0018     26 LABEL : Cell Value, String Constant - MBKDEzKOLPF len=0 
' 0018     25 LABEL : Cell Value, String Constant - OzVffIAyPM len=0 
' 0018     24 LABEL : Cell Value, String Constant - PlHUBqRcq len=0 
' 0018     22 LABEL : Cell Value, String Constant - rTNZkCT len=0 
' 0018     26 LABEL : Cell Value, String Constant - rTwQPxpUxFz len=0 
' 0018     24 LABEL : Cell Value, String Constant - SjuwIXezv len=0 
' 0018     24 LABEL : Cell Value, String Constant - tDrOxypGp len=0 
' 0018     22 LABEL : Cell Value, String Constant - UYhJEku len=0 
' 0018     26 LABEL : Cell Value, String Constant - VCybvDUDAcF len=0 
' 0018     26 LABEL : Cell Value, String Constant - vQIpVmIKgrP len=0 
' 0018     25 LABEL : Cell Value, String Constant - VuacsWyxZw len=0 
' 0018     25 LABEL : Cell Value, String Constant - WnCwyoPFfB len=0 
' 0018     20 LABEL : Cell Value, String Constant - wwDeS 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)