Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e9bab7deb993bd51…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:36:01 Authoring application: Microsoft Excel First seen: 2021-06-28
MD5: 77e22670a0751f3417b04ab9cd666505 SHA-1: f022da7b11127001a7b1acb9a047703822bbd41d SHA-256: e9bab7deb993bd51e4ca17d9959760ed59f38b3146692a2ea918e62ae8f6c425
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file is an Excel document containing Excel 4.0 macros, specifically an Auto_Open function. This function is designed to automatically execute when the workbook is opened, indicating a likely attempt to run malicious code. The presence of dangerous formula APIs further supports this assessment.

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) 6455 bytes
SHA-256: cc03f7597cd8d6dd307a406a78a709475a49f8d740e82b2b9509f93ebe78c23d
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 -  dcq
' 0018     22 LABEL : Cell Value, String Constant - ABhostF len=0 
' 0018     26 LABEL : Cell Value, String Constant - aeJopOFkaIO len=0 
' 0018     22 LABEL : Cell Value, String Constant - AJRYcmU len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H148 
' 0018     21 LABEL : Cell Value, String Constant - AXmMBR len=0 
' 0018     24 LABEL : Cell Value, String Constant - BPXwuytST len=0 
' 0018     24 LABEL : Cell Value, String Constant - bRrHNWnmU len=0 
' 0018     20 LABEL : Cell Value, String Constant - dIjoA len=0 
' 0018     23 LABEL : Cell Value, String Constant - DUdkeTSj len=0 
' 0018     21 LABEL : Cell Value, String Constant - GNxVHJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - GqBchuA len=0 
' 0018     24 LABEL : Cell Value, String Constant - GqLFWEyGY len=0 
' 0018     25 LABEL : Cell Value, String Constant - gUnBrcWTRN len=0 
' 0018     20 LABEL : Cell Value, String Constant - isVmt len=0 
' 0018     21 LABEL : Cell Value, String Constant - opAYQq len=0 
' 0018     22 LABEL : Cell Value, String Constant - pyoAnXd len=0 
' 0018     24 LABEL : Cell Value, String Constant - RyWzmpyuP len=0 
' 0018     21 LABEL : Cell Value, String Constant - UqepMW len=0 
' 0018     26 LABEL : Cell Value, String Constant - wKkungZUCyK len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZdReKBLm len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZwLmWvghwzLn 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 LABELSST : 
... (truncated)