Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7856b7e72a2845b2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:24 Authoring application: Microsoft Excel First seen: 2021-06-28
MD5: b5662c225848af6bcb552d7d8308fca7 SHA-1: 7b985c26b8f9a1455e7a165dd2a2a34f800baf80 SHA-256: 7856b7e72a2845b24e4bf5c4899c983da719d8ed8edcb66cf9d220bd84178760
140 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro sheet containing an Auto_Open defined name, indicating an attempt to automatically execute code upon opening. Heuristics identified the use of dangerous formula APIs within the XLM macro, suggesting it is designed to perform malicious actions. The specific actions are not fully discernible due to truncation, but the presence of Auto_Open points to an execution attempt.

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) 6574 bytes
SHA-256: 38326e78c613d3202e37227a1c2b35851f3aba5c64da16e0dbe076919f5bf89f
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XYSE
' 0018     27 LABEL : Cell Value, String Constant - akHTBKxZihHM len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A160 
' 0018     24 LABEL : Cell Value, String Constant - avdukJcrn len=0 
' 0018     27 LABEL : Cell Value, String Constant - cCZHFwWmqeDM len=0 
' 0018     25 LABEL : Cell Value, String Constant - CgRqsnCVyq len=0 
' 0018     26 LABEL : Cell Value, String Constant - CzOPyffcMDy len=0 
' 0018     20 LABEL : Cell Value, String Constant - DMhfA len=0 
' 0018     20 LABEL : Cell Value, String Constant - FQgkK len=0 
' 0018     20 LABEL : Cell Value, String Constant - GoMLt len=0 
' 0018     21 LABEL : Cell Value, String Constant - HxJNbR len=0 
' 0018     26 LABEL : Cell Value, String Constant - KvESKANTQCz len=0 
' 0018     21 LABEL : Cell Value, String Constant - MUqNUE len=0 
' 0018     22 LABEL : Cell Value, String Constant - mXMxqdx len=0 
' 0018     21 LABEL : Cell Value, String Constant - OdemHx len=0 
' 0018     21 LABEL : Cell Value, String Constant - oSYKoz len=0 
' 0018     23 LABEL : Cell Value, String Constant - QXVqdsOv len=0 
' 0018     27 LABEL : Cell Value, String Constant - TQqlAUudbidz len=0 
' 0018     25 LABEL : Cell Value, String Constant - uymOVmkMvv len=0 
' 0018     25 LABEL : Cell Value, String Constant - xdgClxZBCC len=0 
' 0018     23 LABEL : Cell Value, String Constant - YiFRyxQu len=0 
' 0018     21 LABEL : Cell Value, String Constant - yIPGxj 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 LAB
... (truncated)