中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
作者:
标题: U盘病毒免疫 上一主题 | 下一主题
yotodo
新手上路





积分 13
发帖 5
注册 2007-9-12
状态 离线
『楼 主』:  U盘病毒免疫

由于最近U盘病毒疯狂!   在这里贴这个小批。。
没有地方上传只贴代码。。本工具只是免疫工具不是专杀。 希望高手有加入专杀!!
——————————————————————————————————————
@echo off
color 34
echo 按任何键开始免疫。。支持的盘有 C D E H G  
pause
cd\
c:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

d:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

e:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

f:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

h:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

g:
md autorun.inf
attrib +h autorun.inf
cd autorun.inf
mkdir yo...\
cd\

md copy.exe
attrib +h copy.exe
cd copy.exe
mkdir yo...\
cd\

md host.exe
attrib +h host.exe
cd host.exe
mkdir yo...\
cd\

md ntdelect.com
attrib +h ntdelect.com
cd ntdelect.com
mkdir yo...\
cd\

md sos.exe
attrib +h sos.exe
cd sos.exe
mkdir yo...\
cd\

cls

echo        本机免疫完成!!

pause

exit

[ Last edited by yotodo on 2007-11-15 at 10:30 PM ]

2007-11-15 22:06
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
gigi1
新手上路





积分 16
发帖 7
注册 2007-8-11
状态 离线
『第 2 楼』:  

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
把这个主键设置任何人不可读,就免疫了,双击优盘也不会中毒

2007-11-15 23:28
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
gigi1
新手上路





积分 16
发帖 7
注册 2007-8-11
状态 离线
『第 3 楼』:  

http://www.helge.mynetcologne.de/setacl/
下载setacl
禁止
setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /deny everyone /full
恢复
setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /grant everyone /full

2007-11-15 23:30
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: