Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 587297cadc5ae9c0…

MALICIOUS

Office (OLE)

89.0 KB Created: 2020-07-02 15:46:44 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: 75396e11d6cc96000d39ec1d3018d034 SHA-1: e38d6f44188c3aa59d153d15dc6acde081b8daa5 SHA-256: 587297cadc5ae9c0b834017d49e342b04a9e6978a7a5848439ddd338c1f1d88f
220 Risk Score

Malware Insights

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

The sample is an Excel file containing Excel 4.0 macros, specifically an Auto_Open macro, which is a known technique for executing malicious code upon opening. Heuristics indicate the use of dangerous formula APIs and a lure to enable macros, strongly suggesting a dropper functionality. ClamAV detection further confirms its malicious nature as Xls.Dropper.Agent-8803523-0.

Heuristics 5

  • ClamAV: Xls.Dropper.Agent-8803523-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-8803523-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) 28911 bytes
SHA-256: 7d195bdd51617349f371f2f566cbfc82b4eda94c02a1385bb417298945887e45
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 -  U
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!DJ17494 
' 0018     23 LABEL : Cell Value, String Constant - BbBMGYIe len=0 
' 0018     21 LABEL : Cell Value, String Constant - BlfmQd len=0 
' 0018     21 LABEL : Cell Value, String Constant - BXtSKG len=0 
' 0018     21 LABEL : Cell Value, String Constant - cJPiqg len=0 
' 0018     21 LABEL : Cell Value, String Constant - cswzqQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - CWbjZFOO len=0 
' 0018     23 LABEL : Cell Value, String Constant - dDroiBxV len=0 
' 0018     22 LABEL : Cell Value, String Constant - DhGYjYV len=0 
' 0018     22 LABEL : Cell Value, String Constant - DHVSBOn len=0 
' 0018     22 LABEL : Cell Value, String Constant - DIflsXk len=0 
' 0018     23 LABEL : Cell Value, String Constant - EPgvDEOl len=0 
' 0018     22 LABEL : Cell Value, String Constant - EPJbYvR len=0 
' 0018     20 LABEL : Cell Value, String Constant - EZbku len=0 
' 0018     23 LABEL : Cell Value, String Constant - eZDFkFLS len=0 
' 0018     28 LABEL : Cell Value, String Constant - EZPGUeNNzmNjw len=0 
' 0018     20 LABEL : Cell Value, String Constant - FbxWO len=0 
' 0018     20 LABEL : Cell Value, String Constant - fmFND len=0 
' 0018     23 LABEL : Cell Value, String Constant - FwWldOvx len=0 
' 0018     22 LABEL : Cell Value, String Constant - fxuSCMS len=0 
' 0018     21 LABEL : Cell Value, String Constant - gHhsmF len=0 
' 0018     21 LABEL : Cell Value, String Constant - GyGkxw len=0 
' 0018     21 LABEL : Cell Value, String Constant - hJRdGZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - hpTgf len=0 
' 0018     20 LABEL : Cell Value, String Constant - HqCHD len=0 
' 0018     24 LABEL : Cell Value, String Constant - HtgHdcFlD len=0 
' 0018     21 LABEL : Cell Value, String Constant - hutKNQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - ibLsvQsw len=0 
' 0018     23 LABEL : Cell Value, String Constant - icjNoZpt len=0 
' 0018     20 LABEL : Cell Value, String Constant - idech len=0 
' 0018     20 LABEL : Cell Value, String Constant - Iowxv len=0 
' 0018     21 LABEL : Cell Value, String Constant - IZoKwH len=0 
' 0018     20 LABEL : Cell Value, String Constant - jxTVe len=0 
' 0018     20 LABEL : Cell Value, String Constant - jzDGx len=0 
' 0018     21 LABEL : Cell Value, String Constant - jZQeoX len=0 
' 0018     23 LABEL : Cell Value, String Constant - KWmCXLUr len=0 
' 0018     21 LABEL : Cell Value, String Constant - KWySxV len=0 
' 0018     23 LABEL : Cell Value, String Constant - KzfaaZeP len=0 
' 0018     23 LABEL : Cell Value, String Constant - LdDdoiBk len=0 
' 0018     27 LABEL : Cell Value, String Constant - LrJvzZNLFXUq len=0 
' 0018     20 LABEL : Cell Value, String Constant - mdUhr len=0 
' 0018     20 LABEL : Cell Value, String Constant - mDVpJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - MHIGLvDKa len=0 
' 0018     22 LABEL : Cell Value, String Constant - MUVeCwa len=0 
' 0018     23 LABEL : Cell Value, String Constant - NcUFmoKm len=0 
' 0018     21 LABEL : Cell Value, String Constant - nNnysL len=0 
' 0018     23 LABEL : Cell Value, String Constant - nPXjMfLj len=0 
' 0018     20 LABEL : Cell Value, String Constant - NQTLj len=0 
' 0018     20 LABEL : Cell Value, String Constant - NSovD len=0 
' 0018     22 LABEL : Cell Value, String Constant - OaqrNPY len=0 
' 0018     22 LABEL : Cell Value, String Constant - phepHVq len=0 
' 0018     22 LABEL : Cell Value, String Constant - pSiBVoi len=0 
' 0018     20 LABEL : Cell Value, String Constant - pUSzo len=0 
' 0018     21 LABEL : Cell Value, String Constant - QtvciC len=0 
' 0018     20 LABEL : Cell Value, String Constant - RPwlG len=0 
' 0018     21 LABEL : Cell Value, String Constant - RQrZqc len=0 
' 0018     24 LABEL : Cell Value, String Constant
... (truncated)