我怀疑我中木马了,(50分)

  • 主题发起人 xiehuanxie
  • 开始时间
X

xiehuanxie

Unregistered / Unconfirmed
GUEST, unregistred user!
给个代码大家看看。
一封电子邮件假冒招商银行。说是什么游戏
我没太注意看点了连接
URL http://www.trio-design.com/testing/cmb/new_year/pk/PK.html
PK.html源码:
<html>
<head>
<meta http-equiv=&quot;Content-Type&quot;
content=&quot;text/html;
charset=utf-8&quot;>
<title>招商银行 信用卡</title>
</head>
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
function abc()
{
//window.resizeTo(500,350)
window.opener = null;
window.close();
//alert(&quot;abc&quot;)
window.open(&quot;PKcontent.html&quot;,&quot;&quot;,&quot;toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=350&quot;)

}
</SCRIPT>
<body leftmargin=&quot;0&quot;
topmargin=&quot;0&quot;
onload=&quot;abc()&quot;><!---->
</body>
</html>
然后我看了下PKcontent.html
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>
<html>
<head>
<meta http-equiv=&quot;Content-Type&quot;
content=&quot;text/html;
charset=utf-8&quot;>
<title>招商银行 信用卡</title>
</head>
<script language=&quot;JavaScript&quot;>
<!--
var isInternetExplorer = navigator.appName.indexOf(&quot;Microsoft&quot;) != -1;
// 处理 Flash 影片中的所有 FSCommand 消息
function swf_DoFSCommand(command, args) {
var swfObj = isInternetExplorer ?do
cument.all.swf :do
cument.swf;
//
// 代码放在此处。
//
if(command==&quot;openwindow&quot;)
{
//alert(args);
window.open(args,'first','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=754,height=338');
}
}
// Internet Explorer 的挂钩
if (navigator.appName && navigator.appName.indexOf(&quot;Microsoft&quot;) != -1 && navigator.userAgent.indexOf(&quot;Windows&quot;) != -1 && navigator.userAgent.indexOf(&quot;Windows 3.1&quot;) == -1) {
document.write('<script language=/&quot;VBScript/&quot;/>/n');
document.write('On Error Resume Next/n');
document.write('Sub swf_FSCommand(ByVal command, ByVal args)/n');
document.write(' Call swf_DoFSCommand(command, args)/n');
document.write('End Sub/n');
document.write('</script/>/n');
}
//-->
</script>
<body leftmargin=&quot;0&quot;
topmargin=&quot;0&quot;>
<div align=&quot;center&quot;
id=&quot;flash&quot;>
<object name=&quot;swf&quot;
classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&quot;
width=&quot;500&quot;
height=&quot;350&quot;
>
<param name=&quot;movie&quot;
value=&quot;PK.swf&quot;>
<param name=&quot;quality&quot;
value=&quot;high&quot;>
<embed src=&quot;PK.swf&quot;
quality=&quot;high&quot;
pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;
type=&quot;application/x-shockwave-flash&quot;
width=&quot;500&quot;
height=&quot;350&quot;></embed></object>
</div>
</body>
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
/*window.moveTo(0,0);
var s=document.swf;
//alert(window.screenLeft + &quot;,&quot;
+ window.screenTop);
var pw = 500+window.screenLeft+4;
// ??????? ido
n't want to understand
var ph = 350+window.screenTop+26;
// ???????? ido
n't want to understand
window.resizeTo(pw,ph);
// i hope this move the window to center
window.moveTo(
(window.screen.availWidth - pw) / 2,
(window.screen.availHeight - ph) /2
);*/
</SCRIPT>
</html>
 
看得不太明白。
高手解析下
 
没学过 Java,看不懂。可能是骗钱的。不过只要你没有输入真正的银行帐号和密码,估计问题不大。
 
问题不大吧,只是不知道他Flash里干了什么。
//这句是检测是不是IE浏览器
var isInternetExplorer = navigator.appName.indexOf(&quot;Microsoft&quot;) != -1;
....
关键是这里,写了个脚本并执行
//再次检测
if (navigator.appName && navigator.appName.indexOf(&quot;Microsoft&quot;) != -1 && navigator.userAgent.indexOf(&quot;Windows&quot;) != -1 && navigator.userAgent.indexOf(&quot;Windows 3.1&quot;) == -1) {
do
cument.write('<script language=/&quot;VBScript/&quot;/>/n');
do
cument.write('On Error Resume Next/n');
do
cument.write('Sub swf_FSCommand(ByVal command, ByVal args)/n');
do
cument.write(' Call swf_DoFSCommand(command, args)/n');
do
cument.write('End Sub/n');
do
cument.write('</script/>/n');
}
=======================================================
脚本内容:
<script language=&quot;VBScript&quot;/>
On Error Resume Next
Sub swf_FSCommand(ByVal command, ByVal args)
//怎么还是调用
Call swf_DoFSCommand(command, args)
End Sub
</script/>
=======================
来看看调用的什么:
function swf_DoFSCommand(command, args) {
//检测是不是swf里调用的函数
var swfObj = isInternetExplorer ?do
cument.all.swf :do
cument.swf;
if(command==&quot;openwindow&quot;){
//开了一个新窗口,不过args是什么?代码不全?
window.open(args,'first',...
}
args估计是那个Flash调用 swf_FSCommand(ByVal command, ByVal args)给的
内容就不得而知了。
//alert(args);
去掉注释,结果发现根本没调用过这个函数swf_DoFSCommand()
所以,问题不大啦。
 
估计args内容不会是 javas cr ipt:al ert('XX');之类的代码,最多是个网址
你玩那个Flash后,有再弹出来窗口吗?我试了2次,都没有,所以 -- swf_DoFSCommand()函数根本没调用过,没什么可担心的。
只是个小游戏,猜卡的 还有点意思,呵呵。
 
我没敢试
 
在家里不是自已的电脑。
刚查了一下,
在explorer进程里挂了个键盘钩子。
有点麻烦。
 
接受答案了.
 
顶部