Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2cd576973649096b…

MALICIOUS

Office (OLE)

85.0 KB Created: 2020-07-02 15:46:44 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: dbbb1253e4f245c250362d71e25f4bf0 SHA-1: eac34d4c645879d6f6708d8508a5876af085f2d0 SHA-256: 2cd576973649096b2fc516e4a38e795a97f7badfda1f79b5936960eaf8975df9
220 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro-enabled document detected as a dropper by ClamAV. It contains an Auto_Open macro, which is a common technique to execute malicious code when the workbook is opened. The macro uses dangerous formula APIs, indicating it's designed to perform harmful actions, likely downloading and executing a second-stage payload.

Heuristics 5

  • ClamAV: Xls.Dropper.Agent-8724718-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-8724718-0
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

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) 25642 bytes
SHA-256: 40b7ea2854d69d9a35e152a5f37021deaaded79798adc93e2cf6feddd6747aae
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, very hidden -  Sheet
' 0085     10 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  m
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     20 LABEL : Cell Value, String Constant - aJJww len=0 
' 0018     20 LABEL : Cell Value, String Constant - auNIw len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!HZ46840 
' 0018     22 LABEL : Cell Value, String Constant - avjsQLo len=0 
' 0018     20 LABEL : Cell Value, String Constant - Cdlxa len=0 
' 0018     21 LABEL : Cell Value, String Constant - CeuNhB len=0 
' 0018     20 LABEL : Cell Value, String Constant - cFjUP len=0 
' 0018     20 LABEL : Cell Value, String Constant - CRJtb len=0 
' 0018     22 LABEL : Cell Value, String Constant - dlmkpaU len=0 
' 0018     24 LABEL : Cell Value, String Constant - DPdLcOSrg len=0 
' 0018     21 LABEL : Cell Value, String Constant - dxaftE len=0 
' 0018     23 LABEL : Cell Value, String Constant - dXpmKfEK len=0 
' 0018     21 LABEL : Cell Value, String Constant - ekgsvK len=0 
' 0018     20 LABEL : Cell Value, String Constant - exGua len=0 
' 0018     23 LABEL : Cell Value, String Constant - exshNWXV len=0 
' 0018     23 LABEL : Cell Value, String Constant - EYBGTdyM len=0 
' 0018     23 LABEL : Cell Value, String Constant - EYPGTeNM len=0 
' 0018     24 LABEL : Cell Value, String Constant - feuknfEhM len=0 
' 0018     23 LABEL : Cell Value, String Constant - fhqBvZoH len=0 
' 0018     23 LABEL : Cell Value, String Constant - FJXhDQDp len=0 
' 0018     22 LABEL : Cell Value, String Constant - gQxBVxC len=0 
' 0018     20 LABEL : Cell Value, String Constant - HcenL len=0 
' 0018     24 LABEL : Cell Value, String Constant - hLmXnrtlL len=0 
' 0018     21 LABEL : Cell Value, String Constant - iKSeHa len=0 
' 0018     21 LABEL : Cell Value, String Constant - JFRiwF len=0 
' 0018     20 LABEL : Cell Value, String Constant - JIYbe len=0 
' 0018     24 LABEL : Cell Value, String Constant - JSqlOQwDW len=0 
' 0018     21 LABEL : Cell Value, String Constant - kDmJsE len=0 
' 0018     22 LABEL : Cell Value, String Constant - KrgBrhv len=0 
' 0018     21 LABEL : Cell Value, String Constant - KWKHBT len=0 
' 0018     20 LABEL : Cell Value, String Constant - LQmtB len=0 
' 0018     22 LABEL : Cell Value, String Constant - MvHNJUl len=0 
' 0018     24 LABEL : Cell Value, String Constant - mWscntpBS len=0 
' 0018     29 LABEL : Cell Value, String Constant - OfRVvjhbtqNjIN len=0 
' 0018     21 LABEL : Cell Value, String Constant - OsGFVY len=0 
' 0018     20 LABEL : Cell Value, String Constant - pagoF len=0 
' 0018     24 LABEL : Cell Value, String Constant - pQPfVYQoS len=0 
' 0018     20 LABEL : Cell Value, String Constant - QMvJi len=0 
' 0018     23 LABEL : Cell Value, String Constant - QQPTFxFj len=0 
' 0018     23 LABEL : Cell Value, String Constant - qXqwFtZi len=0 
' 0018     23 LABEL : Cell Value, String Constant - Riujgasp len=0 
' 0018     24 LABEL : Cell Value, String Constant - rVlSYrzoU len=0 
' 0018     22 LABEL : Cell Value, String Constant - ssIMPHf len=0 
' 0018     24 LABEL : Cell Value, String Constant - TzUZhXDMM len=0 
' 0018     23 LABEL : Cell Value, String Constant - tZxPpPaU len=0 
' 0018     24 LABEL : Cell Value, String Constant - ukQZZYdOH len=0 
' 0018     21 LABEL : Cell Value, String Constant - unXFIc len=0 
' 0018     23 LABEL : Cell Value, String Constant - UxNtzTbR len=0 
' 0018     20 LABEL : Cell Value, String Constant - VXrUZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - wFStNs len=0 
' 0018     22 LABEL : Cell Value, String Constant - wrsqvga len=0 
' 0018     20 LABEL : Cell Value, String Constant - WuKDm len=0 
' 0018     22 LABEL : Cell Value, String Constant - WWVaLRZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - XgsVoUr len=0 
' 0018     29 LABEL : Cell Value, String Constant - XriZmwffTFgDPd len=0 
' 0018     24 LABEL : Cell Value, String Constant - YlZMmJIjR len=0 
' 0018     23 LABEL : Ce
... (truncated)