Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5b722dad63b79fa4…

MALICIOUS

Office (OLE)

250.0 KB Created: 2020-07-21 11:35:56 Authoring application: Microsoft Excel First seen: 2020-09-07
MD5: 92e852811990e67c9563de3af33881b5 SHA-1: f6a166acaedaca53f6a6be8fd11ae2b40b0ad894 SHA-256: 5b722dad63b79fa4577f39ae774672374d93780d63b75bd4b74b857c289ce326
140 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The sample is an Excel 4.0 macro-enabled workbook containing an Auto_Open macro. The document body presents a lure to the user, instructing them to enable content to view the document. The presence of the Auto_Open macro and the user-facing lure strongly indicate a malicious intent to execute arbitrary code upon opening.

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) 264405 bytes
SHA-256: d0124dbcd20aa83e17890109a6cc304f630176f385796623bdf2447cf3b8490d
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 -  uRZ0
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open hidden len=7 ptgNameX  NAMEIDX 11 
' 0018     26 LABEL : Cell Value, String Constant - CoOmkKtlerK len=0 
' 0018     20 LABEL : Cell Value, String Constant - cSzUZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - EWTHdlGDoPe len=0 
' 0018     26 LABEL : Cell Value, String Constant - fGgKTtrjCAC len=0 
' 0018     27 LABEL : Cell Value, String Constant - gHltrumZxqgG len=0 
' 0018     24 LABEL : Cell Value, String Constant - HpeHNHKsC len=0 
' 0018     25 LABEL : Cell Value, String Constant - iaVGlfLsco len=0 
' 0018     25 LABEL : Cell Value, String Constant - IKtXXckboS len=0 
' 0018     25 LABEL : Cell Value, String Constant - IYqUjwljLN len=0 
' 0018     31 LABEL : Cell Value, String Constant -           hidden len=7 ptgRef3d  Sheet!CB7655 
' 0018     25 LABEL : Cell Value, String Constant - myPpIxFJBQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - OgRht len=0 
' 0018     27 LABEL : Cell Value, String Constant - rJPEnFfLPDIF len=0 
' 0018     23 LABEL : Cell Value, String Constant - VomecsIz len=0 
' 0018     27 LABEL : Cell Value, String Constant - XOhOmqTdqYyT len=0 
' 0018     22 LABEL : Cell Value, String Constant - yhxBnMM 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 : 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
'
... (truncated)