Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9eb0b3b72d1d5eb0…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:26:01 Authoring application: Microsoft Excel First seen: 2021-06-13
MD5: b96d574884568fb774560200eeb54160 SHA-1: 461085f623d7d4efd812214a433ebeacd761b2f0 SHA-256: 9eb0b3b72d1d5eb07c6b92ecf0dd9411aa7d68cb380161e8f8c14a9283849def
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 malicious execution. The presence of dangerous formula APIs like RUN further supports this. The macro sheet is designed to execute arbitrary commands upon opening, likely leading to further stages of infection.

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) 6550 bytes
SHA-256: 81da03307b6fc2e5d366f6b1e8ec862f8dfede71c127325e92ebc80834793952
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 -  ohXkW
' 0018     26 LABEL : Cell Value, String Constant - aBysRTokqrY len=0 
' 0018     24 LABEL : Cell Value, String Constant - ArDYmZADw len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B132 
' 0018     25 LABEL : Cell Value, String Constant - azBxTXnmze len=0 
' 0018     24 LABEL : Cell Value, String Constant - dISJYvlDN len=0 
' 0018     27 LABEL : Cell Value, String Constant - dITFcnQHRMoZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - EpaUCKcxsnKL len=0 
' 0018     20 LABEL : Cell Value, String Constant - GAgGh len=0 
' 0018     26 LABEL : Cell Value, String Constant - IaXaixsebFN len=0 
' 0018     27 LABEL : Cell Value, String Constant - lRmhDfdUkUFi len=0 
' 0018     21 LABEL : Cell Value, String Constant - NEHnUp len=0 
' 0018     22 LABEL : Cell Value, String Constant - NnwaHfg len=0 
' 0018     24 LABEL : Cell Value, String Constant - NQHWOzUvu len=0 
' 0018     21 LABEL : Cell Value, String Constant - NUSKzU len=0 
' 0018     26 LABEL : Cell Value, String Constant - OfzytFgiJke len=0 
' 0018     20 LABEL : Cell Value, String Constant - tXEQm len=0 
' 0018     22 LABEL : Cell Value, String Constant - uPjWNVn len=0 
' 0018     21 LABEL : Cell Value, String Constant - VvORyU len=0 
' 0018     22 LABEL : Cell Value, String Constant - XzKQSeK len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZQnZEtQS len=0 
' 0018     23 LABEL : Cell Value, String Constant - zwFGWnpP 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    
... (truncated)