Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d7389a5322eca9a6…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:32:30 Authoring application: Microsoft Excel First seen: 2021-10-14
MD5: 17d7fb3b3cc5e514f87586b6dd337a68 SHA-1: 7dcc65702c246ab0fe671a85b2688f4e37ef405a SHA-256: d7389a5322eca9a6892582a775a5959470e318c5c485d446da4f1909e30f7931
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-enabled workbook containing an Auto_Open defined name, which is a critical finding indicating automatic execution upon opening. The macros utilize dangerous formula APIs, specifically the RUN function, suggesting an attempt to execute arbitrary code. This pattern is commonly used to download and execute further malicious content.

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) 6525 bytes
SHA-256: 63adb7a4b5a53fe6b2aa865ed96b2de52a049a18b47b96915a3df66f20365d6d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  YbokiarO
' 0018     22 LABEL : Cell Value, String Constant - aGmTTzK len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I145 
' 0018     25 LABEL : Cell Value, String Constant - bKGTscJOQy len=0 
' 0018     27 LABEL : Cell Value, String Constant - cbALKnBaIThV len=0 
' 0018     21 LABEL : Cell Value, String Constant - CoRIus len=0 
' 0018     26 LABEL : Cell Value, String Constant - CthyqkmnNnY len=0 
' 0018     22 LABEL : Cell Value, String Constant - EibQBgf len=0 
' 0018     20 LABEL : Cell Value, String Constant - EpIWE len=0 
' 0018     23 LABEL : Cell Value, String Constant - ePVqBNNQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - LORLSZozyU len=0 
' 0018     25 LABEL : Cell Value, String Constant - ncKYXydrlF len=0 
' 0018     22 LABEL : Cell Value, String Constant - nDRIvAK len=0 
' 0018     25 LABEL : Cell Value, String Constant - oQCNapOvQX len=0 
' 0018     22 LABEL : Cell Value, String Constant - oVPNGpv len=0 
' 0018     20 LABEL : Cell Value, String Constant - QKEEb len=0 
' 0018     23 LABEL : Cell Value, String Constant - shLIaAgj len=0 
' 0018     24 LABEL : Cell Value, String Constant - UShMnQnTh len=0 
' 0018     20 LABEL : Cell Value, String Constant - wOvGG len=0 
' 0018     25 LABEL : Cell Value, String Constant - XKuDrxkkLB len=0 
' 0018     23 LABEL : Cell Value, String Constant - YMuCtIpx len=0 
' 0018     22 LABEL : Cell Value, String Constant - Yxfeeht 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 LA
... (truncated)