Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 827f097fd9946026…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:26:35 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 55642c8890fe95dc269707e7f9ffd036 SHA-1: c49ce07c5673a91e4f334306c3913e5ba7a86169 SHA-256: 827f097fd9946026f98e0d3abc84c18a7f531213e8d11d471a01726cd70e3333
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 itself is obfuscated, making it difficult to determine the exact payload, but the Auto_Open entry strongly suggests an attempt to execute arbitrary code upon opening the document.

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) 6672 bytes
SHA-256: 0a786f4eb6faa4c48e73b237eca4bb023c905416dee069fc3dd1ff76208f1e0f
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  gSnFmebRnG
' 0018     26 LABEL : Cell Value, String Constant - AImKlkqCjsa len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F183 
' 0018     20 LABEL : Cell Value, String Constant - dgODM len=0 
' 0018     23 LABEL : Cell Value, String Constant - dlblNDEf len=0 
' 0018     25 LABEL : Cell Value, String Constant - EZTiOOuOWE len=0 
' 0018     27 LABEL : Cell Value, String Constant - IQCIARpiGhom len=0 
' 0018     23 LABEL : Cell Value, String Constant - iUHNGRVe len=0 
' 0018     26 LABEL : Cell Value, String Constant - jDuAAqXEkSQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - JnCUhhCR len=0 
' 0018     27 LABEL : Cell Value, String Constant - KFWHXpvQxZSP len=0 
' 0018     24 LABEL : Cell Value, String Constant - miSBRJmlR len=0 
' 0018     23 LABEL : Cell Value, String Constant - PgkuBady len=0 
' 0018     22 LABEL : Cell Value, String Constant - PqJtTDF len=0 
' 0018     20 LABEL : Cell Value, String Constant - QMZvf len=0 
' 0018     20 LABEL : Cell Value, String Constant - rsBEx len=0 
' 0018     20 LABEL : Cell Value, String Constant - sVOKf len=0 
' 0018     23 LABEL : Cell Value, String Constant - TqLNpcGI len=0 
' 0018     27 LABEL : Cell Value, String Constant - UnhhrbmsrAZh len=0 
' 0018     24 LABEL : Cell Value, String Constant - uofrDaPfM len=0 
' 0018     24 LABEL : Cell Value, String Constant - vzRtMjJEN len=0 
' 0018     25 LABEL : Cell Value, String Constant - xXLLWwbCKn 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
' 00
... (truncated)